@becomposable/api-fetch-client
Advanced tools
Comparing version 0.32.0 to 0.33.0
{ | ||
"type": "commonjs" | ||
} | ||
"type": "commonjs" | ||
} |
{ | ||
"name": "@becomposable/api-fetch-client", | ||
"version": "0.32.0", | ||
"version": "0.33.0", | ||
"description": "HTTP client which wraps a fetch implementation and simplify the creation of REST API clients. Works both in browser and in node.", | ||
"type": "module", | ||
"types": "./lib/types/index.d.ts", | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"ts_dual_module": { | ||
"outDir": "lib" | ||
}, | ||
"exports": { | ||
"types": "./lib/types/index.d.ts", | ||
"import": "./lib/esm/index.js", | ||
"require": "./lib/cjs/index.js", | ||
"default": "./lib/esm/index.js" | ||
"require": "./lib/cjs/index.js" | ||
}, | ||
"files": [ | ||
"lib", | ||
"src" | ||
], | ||
"repository": { | ||
@@ -44,5 +46,7 @@ "type": "git", | ||
"mocha": "^10.2.0", | ||
"ts-dual-module": "^0.6.3", | ||
"ts-node": "^10.9.1", | ||
"tsx": "^3.14.0", | ||
"typescript": "^5.2.2" | ||
"typescript": "^5.2.2", | ||
"vitest": "^1.4.0" | ||
}, | ||
@@ -53,7 +57,8 @@ "dependencies": { | ||
"scripts": { | ||
"test": "ESBK_TSCONFIG_PATH=./test/tsconfig.json npx mocha -r tsx --exit ./test/**/*.ts", | ||
"clean": "rm -rf ./lib", | ||
"build": "npm run clean && ./build.sh", | ||
"dist": "npm run build && rm ./lib/*tsbuildinfo" | ||
"test": "ESBK_TSCONFIG_PATH=./test/tsconfig.json pnpm exec mocha -r tsx --exit ./test/**/*.ts", | ||
"preinstall": "pnpm exec only-allow pnpm", | ||
"eslint": "eslint './src/**/*.{jsx,js,tsx,ts}'", | ||
"build": "pnpm exec tsmod build", | ||
"clean": "rimraf ./node_modules ./lib ./tsconfig.tsbuildinfo" | ||
} | ||
} |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
164877
11
61
1