🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@0no-co/graphql.web

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0no-co/graphql.web - npm Package Compare versions

Comparing version

to
0.0.0-canary-20230320192911

41

dist/graphql.web.js

@@ -65,24 +65,24 @@ Object.defineProperty(exports, "__esModule", {

function blockString(e) {
var r = "";
var n = 0;
var r = e.split("\n");
var n = "";
var t = 0;
var a = -1;
var o = e.split("\n");
for (var l = 0; l < o.length; l++) {
var a = 0;
var o = r.length - 1;
for (var l = 0; l < r.length; l++) {
i.lastIndex = 0;
if (i.test(o[l])) {
if (l && (!n || i.lastIndex < n)) {
n = i.lastIndex;
if (i.test(r[l])) {
if (l && (!t || i.lastIndex < t)) {
t = i.lastIndex;
}
t = t || l;
a = l;
a = a || l;
o = l;
}
}
for (var u = t; u <= a; u++) {
if (u !== t) {
r += "\n";
for (var u = a; u <= o; u++) {
if (u !== a) {
n += "\n";
}
r += o[u].slice(n).replace(/\\"""/g, '"""');
n += r[u].slice(t).replace(/\\"""/g, '"""');
}
return r;
return n;
}

@@ -666,2 +666,9 @@

VARIABLE: "Variable",
INT: "IntValue",
FLOAT: "FloatValue",
STRING: "StringValue",
BOOLEAN: "BooleanValue",
NULL: "NullValue",
ENUM: "EnumValue",
LIST: "ListValue",
OBJECT: "ObjectValue",

@@ -772,3 +779,3 @@ OBJECT_FIELD: "ObjectField",

var o = !1;
var l = r[e.kind] && r[e.kind].enter || r[e.kind];
var l = r[e.kind] && r[e.kind].enter || r[e.kind] || r.enter;
var u = l && l.call(r, e, t, a, n, i);

@@ -829,3 +836,3 @@ if (!1 === u) {

}
var g = r[e.kind] && r[e.kind].leave;
var g = r[e.kind] && r[e.kind].leave || r.leave;
var h = g && g.call(r, e, t, a, n, i);

@@ -832,0 +839,0 @@ if (h === m) {

{
"name": "@0no-co/graphql.web",
"description": "A spec-compliant client-side GraphQL implementation",
"version": "0.0.0-canary-20230320192839",
"version": "0.0.0-canary-20230320192911",
"author": "0no.co <hi@0no.co>",

@@ -6,0 +6,0 @@ "source": "./src/index.ts",

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