node-fetch
Advanced tools
Comparing version 3.0.0-beta.3 to 3.0.0-beta.4
{ | ||
"name": "node-fetch", | ||
"description": "A light-weight module that brings window.fetch to node.js", | ||
"version": "3.0.0-beta.3", | ||
"version": "3.0.0-beta.4", | ||
"license": "MIT", | ||
"files": [ | ||
"dist-*/", | ||
"bin/", | ||
"externals.d.ts" | ||
"bin/" | ||
], | ||
@@ -35,5 +34,2 @@ "pika": true, | ||
"@pika/pack": "^0.5.0", | ||
"@pika/plugin-build-node": "^0.9.2", | ||
"@pika/plugin-build-types": "^0.9.2", | ||
"@pika/plugin-copy-assets": "^0.9.2", | ||
"@pika/plugin-standard-pkg": "^0.9.2", | ||
@@ -60,5 +56,3 @@ "abort-controller": "^3.0.0", | ||
}, | ||
"esnext": "dist-src/index.js", | ||
"main": "dist-node/index.js", | ||
"types": "dist-types/index.d.ts" | ||
"esnext": "dist-src/index.js" | ||
} |
279
package.json
{ | ||
"name": "node-fetch", | ||
"version": "3.0.0-beta.3", | ||
"description": "A light-weight module that brings window.fetch to node.js", | ||
"files": [ | ||
"src/**/*", | ||
"dist/**/*", | ||
"types/**/*.d.ts" | ||
], | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"scripts": { | ||
"build": "pika-pack --out dist/", | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm run build", | ||
"publish": "pika publish", | ||
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/*.js", | ||
"report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/*.js", | ||
"coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/*.js && codecov -f coverage/coverage-final.json", | ||
"lint": "xo", | ||
"version": "npm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/node-fetch/node-fetch.git" | ||
}, | ||
"keywords": [ | ||
"fetch", | ||
"http", | ||
"promise" | ||
], | ||
"author": "David Frank", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/node-fetch/node-fetch/issues" | ||
}, | ||
"homepage": "https://github.com/node-fetch/node-fetch", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/node-fetch" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.8.7", | ||
"@babel/preset-env": "^7.8.7", | ||
"@babel/register": "^7.8.6", | ||
"@pika/pack": "^0.5.0", | ||
"@pika/plugin-build-node": "^0.9.2", | ||
"@pika/plugin-build-types": "^0.9.2", | ||
"@pika/plugin-copy-assets": "^0.9.2", | ||
"@pika/plugin-standard-pkg": "^0.9.2", | ||
"abort-controller": "^3.0.0", | ||
"abortcontroller-polyfill": "^1.4.0", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-iterator": "^3.0.2", | ||
"chai-string": "^1.5.0", | ||
"codecov": "^3.6.5", | ||
"cross-env": "^7.0.2", | ||
"form-data": "^3.0.0", | ||
"mocha": "^7.1.0", | ||
"nyc": "^15.0.0", | ||
"parted": "^0.1.1", | ||
"promise": "^8.1.0", | ||
"resumer": "0.0.0", | ||
"string-to-arraybuffer": "^1.0.2", | ||
"xo": "^0.28.0" | ||
}, | ||
"dependencies": { | ||
"data-uri-to-buffer": "^3.0.0", | ||
"fetch-blob": "^1.0.5" | ||
}, | ||
"@pika/pack": { | ||
"pipeline": [ | ||
[ | ||
"@pika/plugin-standard-pkg" | ||
], | ||
[ | ||
"@pika/plugin-build-node" | ||
], | ||
[ | ||
"@pika/plugin-build-types" | ||
], | ||
[ | ||
"@pika/plugin-copy-assets", | ||
{ | ||
"files": [ | ||
"externals.d.ts" | ||
] | ||
} | ||
] | ||
] | ||
}, | ||
"xo": { | ||
"envs": [ | ||
"node", | ||
"browser" | ||
], | ||
"rules": { | ||
"complexity": 0, | ||
"promise/prefer-await-to-then": 0, | ||
"no-mixed-operators": 0, | ||
"no-negated-condition": 0, | ||
"unicorn/prevent-abbreviations": 0 | ||
}, | ||
"ignores": [ | ||
"dist" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": "test/**/*.js", | ||
"envs": [ | ||
"node", | ||
"mocha" | ||
], | ||
"rules": { | ||
"max-nested-callbacks": 0, | ||
"no-unused-expressions": 0, | ||
"new-cap": 0, | ||
"guard-for-in": 0 | ||
} | ||
}, | ||
{ | ||
"files": "example.js", | ||
"rules": { | ||
"import/no-extraneous-dependencies": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": true | ||
} | ||
} | ||
] | ||
] | ||
}, | ||
"nyc": { | ||
"require": [ | ||
"@babel/register" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
}, | ||
"runkitExampleFilename": "example.js" | ||
"name": "node-fetch", | ||
"version": "3.0.0-beta.4", | ||
"description": "A light-weight module that brings window.fetch to node.js", | ||
"main": "./dist/dist-src", | ||
"files": [ | ||
"src", | ||
"dist", | ||
"*.d.ts" | ||
], | ||
"engines": { | ||
"node": ">=10.0.0" | ||
}, | ||
"scripts": { | ||
"build": "pika build --out dist/", | ||
"prepublishOnly": "npm run build", | ||
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/*.js", | ||
"report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/*.js", | ||
"coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/*.js && codecov -f coverage/coverage-final.json", | ||
"lint": "xo" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/node-fetch/node-fetch.git" | ||
}, | ||
"keywords": [ | ||
"fetch", | ||
"http", | ||
"promise" | ||
], | ||
"author": "David Frank", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/node-fetch/node-fetch/issues" | ||
}, | ||
"homepage": "https://github.com/node-fetch/node-fetch", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/node-fetch" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.8.7", | ||
"@babel/preset-env": "^7.8.7", | ||
"@babel/register": "^7.8.6", | ||
"@pika/pack": "^0.5.0", | ||
"@pika/plugin-standard-pkg": "^0.9.2", | ||
"abort-controller": "^3.0.0", | ||
"abortcontroller-polyfill": "^1.4.0", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-iterator": "^3.0.2", | ||
"chai-string": "^1.5.0", | ||
"codecov": "^3.6.5", | ||
"cross-env": "^7.0.2", | ||
"form-data": "^3.0.0", | ||
"mocha": "^7.1.0", | ||
"nyc": "^15.0.0", | ||
"parted": "^0.1.1", | ||
"promise": "^8.1.0", | ||
"resumer": "0.0.0", | ||
"string-to-arraybuffer": "^1.0.2", | ||
"xo": "^0.28.0" | ||
}, | ||
"dependencies": { | ||
"data-uri-to-buffer": "^3.0.0", | ||
"fetch-blob": "^1.0.5" | ||
}, | ||
"@pika/pack": { | ||
"pipeline": [ | ||
[ | ||
"@pika/plugin-standard-pkg" | ||
] | ||
] | ||
}, | ||
"xo": { | ||
"envs": [ | ||
"node", | ||
"browser" | ||
], | ||
"rules": { | ||
"complexity": 0, | ||
"promise/prefer-await-to-then": 0, | ||
"no-mixed-operators": 0, | ||
"no-negated-condition": 0, | ||
"unicorn/prevent-abbreviations": 0 | ||
}, | ||
"ignores": [ | ||
"dist" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": "test/**/*.js", | ||
"envs": [ | ||
"node", | ||
"mocha" | ||
], | ||
"rules": { | ||
"max-nested-callbacks": 0, | ||
"no-unused-expressions": 0, | ||
"new-cap": 0, | ||
"guard-for-in": 0 | ||
} | ||
}, | ||
{ | ||
"files": "example.js", | ||
"rules": { | ||
"import/no-extraneous-dependencies": 0 | ||
} | ||
} | ||
] | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": true | ||
} | ||
} | ||
] | ||
] | ||
}, | ||
"nyc": { | ||
"require": [ | ||
"@babel/register" | ||
], | ||
"sourceMap": false, | ||
"instrument": false | ||
}, | ||
"runkitExampleFilename": "example.js" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
21
23
146376
24
3106