Comparing version 0.3.2 to 0.4.0
{ | ||
"name": "ohmyfetch", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"description": "oh-my-fetch", | ||
@@ -8,2 +8,3 @@ "repository": "unjs/ohmyfetch", | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
@@ -13,7 +14,7 @@ ".": { | ||
"import": "./dist/node.mjs", | ||
"require": "./dist/node.cjs" | ||
"require": "./cjs/node.cjs" | ||
}, | ||
"default": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
"require": "./cjs/index.cjs" | ||
} | ||
@@ -23,10 +24,11 @@ }, | ||
"import": "./dist/node.mjs", | ||
"require": "./dist/node.cjs" | ||
"require": "./cjs/node.cjs" | ||
} | ||
}, | ||
"main": "./dist/node.cjs", | ||
"main": "./cjs/node.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"cjs" | ||
], | ||
@@ -39,7 +41,7 @@ "scripts": { | ||
"release": "yarn test && standard-version && git push --follow-tags && npm publish", | ||
"test": "yarn lint && jest" | ||
"test": "yarn build && mocha ./test/*.test.*" | ||
}, | ||
"dependencies": { | ||
"destr": "^1.1.0", | ||
"node-fetch": "^2.6.1", | ||
"node-fetch": "^3.0.0", | ||
"ufo": "^0.7.9" | ||
@@ -50,12 +52,12 @@ }, | ||
"@types/flat": "latest", | ||
"@types/jest": "latest", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "latest", | ||
"@types/node-fetch": "^2.5.12", | ||
"@types/node-fetch": "^3.0.3", | ||
"chai": "^4.3.4", | ||
"eslint": "^7", | ||
"h3": "latest", | ||
"jest": "latest", | ||
"jiti": "latest", | ||
"listhen": "latest", | ||
"mocha": "^9.1.3", | ||
"standard-version": "latest", | ||
"ts-jest": "latest", | ||
"typescript": "latest", | ||
@@ -62,0 +64,0 @@ "unbuild": "latest" |
@@ -28,3 +28,3 @@ | ||
// CommonJS | ||
// CommonJS (only $fetch export is available) | ||
const { $fetch } = require('ohmyfetch') | ||
@@ -31,0 +31,0 @@ ``` |
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3
Yes
13881
11
160
+ Addeddata-uri-to-buffer@4.0.1(transitive)
+ Addedfetch-blob@3.2.0(transitive)
+ Addedformdata-polyfill@4.0.10(transitive)
+ Addednode-domexception@1.0.0(transitive)
+ Addednode-fetch@3.3.2(transitive)
+ Addedweb-streams-polyfill@3.3.3(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatednode-fetch@^3.0.0