@effection/fetch
Advanced tools
Comparing version 0.0.1-20b4753 to 0.0.1-4ab4a37
import { Operation } from 'effection'; | ||
import { AbortController, RequestInfo, RequestInit, Response } from './native-fetch'; | ||
export { AbortController, RequestInfo, RequestInit, Response }; | ||
export declare function fetch(resource: RequestInfo, init?: RequestInit): Operation<Response>; |
@@ -1,1 +0,2 @@ | ||
export { AbortController, RequestInfo, RequestInit, Response, fetch } from './fetch'; | ||
export { AbortController } from 'abort-controller'; | ||
export { fetch } from './fetch'; |
@@ -1,7 +0,8 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var fetch_1 = require("./fetch"); | ||
Object.defineProperty(exports, "AbortController", { enumerable: true, get: function () { return fetch_1.AbortController; } }); | ||
Object.defineProperty(exports, "Response", { enumerable: true, get: function () { return fetch_1.Response; } }); | ||
Object.defineProperty(exports, "fetch", { enumerable: true, get: function () { return fetch_1.fetch; } }); | ||
//# sourceMappingURL=index.js.map | ||
'use strict' | ||
if (process.env.NODE_ENV === 'production') { | ||
module.exports = require('./fetch.cjs.production.min.js') | ||
} else { | ||
module.exports = require('./fetch.cjs.development.js') | ||
} |
{ | ||
"name": "@effection/fetch", | ||
"version": "0.0.1-20b4753", | ||
"version": "0.0.1-4ab4a37", | ||
"description": "Fetch operation for Effection", | ||
@@ -12,12 +12,20 @@ "main": "dist/index.js", | ||
"dist/*", | ||
"README.md" | ||
"README.md", | ||
"src" | ||
], | ||
"scripts": { | ||
"lint": "eslint '{src,test}/**/*.ts'", | ||
"prepack": "tsc --outdir dist --declaration --sourcemap", | ||
"test": "echo No tests for @effection/fetch yet..." | ||
"prepack": "tsdx build --tsconfig tsconfig.dist.json", | ||
"test": "mocha -r ts-node/register test/**/*.test.ts", | ||
"mocha": "mocha -r ts-node/register" | ||
}, | ||
"devDependencies": { | ||
"@frontside/tsconfig": "^0.0.1", | ||
"@types/node": "^13.13.4" | ||
"@types/express": "4.17.6", | ||
"@types/node": "^13.13.4", | ||
"expect": "26.0.1", | ||
"express": "4.17.1", | ||
"mocha": "7.2.0", | ||
"ts-node": "8.10.2", | ||
"tsdx": "0.13.2" | ||
}, | ||
@@ -24,0 +32,0 @@ "peerDependencies": { |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
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
6328
13
67
8
2