Socket
Socket
Sign inDemoInstall

@effection/fetch

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effection/fetch - npm Package Compare versions

Comparing version 0.0.1-20b4753 to 0.0.1-4ab4a37

dist/fetch.cjs.development.js

2

dist/fetch.d.ts
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": {

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