Socket
Socket
Sign inDemoInstall

apollo-server-env

Package Overview
Dependencies
1
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.1 to 4.0.2

1

dist/index.d.ts
export * from './fetch';
export * from './url';
export * from './typescript-utility-types';

@@ -12,14 +12,5 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
require("./polyfills/Object.values");
require("./polyfills/Object.entries");
const runtimeSupportsPromisify_1 = __importDefault(require("./utils/runtimeSupportsPromisify"));
if (!runtimeSupportsPromisify_1.default) {
require('util.promisify').shim();
}
__exportStar(require("./polyfills/fetch"), exports);
__exportStar(require("./polyfills/url"), exports);
//# sourceMappingURL=index.js.map

7

package.json
{
"name": "apollo-server-env",
"version": "4.0.1",
"version": "4.0.2",
"author": "Apollo <opensource@apollographql.com>",

@@ -27,6 +27,5 @@ "license": "MIT",

"dependencies": {
"node-fetch": "^2.6.1",
"util.promisify": "^1.0.1"
"node-fetch": "^2.6.1"
},
"gitHead": "856f7fbc151ebef4d6ca8a9efe801ecca3d4f9c3"
"gitHead": "69577df0b08d392e99d65644a27d48b9b925dd94"
}

@@ -6,5 +6,3 @@ # `apollo-server-env`

Its primary function is to provide polyfills (e.g. via
[`core-js`](https://npm.im/core-js)) for newer language features which might
not be available in the underlying JavaScript Engine (i.e. more bare-bones V8
environments, older versions of Node.js, etc.).
Its primary function is to provide type-safe polyfills for the Fetch API in
Node. (It previously provided other polyfills for older versions of Node.)
export * from './fetch';
export * from './url';
export * from './typescript-utility-types';

@@ -1,11 +0,2 @@

import './polyfills/Object.values';
import './polyfills/Object.entries';
import runtimeSupportsPromisify from './utils/runtimeSupportsPromisify';
if (!runtimeSupportsPromisify) {
require('util.promisify').shim();
}
export * from './polyfills/fetch';
export * from './polyfills/url';

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc