jsonc-eslint-parser
Advanced tools
Comparing version 2.2.0 to 2.3.0
@@ -5,3 +5,4 @@ import { parseForESLint } from "./parser/parser"; | ||
import type * as AST from "./parser/ast"; | ||
export declare const name = "jsonc-eslint-parser"; | ||
export * as meta from "./meta"; | ||
export { name } from "./meta"; | ||
export { parseForESLint }; | ||
@@ -8,0 +9,0 @@ export declare const VisitorKeys: import("eslint").SourceCode.VisitorKeys; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseJSON = exports.isUndefinedIdentifier = exports.isNumberIdentifier = exports.isExpression = exports.getStaticJSONValue = exports.traverseNodes = exports.VisitorKeys = exports.parseForESLint = exports.name = void 0; | ||
exports.parseJSON = exports.isUndefinedIdentifier = exports.isNumberIdentifier = exports.isExpression = exports.getStaticJSONValue = exports.traverseNodes = exports.VisitorKeys = exports.parseForESLint = exports.name = exports.meta = void 0; | ||
const parser_1 = require("./parser/parser"); | ||
@@ -14,3 +37,5 @@ Object.defineProperty(exports, "parseForESLint", { enumerable: true, get: function () { return parser_1.parseForESLint; } }); | ||
const visitor_keys_1 = require("./parser/visitor-keys"); | ||
exports.name = "jsonc-eslint-parser"; | ||
exports.meta = __importStar(require("./meta")); | ||
var meta_1 = require("./meta"); | ||
Object.defineProperty(exports, "name", { enumerable: true, get: function () { return meta_1.name; } }); | ||
exports.VisitorKeys = (0, visitor_keys_1.getVisitorKeys)(); | ||
@@ -17,0 +42,0 @@ function parseJSON(code, options) { |
{ | ||
"name": "jsonc-eslint-parser", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "JSON, JSONC and JSON5 parser for use with ESLint plugins", | ||
@@ -13,4 +13,5 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"build": "npm run build:ts", | ||
"build:ts": "tsc --project ./tsconfig.build.json", | ||
"build": "npm run build:meta && npm run build:tsc", | ||
"build:meta": "ts-node --transpile-only ./tools/update-meta.ts", | ||
"build:tsc": "tsc --project ./tsconfig.build.json", | ||
"clean": "rimraf .nyc_output lib coverage", | ||
@@ -27,3 +28,6 @@ "lint": "eslint . --ext .js,.ts,.json", | ||
"update-fixtures": "ts-node ./tools/update-fixtures.ts", | ||
"benchmark": "ts-node --transpile-only benchmark/index.ts" | ||
"benchmark": "ts-node --transpile-only benchmark/index.ts", | ||
"prerelease": "npm run clean && npm run build", | ||
"release": "changeset publish", | ||
"version:ci": "env-cmd -e version-ci npm run build:meta && changeset version" | ||
}, | ||
@@ -49,2 +53,4 @@ "repository": { | ||
"devDependencies": { | ||
"@changesets/changelog-github": "^0.4.6", | ||
"@changesets/cli": "^2.24.2", | ||
"@ota-meshi/eslint-plugin": "^0.13.0", | ||
@@ -62,2 +68,3 @@ "@types/benchmark": "^2.1.0", | ||
"benchmark": "^2.1.4", | ||
"env-cmd": "^10.1.0", | ||
"eslint": "^8.0.0", | ||
@@ -77,3 +84,3 @@ "eslint-config-prettier": "^8.0.0", | ||
"ts-node": "^10.0.0", | ||
"typescript": "^4.0.0", | ||
"typescript": "^5.0.0", | ||
"vue-eslint-parser": "^9.0.0" | ||
@@ -86,3 +93,6 @@ }, | ||
"semver": "^7.3.5" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77463
39
1855
31