New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@worker-tools/json-fetch

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@worker-tools/json-fetch - npm Package Compare versions

Comparing version 2.0.7-pre.2 to 2.1.0-pre.1

esm/index.js

54

package.json
{
"module": "./esm/index.js",
"main": "./script/index.js",
"types": "./types/index.d.ts",
"name": "@worker-tools/json-fetch",
"version": "2.0.7-pre.2",
"description": "Drop-in replacement for fetch, Request, and Response with first class support for JSON objects",
"type": "module",
"main": "index.js",
"module": "index.js",
"types": "index.d.ts",
"exports": {
".": "./index.js",
"./search-params-url": "./search-params-url.js"
},
"files": [
"typings",
"src",
"*.js*",
"*.d.ts*"
],
"version": "2.1.0-pre.1",
"description": "A drop-in replacements for fetch, Request, and Response with first class support for JSON objects.",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"scripts": {
"clean": "rm -f *.d.ts *.js *.js.map *.d.ts.map *.tgz",
"test": "echo \"Warning: no test specified\" && exit 0",
"build": "tsc -d",
"prepack": "npm run clean && npm run build"
},
"author": "Florian Klampfer <mail@qwtel.com> (https://qwtel.com/)",
"license": "MIT",
"devDependencies": {
"typescript": "^4.5.5"
},
"repository": {

@@ -40,11 +20,25 @@ "type": "git",

},
"homepage": "https://github.com/worker-tools/json-fetch#readme",
"homepage": "https://workers.tools/#json-fetch",
"keywords": [
"fetch-api",
"json",
"request",
"response",
"fetch-api",
"search-params",
"url-query"
]
}
],
"exports": {
".": {
"import": "./esm/index.js",
"require": "./script/index.js",
"types": "./types/index.d.ts"
},
"./search-params-url": {
"import": "./esm/search-params-url.js",
"require": "./script/search-params-url.js",
"types": "./types/search-params-url.d.ts"
}
},
"dependencies": {},
"devDependencies": {}
}

@@ -0,1 +1,2 @@

// deno-lint-ignore-file no-cond-assign
export type JSONBodyInit = BodyInit | any;

@@ -75,2 +76,2 @@ export type JSONRequestInit = { body?: JSONBodyInit | null } & Omit<RequestInit, 'body'>;

export * from './search-params-url'
export * from './search-params-url.js'
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