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

cspell-grammar

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cspell-grammar - npm Package Compare versions

Comparing version

to
6.29.0

{
"name": "cspell-grammar",
"version": "6.28.0",
"version": "6.29.0",
"description": "Grammar parsing support for cspell",

@@ -13,32 +13,49 @@ "keywords": [

"bin": {
"cspell-grammar": "bin.js"
"cspell-grammar": "bin.mjs"
},
"main": "dist/index.js",
"directories": {
"dist": "dist"
"type": "commonjs",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"module": "dist/esm/index.mjs",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./parsers/typescript": {
"import": "./dist/esm/parsers/typescript/index.mjs",
"require": "./dist/cjs/parsers/typescript/index.js"
}
},
"typings": "index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/*"
"index.js": [
"dist/cjs/index.d.ts"
],
"parsers/*": [
"dist/parsers/*"
"index.d.ts": [
"dist/cjs/index.d.ts"
],
"index.d.ts": [
"dist/index.d.ts"
"dist/cjs/*.d.ts": [
"dist/cjs/*.d.ts"
],
"parsers/typescript": [
"dist/cjs/parsers/typescript/index.d.ts"
],
"parsers/typescript/*.d.ts": [
"dist/cjs/parsers/typescript/*.d.ts"
],
"*": [
"dist/cjs/*.d.ts",
"dist/cjs/*/index.d.ts"
]
}
},
"exports": {
".": "./dist/index.js",
"./parsers/typescript": "./dist/parsers/typescript/index.js",
"./parsers/typescript/index.js": "./dist/parsers/typescript/index.js"
},
"files": [
"bin.mjs",
"dist",
"bin.js",
"!dist/esm/**/*.js",
"!dist/esm/**/*.ts",
"!**/*.tsbuildInfo",
"!**/__mocks__",
"!**/test/**",
"!**/*.test.*",

@@ -49,9 +66,12 @@ "!**/*.spec.*",

"scripts": {
"build": "tsc -p .",
"watch": "tsc -p . -w",
"clean": "shx rm -rf dist coverage .tsbuildinfo",
"build": "tsc -b . && ts2mjs dist/esm",
"build:esm": "tsc -p tsconfig.esm.json",
"clean-build": "pnpm run clean && pnpm run build",
"coverage": "jest --coverage",
"test-watch": "jest --watch",
"test": "jest"
"coverage": "pnpm coverage:vitest && pnpm coverage:fix",
"coverage:vitest": "vitest run --coverage",
"coverage:fix": "nyc report --temp-dir \"$(pwd)/coverage\" --reporter lcov --report-dir \"$(pwd)/coverage\" --cwd ../..",
"test:watch": "vitest",
"test": "vitest run",
"watch": "tsc -b . -w"
},

@@ -69,9 +89,9 @@ "repository": {

"devDependencies": {
"jest": "^29.4.3"
"jest": "^29.5.0"
},
"dependencies": {
"@cspell/cspell-pipe": "6.28.0",
"@cspell/cspell-types": "6.28.0"
"@cspell/cspell-pipe": "6.29.0",
"@cspell/cspell-types": "6.29.0"
},
"gitHead": "1c314413e76908e5fbf61fd2555726112b177c0e"
"gitHead": "2eabb1c47c12c2a42eb95d30329be6f544ee2ffc"
}