Socket
Socket
Sign inDemoInstall

apollo-server-env

Package Overview
Dependencies
2
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.1.0-alpha.0 to 2.1.0-alpha.1

dist/global.d.ts

7

dist/fetch.d.ts

@@ -1,2 +0,3 @@

import { Agent } from 'http';
import { Agent as HttpAgent } from 'http';
import { Agent as HttpsAgent } from 'https';

@@ -8,2 +9,4 @@ export declare function fetch(

export type RequestAgent = HttpAgent | HttpsAgent;
export type RequestInfo = Request | string;

@@ -62,3 +65,3 @@

size?: number;
agent?: Agent;
agent?: RequestAgent | false;

@@ -65,0 +68,0 @@ // Cloudflare Workers accept a `cf` property to control Cloudflare features

@@ -19,3 +19,3 @@ "use strict";

global.process.env = {
NODE_ENV: app ? app.env : 'production',
NODE_ENV: typeof app !== 'undefined' ? app.env : 'production',
};

@@ -22,0 +22,0 @@ }

{
"name": "apollo-server-env",
"version": "2.1.0-alpha.0",
"version": "2.1.0-alpha.1",
"author": "opensource@apollographql.com",

@@ -29,3 +29,3 @@ "license": "MIT",

},
"gitHead": "dec2b94a0e309c1c75b3e9f3d7b4011e36a7e48a"
"gitHead": "5b8388323325c14970601310d7864b86010cbebe"
}

@@ -1,2 +0,3 @@

import { Agent } from 'http';
import { Agent as HttpAgent } from 'http';
import { Agent as HttpsAgent } from 'https';

@@ -8,2 +9,4 @@ export declare function fetch(

export type RequestAgent = HttpAgent | HttpsAgent;
export type RequestInfo = Request | string;

@@ -62,3 +65,3 @@

size?: number;
agent?: Agent;
agent?: RequestAgent | false;

@@ -65,0 +68,0 @@ // Cloudflare Workers accept a `cf` property to control Cloudflare features

@@ -16,3 +16,3 @@ if (!global) {

// app is a global available on fly.io
NODE_ENV: app ? app.env : 'production',
NODE_ENV: typeof app !== 'undefined' ? app.env : 'production',
};

@@ -19,0 +19,0 @@ }

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