Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ohmyfetch

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ohmyfetch - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

cjs/index.cjs

26

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc