12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- {
- "_from": "fetch-cookie@^2.0.3",
- "_id": "fetch-cookie@2.2.0",
- "_inBundle": false,
- "_integrity": "sha512-h9AgfjURuCgA2+2ISl8GbavpUdR+WGAM2McW/ovn4tVccegp8ZqCKWSBR8uRdM8dDNlx5WdKRWxBYUwteLDCNQ==",
- "_location": "/fetch-cookie",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "fetch-cookie@^2.0.3",
- "name": "fetch-cookie",
- "escapedName": "fetch-cookie",
- "rawSpec": "^2.0.3",
- "saveSpec": null,
- "fetchSpec": "^2.0.3"
- },
- "_requiredBy": [
- "/@microsoft/signalr"
- ],
- "_resolved": "https://registry.npmjs.org/fetch-cookie/-/fetch-cookie-2.2.0.tgz",
- "_shasum": "01086b6b5b1c3e08f15ffd8647b02ca100377365",
- "_spec": "fetch-cookie@^2.0.3",
- "_where": "D:\\project\\czzn-app\\node_modules\\@microsoft\\signalr",
- "author": {
- "name": "Val",
- "url": "https://val.codejam.info"
- },
- "bugs": {
- "url": "https://github.com/valeriangalliat/fetch-cookie/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "set-cookie-parser": "^2.4.8",
- "tough-cookie": "^4.0.0"
- },
- "deprecated": false,
- "description": "Decorator for a `fetch` function to support automatic cookies.",
- "devDependencies": {
- "@tsconfig/recommended": "^1.0.1",
- "@types/chai": "^4.3.0",
- "@types/express": "^4.17.13",
- "@types/mocha": "^9.1.0",
- "@types/node": "^17.0.18",
- "@types/node-fetch": "^2.6.1",
- "@types/set-cookie-parser": "^2.4.2",
- "@types/tough-cookie": "^4.0.1",
- "chai": "^4.3.6",
- "esbuild": "^0.14.21",
- "express": "^4.17.3",
- "mocha": "^9.2.0",
- "node-fetch": "^3.2.0",
- "ts-node": "^10.7.0",
- "ts-standard": "^11.0.0",
- "typescript": "^4.5.5",
- "undici": "^4.14.1"
- },
- "exports": {
- "./package.json": "./package.json",
- ".": {
- "import": {
- "types": "./esm/index.d.ts",
- "default": "./esm/index.js"
- },
- "require": {
- "types": "./cjs/index.d.ts",
- "default": "./cjs/index-wrapper.js"
- }
- }
- },
- "homepage": "https://github.com/valeriangalliat/fetch-cookie#readme",
- "license": "Unlicense",
- "main": "./cjs/index-wrapper.js",
- "module": "./esm/index.js",
- "name": "fetch-cookie",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/valeriangalliat/fetch-cookie.git"
- },
- "scripts": {
- "build": "esbuild src/*.ts --format=esm --outdir=esm && esbuild src/*.ts --format=cjs --outdir=cjs",
- "lint": "ts-standard src/*.ts test/*.js",
- "patch-undici": "sed -i.old 's/^const forbiddenResponseHeaderNames =.*$/const forbiddenResponseHeaderNames = []/' node_modules/undici/lib/fetch/constants.js",
- "prepack": "npm run prepare && npm run lint && npm run type-check && npm test && npm run test-import",
- "prepare": "npm run build && npm run type-declarations",
- "test": "npm run build && mocha",
- "test-import": "node test/cjs/import.js && ts-node test/cjs/import.ts",
- "type-check": "tsc -noEmit",
- "type-declarations": "tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --outDir esm && cat esm/index.d.ts | sed 's/^export default /export = /' > cjs/index.d.ts"
- },
- "type": "module",
- "types": "esm/index.d.ts",
- "version": "2.2.0"
- }
|