Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mihanizm56/fetch-api

Package Overview
Dependencies
Maintainers
1
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mihanizm56/fetch-api - npm Package Compare versions

Comparing version 3.10.0-beta.2 to 3.10.0

5

dist/requests/base-request.js

@@ -65,3 +65,2 @@ "use strict";

exports.BaseRequest = void 0;
var node_fetch_1 = __importDefault(require("node-fetch"));
var query_string_1 = __importDefault(require("query-string"));

@@ -184,6 +183,6 @@ var is_node_1 = require("../utils/is-node");

});
if (isNode) {
if (isNode || typeof fetch === 'undefined') {
var requestFetch_1 = (
// TODO fix any type
function () { return (0, node_fetch_1.default)(endpoint, requestParams); });
function () { return require('node-fetch')(endpoint, requestParams); });
return { requestFetch: requestFetch_1 };

@@ -190,0 +189,0 @@ }

2

package.json
{
"name": "@mihanizm56/fetch-api",
"version": "3.10.0-beta.2",
"version": "3.10.0",
"description": "api servise",

@@ -5,0 +5,0 @@ "main": "dist/index.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