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

grats

Package Overview
Dependencies
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grats - npm Package Compare versions

Comparing version 0.0.0-main-0762a16f to 0.0.0-main-262191a2

10

dist/package.json

@@ -36,3 +36,13 @@ {

"trailingComma": "all"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@codemirror/language"
],
"allowedVersions": {
"graphql": "16.6.0"
}
}
}
}

10

dist/src/Extractor.js

@@ -391,2 +391,3 @@ "use strict";

var fields = this.collectInputFields(node);
var deprecatedDirective = this.collectDeprecated(node);
this.definitions.push({

@@ -397,3 +398,4 @@ kind: graphql_1.Kind.INPUT_OBJECT_TYPE_DEFINITION,

name: name,
fields: fields !== null && fields !== void 0 ? fields : undefined
fields: fields !== null && fields !== void 0 ? fields : undefined,
directives: deprecatedDirective == null ? undefined : [deprecatedDirective]
});

@@ -440,2 +442,3 @@ };

var description = this.collectDescription(node.name);
var deprecatedDirective = this.collectDeprecated(node);
return {

@@ -448,3 +451,3 @@ kind: graphql_1.Kind.INPUT_VALUE_DEFINITION,

defaultValue: undefined,
directives: undefined
directives: deprecatedDirective == null ? undefined : [deprecatedDirective]
};

@@ -842,2 +845,3 @@ };

}
var deprecatedDirective = this.collectDeprecated(node);
return {

@@ -850,3 +854,3 @@ kind: graphql_1.Kind.INPUT_VALUE_DEFINITION,

defaultValue: defaultValue || undefined,
directives: []
directives: deprecatedDirective != null ? [deprecatedDirective] : undefined
};

@@ -853,0 +857,0 @@ };

{
"name": "grats",
"version": "0.0.0-main-0762a16f",
"version": "0.0.0-main-262191a2",
"main": "dist/src/index.js",

@@ -5,0 +5,0 @@ "bin": "dist/src/cli.js",

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