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

apollo-link-scalars

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-link-scalars - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

build/main/lib/link.d.ts

@@ -19,2 +19,6 @@ import { ApolloLink, FetchResult, NextLink, Observable, Operation } from "apollo-link";

protected parse(operation: Operation, result: FetchResult): FetchResult;
/**
* mutate the operation object with the serialized variables
* @param operation
*/
protected cleanVariables(operation: Operation): Operation;

@@ -21,0 +25,0 @@ protected serialize(value: any, typeNode: TypeNode): any;

17

build/main/lib/link.js

@@ -58,13 +58,14 @@ "use strict";

}
/**
* mutate the operation object with the serialized variables
* @param operation
*/
cleanVariables(operation) {
const o = operation.query.definitions.find(node_types_1.isOperationDefinitionNode);
if (!o || !o.variableDefinitions || !o.variableDefinitions.length) {
return operation;
}
const variables = Object.assign({}, operation.variables);
o.variableDefinitions.forEach(vd => {
const varDefs = (o && o.variableDefinitions) || [];
varDefs.forEach(vd => {
const key = vd.variable.name.value;
variables[key] = this.serialize(variables[key], vd.type);
operation.variables[key] = this.serialize(operation.variables[key], vd.type);
});
return Object.assign(Object.assign({}, operation), { variables });
return operation;
}

@@ -92,2 +93,2 @@ serialize(value, typeNode) {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvbGluay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDZDQU1xQjtBQUNyQixxQ0FNaUI7QUFDakIsbUNBQWdDO0FBR2hDLGlEQUE0QztBQUM1Qyw2Q0FJc0I7QUFDdEIsNkNBQTBDO0FBQzFDLGlEQUE2QztBQVE3QyxNQUFhLGdCQUFpQixTQUFRLHdC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VBQVUsSUFBSSxxQkFBVyxDQUFDLFVBQVUsQ0FBQztZQUMxQyxDQUFDLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUMsS0FBSyxFQUFFLFVBQVUsQ0FBQztZQUM5QyxDQUFDLENBQUMsS0FBSyxDQUFDO0lBQ1osQ0FBQztDQUNGO0FBbEdELDRDQWtHQztBQUVZLFFBQUEsV0FBVyxHQUFHLENBQUMsSUFBNEIsRUFBYyxFQUFFO0lBQ3RFLE9BQU8sSUFBSSxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUNwQyxDQUFDLENBQUMifQ==

@@ -19,2 +19,6 @@ import { ApolloLink, FetchResult, NextLink, Observable, Operation } from "apollo-link";

protected parse(operation: Operation, result: FetchResult): FetchResult;
/**
* mutate the operation object with the serialized variables
* @param operation
*/
protected cleanVariables(operation: Operation): Operation;

@@ -21,0 +25,0 @@ protected serialize(value: any, typeNode: TypeNode): any;

@@ -56,13 +56,14 @@ import { ApolloLink, Observable } from "apollo-link";

}
/**
* mutate the operation object with the serialized variables
* @param operation
*/
cleanVariables(operation) {
const o = operation.query.definitions.find(isOperationDefinitionNode);
if (!o || !o.variableDefinitions || !o.variableDefinitions.length) {
return operation;
}
const variables = { ...operation.variables };
o.variableDefinitions.forEach(vd => {
const varDefs = (o && o.variableDefinitions) || [];
varDefs.forEach(vd => {
const key = vd.variable.name.value;
variables[key] = this.serialize(variables[key], vd.type);
operation.variables[key] = this.serialize(operation.variables[key], vd.type);
});
return { ...operation, variables };
return operation;
}

@@ -89,2 +90,2 @@ serialize(value, typeNode) {

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGluay5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvbGluay50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsVUFBVSxFQUdW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O0FBRUQsTUFBTSxDQUFDLE1BQU0sV0FBVyxHQUFHLENBQUMsSUFBNEIsRUFBYyxFQUFFO0lBQ3RFLE9BQU8sSUFBSSxnQkFBZ0IsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUNwQyxDQUFDLENBQUMifQ==

@@ -5,2 +5,9 @@ # Changelog

### [0.1.2](https://github.com/eturino/apollo-link-scalars/compare/v0.1.1...v0.1.2) (2019-12-04)
### Bug Fixes
* mutate the operation with serialized vars (avoid shallow copy with wrong prototype errors) ([ab9a107](https://github.com/eturino/apollo-link-scalars/commit/ab9a10797c28d84b48ab9fb416f103a0a7ca640c))
### [0.1.1](https://github.com/eturino/apollo-link-scalars/compare/v0.1.0...v0.1.1) (2019-12-02)

@@ -7,0 +14,0 @@

{
"name": "apollo-link-scalars",
"version": "0.1.1",
"version": "0.1.2",
"author": "Eduardo Turiño <eturino@eturino.com>",

@@ -5,0 +5,0 @@ "description": "custom apollo link to allow to parse custom scalars",

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