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

@escape.tech/graphql-armor-max-tokens

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@escape.tech/graphql-armor-max-tokens - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

4

dist/graphql-armor-max-tokens.cjs.dev.js

@@ -28,3 +28,3 @@ 'use strict';

onReject: [],
throwOnRejection: true
propagateOnRejection: true
};

@@ -64,3 +64,3 @@ class MaxTokensParserWLexer extends parser.Parser {

if (this.config.throwOnRejection) {
if (this.config.propagateOnRejection) {
throw err;

@@ -67,0 +67,0 @@ }

@@ -28,3 +28,3 @@ 'use strict';

onReject: [],
throwOnRejection: true
propagateOnRejection: true
};

@@ -64,3 +64,3 @@ class MaxTokensParserWLexer extends parser.Parser {

if (this.config.throwOnRejection) {
if (this.config.propagateOnRejection) {
throw err;

@@ -67,0 +67,0 @@ }

@@ -24,3 +24,3 @@ import { TokenKind } from 'graphql';

onReject: [],
throwOnRejection: true
propagateOnRejection: true
};

@@ -60,3 +60,3 @@ class MaxTokensParserWLexer extends Parser {

if (this.config.throwOnRejection) {
if (this.config.propagateOnRejection) {
throw err;

@@ -63,0 +63,0 @@ }

{
"name": "@escape.tech/graphql-armor-max-tokens",
"version": "1.1.1",
"version": "1.2.0",
"description": "Limit the number of tokens allowed in a GraphQL document.",
"packageManager": "yarn@3.2.3",
"packageManager": "yarn@3.2.4",
"main": "dist/graphql-armor-max-tokens.cjs.js",

@@ -31,3 +31,3 @@ "module": "dist/graphql-armor-max-tokens.esm.js",

"@envelop/core": "^2.4.0",
"@escape.tech/graphql-armor-types": "0.1.0"
"@escape.tech/graphql-armor-types": "0.2.0"
},

@@ -38,3 +38,3 @@ "devDependencies": {

"@envelop/types": "2.4.0",
"@escape.tech/graphql-armor-types": "0.1.0",
"@escape.tech/graphql-armor-types": "0.2.0",
"graphql": "16.6.0",

@@ -41,0 +41,0 @@ "typescript": "4.8.4"

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