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

apollo-link-serialize

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-serialize - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

17

build/dist/extractKey.js
"use strict";
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -10,0 +13,0 @@ exports.__esModule = true;

@@ -13,3 +13,3 @@ import { ApolloLink, Observable, Operation, NextLink, FetchResult } from 'apollo-link';

private opQueues;
request(origOperation: Operation, forward: NextLink): Observable<{}>;
request(origOperation: Operation, forward: NextLink): Observable<unknown>;
private enqueue;

@@ -16,0 +16,0 @@ private cancelOp;

"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {

@@ -7,0 +10,0 @@ extendStatics(d, b);

@@ -29,3 +29,3 @@ import { ApolloLink, Operation, Observable, NextLink } from 'apollo-link';

constructor();
request(operation: Operation): Observable<{}>;
request(operation: Operation): Observable<unknown>;
}

@@ -35,6 +35,6 @@ export declare class TestSequenceLink extends ApolloLink {

constructor();
request(operation: Operation, forward: NextLink): Observable<{}>;
request(operation: Operation, forward: NextLink): Observable<unknown>;
}
export declare function mergeObservables(...observables: Observable<ExecutionResult>[]): Observable<{}>;
export declare function mergeObservables(...observables: Observable<ExecutionResult>[]): Observable<unknown>;
export declare function toResultValue(e: ObservableEvent): ObservableEvent;
export declare const assertObservableSequence: (observable: Observable<ExecutionResult>, sequence: ObservableValue[], initializer?: (sub: Unsubscribable) => void) => Promise<boolean | Error>;
"use strict";
var __extends = (this && this.__extends) || (function () {
var extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {

@@ -12,9 +15,12 @@ extendStatics(d, b);

})();
var __assign = (this && this.__assign) || Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};

@@ -21,0 +27,0 @@ exports.__esModule = true;

{
"name": "apollo-link-serialize",
"version": "3.1.1",
"version": "3.1.2",
"description": "A link that serializes requests by key, making sure that they execute in the exact order submitted",

@@ -21,3 +21,3 @@ "dependencies": {

"tslint": "^5.8.0",
"typescript": "^2.6.2"
"typescript": "^3.5.1"
},

@@ -24,0 +24,0 @@ "main": "build/dist/index.js",

@@ -73,7 +73,4 @@ # apollo-link-serialize

});
```
```
We are considering deprecating `serializationKey` and supporting only `@serialize` in future versions of this package.
Requests without a serialization key are executed in parallel. Similarly, requests with differing keys are executed in parallel with one another.

@@ -80,0 +77,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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