New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apollo-link

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link - npm Package Compare versions

Comparing version 0.5.4 to 0.6.1-beta.0

dist/src/bundle.umd.js

17

dist/src/index.d.ts

@@ -1,12 +0,7 @@

import ApolloLink from 'apollo-link-core';
import BatchLink from 'apollo-link-batch';
import BatchHttpLink from 'apollo-link-batch-http';
import DedupLink from 'apollo-link-dedup';
import HttpLink from 'apollo-link-http';
import RetryLink from 'apollo-link-retry';
import SetContextLink from 'apollo-link-set-context';
import PollingLink from 'apollo-link-polling';
import WebSocketLink from 'apollo-link-ws';
export * from 'apollo-link-core';
export { BatchLink, BatchHttpLink, HttpLink, RetryLink, SetContextLink, PollingLink, WebSocketLink, DedupLink };
import { execute, ApolloLink } from './link';
export { makePromise } from './linkUtils';
export * from './types';
import Observable from 'zen-observable-ts';
export * from 'zen-observable-ts';
export default ApolloLink;
export { Observable, ApolloLink, execute };

@@ -1,25 +0,7 @@

"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
var apollo_link_core_1 = require("apollo-link-core");
var apollo_link_batch_1 = require("apollo-link-batch");
exports.BatchLink = apollo_link_batch_1.default;
var apollo_link_batch_http_1 = require("apollo-link-batch-http");
exports.BatchHttpLink = apollo_link_batch_http_1.default;
var apollo_link_dedup_1 = require("apollo-link-dedup");
exports.DedupLink = apollo_link_dedup_1.default;
var apollo_link_http_1 = require("apollo-link-http");
exports.HttpLink = apollo_link_http_1.default;
var apollo_link_retry_1 = require("apollo-link-retry");
exports.RetryLink = apollo_link_retry_1.default;
var apollo_link_set_context_1 = require("apollo-link-set-context");
exports.SetContextLink = apollo_link_set_context_1.default;
var apollo_link_polling_1 = require("apollo-link-polling");
exports.PollingLink = apollo_link_polling_1.default;
var apollo_link_ws_1 = require("apollo-link-ws");
exports.WebSocketLink = apollo_link_ws_1.default;
__export(require("apollo-link-core"));
exports.default = apollo_link_core_1.default;
import { execute, ApolloLink } from './link';
export { makePromise } from './linkUtils';
import Observable from 'zen-observable-ts';
export * from 'zen-observable-ts';
export default ApolloLink;
export { Observable, ApolloLink, execute };
//# sourceMappingURL=index.js.map
{
"name": "apollo-link",
"version": "0.5.4",
"version": "0.6.1-beta.0",
"description": "Flexible, lightweight transport layer for GraphQL",

@@ -13,4 +13,6 @@ "author": "Evans Hauser <evanshauser@gmail.com>",

"license": "MIT",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"main": "./dist/src/bundle.umd.js",
"module": "./dist/src/index.js",
"jsnext:main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"repository": {

@@ -25,3 +27,3 @@ "type": "git",

"scripts": {
"pretest": "npm run build",
"pretest": "npm run build-test",
"test": "npm run test-only --",

@@ -37,9 +39,12 @@ "posttest": "npm run lint",

"lint":
"tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts",
"tslint --type-check -p tsconfig.test.json src/*.ts && tslint --type-check -p tsconfig.test.json tests/*.ts",
"prebuild": "npm run clean:dist",
"build": "tsc -p .",
"postbuild": "cp -R ./dist/src/. ./lib",
"build-test": "tsc -p tsconfig.test.json",
"postbuild": "npm run bundle",
"postbuild-test": "npm run bundle",
"bundle": "rollup -c",
"watch": "tsc -w -p .",
"clean": "npm run clean:dist && npm run clean:coverage",
"clean:dist": "rimraf dist/* && rimraf lib/*",
"clean:dist": "rimraf dist/*",
"clean:coverage": "rimraf coverage/*",

@@ -49,11 +54,5 @@ "prepublishOnly": "npm run clean && npm run build"

"dependencies": {
"apollo-link-batch": "^0.1.4",
"apollo-link-batch-http": "^0.1.4",
"apollo-link-core": "^0.5.4",
"apollo-link-dedup": "^0.3.4",
"apollo-link-http": "^0.5.4",
"apollo-link-polling": "^0.5.4",
"apollo-link-retry": "^0.5.4",
"apollo-link-set-context": "^0.5.4",
"apollo-link-ws": "^0.3.4"
"graphql": "^0.10.3",
"graphql-tag": "^2.4.2",
"zen-observable-ts": "^0.4.2"
},

@@ -74,5 +73,5 @@ "devDependencies": {

"rimraf": "2.6.1",
"rollup": "^0.45.2",
"sinon": "3.2.0",
"source-map-support": "0.4.16",
"subscriptions-transport-ws": "0.8.2",
"tslint": "5.7.0",

@@ -79,0 +78,0 @@ "typescript": "2.5.1"

@@ -1,25 +0,9 @@

import ApolloLink from 'apollo-link-core';
import { execute, ApolloLink } from './link';
export { makePromise } from './linkUtils';
export * from './types';
import BatchLink from 'apollo-link-batch';
import BatchHttpLink from 'apollo-link-batch-http';
import DedupLink from 'apollo-link-dedup';
import HttpLink from 'apollo-link-http';
import RetryLink from 'apollo-link-retry';
import SetContextLink from 'apollo-link-set-context';
import PollingLink from 'apollo-link-polling';
import WebSocketLink from 'apollo-link-ws';
import Observable from 'zen-observable-ts';
export * from 'zen-observable-ts';
export * from 'apollo-link-core';
export {
BatchLink,
BatchHttpLink,
HttpLink,
RetryLink,
SetContextLink,
PollingLink,
WebSocketLink,
DedupLink,
};
export default ApolloLink;
export { Observable, ApolloLink, execute };
{
"extends": "../../tsconfig",
"compilerOptions": {
"target": "es5",
"lib": ["es6", "dom"],
"module": "commonjs",
"moduleResolution": "node",
"removeComments": true,
"sourceMap": true,
"declaration": true,
"rootDir": ".",
"outDir": "dist",
"noImplicitAny": false,
"noUnusedParameters": false,
"noUnusedLocals": true,
"skipLibCheck": true
"rootDir": "."
},
"include": ["src/**/*.ts", "tests/**/*.ts"]
"include": ["src/**/*.ts"]
}

Sorry, the diff of this file is not supported yet

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