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

graphql-operation-to-pojo

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-operation-to-pojo - npm Package Compare versions

Comparing version 1.0.4 to 1.0.6

.DS_Store

6

lib/index.js

@@ -13,4 +13,6 @@ "use strict";

function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -48,3 +50,3 @@

this.info = info;
this.options = _objectSpread({}, ASTtoPOJOConverter.defaultOptions, options);
this.options = _objectSpread({}, ASTtoPOJOConverter.defaultOptions, {}, options);
}

@@ -51,0 +53,0 @@

{
"name": "graphql-operation-to-pojo",
"version": "1.0.4",
"version": "1.0.6",
"description": "Converts GraphQL operations to plain old JS objects (POJOs), ready to to be serialized to JSON",

@@ -43,16 +43,16 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.0.0",
"babel-core": "~7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"flow-bin": "^0.82.0",
"graphql": "^14.3.1",
"husky": "^1.3.1",
"jest": "^23.6.0",
"prettier": "~1.14.3",
"pretty-quick": "^1.11.0"
"babel-jest": "^24.9.0",
"flow-bin": "^0.101.1",
"graphql": "^14.5.4",
"husky": "^2.7.0",
"jest": "^24.9.0",
"prettier": "~1.18.2",
"pretty-quick": "^1.11.1"
},

@@ -59,0 +59,0 @@ "peerDependencies": {

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