@graphql-eslint/eslint-plugin 4.0.0-alpha.5 → 4.0.0-alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/index.d.cts +1 -1
- package/cjs/meta.d.cts +1 -1
- package/cjs/meta.js +3 -12
- package/cjs/parser.d.cts +1 -1
- package/cjs/processor.d.cts +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/meta.d.ts +1 -1
- package/esm/meta.js +1 -2
- package/esm/parser.d.ts +1 -1
- package/esm/processor.d.ts +1 -1
- package/index.browser.js +1 -71
- package/package.json +2 -2
package/cjs/index.d.cts
CHANGED
package/cjs/meta.d.cts
CHANGED
package/cjs/meta.js
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __create = Object.create;
|
3
2
|
var __defProp = Object.defineProperty;
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
6
|
-
var
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
7
6
|
var __export = (target, all) => {
|
8
7
|
for (var name in all)
|
9
8
|
__defProp(target, name, { get: all[name], enumerable: !0 });
|
@@ -13,21 +12,13 @@ var __export = (target, all) => {
|
|
13
12
|
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
14
13
|
return to;
|
15
14
|
};
|
16
|
-
var
|
17
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
18
|
-
// file that has been converted to a CommonJS file using a Babel-
|
19
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
20
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
21
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
22
|
-
mod
|
23
|
-
)), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
24
16
|
var meta_exports = {};
|
25
17
|
__export(meta_exports, {
|
26
18
|
version: () => version
|
27
19
|
});
|
28
20
|
module.exports = __toCommonJS(meta_exports);
|
29
|
-
|
30
|
-
const { version } = import_package.default;
|
21
|
+
const version = "4.0.0-alpha.6";
|
31
22
|
// Annotate the CommonJS export names for ESM import in node:
|
32
23
|
0 && (module.exports = {
|
33
24
|
version
|
package/cjs/parser.d.cts
CHANGED
package/cjs/processor.d.cts
CHANGED
package/esm/index.d.ts
CHANGED
package/esm/meta.d.ts
CHANGED
package/esm/meta.js
CHANGED
package/esm/parser.d.ts
CHANGED
package/esm/processor.d.ts
CHANGED
package/index.browser.js
CHANGED
@@ -387,78 +387,8 @@ function convertToESTree(node, schema15) {
|
|
387
387
|
);
|
388
388
|
}
|
389
389
|
|
390
|
-
// package.json
|
391
|
-
var package_default = {
|
392
|
-
name: "@graphql-eslint/eslint-plugin",
|
393
|
-
version: "4.0.0-alpha.5",
|
394
|
-
type: "module",
|
395
|
-
description: "GraphQL plugin for ESLint",
|
396
|
-
repository: "https://github.com/B2o5T/graphql-eslint",
|
397
|
-
author: "Dotan Simha <dotansimha@gmail.com>",
|
398
|
-
license: "MIT",
|
399
|
-
engines: {
|
400
|
-
node: ">=18"
|
401
|
-
},
|
402
|
-
exports: {
|
403
|
-
"./package.json": "./package.json",
|
404
|
-
".": {
|
405
|
-
require: {
|
406
|
-
types: "./dist/cjs/index.d.cts",
|
407
|
-
default: "./dist/cjs/index.js"
|
408
|
-
},
|
409
|
-
import: {
|
410
|
-
types: "./dist/esm/index.d.ts",
|
411
|
-
default: "./dist/esm/index.js"
|
412
|
-
}
|
413
|
-
}
|
414
|
-
},
|
415
|
-
types: "dist/esm/index.d.ts",
|
416
|
-
keywords: [
|
417
|
-
"eslint",
|
418
|
-
"eslintplugin",
|
419
|
-
"eslint-plugin",
|
420
|
-
"graphql"
|
421
|
-
],
|
422
|
-
scripts: {
|
423
|
-
build: "tsup",
|
424
|
-
test: "vitest",
|
425
|
-
typecheck: "tsc --noEmit"
|
426
|
-
},
|
427
|
-
peerDependencies: {
|
428
|
-
eslint: ">=8.44.0",
|
429
|
-
graphql: "^16"
|
430
|
-
},
|
431
|
-
dependencies: {
|
432
|
-
"@graphql-tools/code-file-loader": "^8.0.0",
|
433
|
-
"@graphql-tools/graphql-tag-pluck": "8.3.2",
|
434
|
-
"@graphql-tools/utils": "^10.0.0",
|
435
|
-
debug: "^4.3.4",
|
436
|
-
"fast-glob": "^3.2.12",
|
437
|
-
"graphql-config": "^5.1.0",
|
438
|
-
"graphql-depth-limit": "^1.1.0",
|
439
|
-
"lodash.lowercase": "^4.3.0"
|
440
|
-
},
|
441
|
-
devDependencies: {
|
442
|
-
"@theguild/eslint-rule-tester": "workspace:*",
|
443
|
-
"@types/debug": "4.1.12",
|
444
|
-
"@types/eslint": "9.6.1",
|
445
|
-
"@types/estree": "1.0.6",
|
446
|
-
"@types/graphql-depth-limit": "1.1.6",
|
447
|
-
"@types/json-schema": "7.0.15",
|
448
|
-
"@types/lodash.lowercase": "4.3.9",
|
449
|
-
graphql: "16.9.0",
|
450
|
-
"json-schema-to-ts": "3.1.1",
|
451
|
-
"vite-tsconfig-paths": "^5.0.0"
|
452
|
-
},
|
453
|
-
publishConfig: {
|
454
|
-
directory: "dist",
|
455
|
-
access: "public"
|
456
|
-
},
|
457
|
-
sideEffects: !1
|
458
|
-
};
|
459
|
-
|
460
390
|
// src/meta.ts
|
461
|
-
var
|
391
|
+
var version = process.env.VERSION;
|
462
392
|
|
463
393
|
// src/siblings.ts
|
464
394
|
import {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-eslint/eslint-plugin",
|
3
|
-
"version": "4.0.0-alpha.
|
3
|
+
"version": "4.0.0-alpha.6",
|
4
4
|
"type": "module",
|
5
5
|
"description": "GraphQL plugin for ESLint",
|
6
6
|
"repository": "https://github.com/B2o5T/graphql-eslint",
|
@@ -35,7 +35,7 @@
|
|
35
35
|
},
|
36
36
|
"dependencies": {
|
37
37
|
"@graphql-tools/code-file-loader": "^8.0.0",
|
38
|
-
"@graphql-tools/graphql-tag-pluck": "8.3.
|
38
|
+
"@graphql-tools/graphql-tag-pluck": "8.3.3",
|
39
39
|
"@graphql-tools/utils": "^10.0.0",
|
40
40
|
"debug": "^4.3.4",
|
41
41
|
"fast-glob": "^3.2.12",
|