@worker-tools/json-fetch
Advanced tools
Comparing version 2.0.7-pre.2 to 2.1.0-pre.1
{ | ||
"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' |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
21124
0
17
296
1
3
No