edge-parser
Advanced tools
Comparing version 8.2.2 to 9.0.0-0
@@ -1,5 +0,4 @@ | ||
export { Stack } from './src/Stack'; | ||
export { Parser } from './src/Parser'; | ||
export { EdgeBuffer } from './src/EdgeBuffer'; | ||
export * from './src/Contracts'; | ||
export { Stack } from './src/stack/index.js'; | ||
export { Parser } from './src/parser/index.js'; | ||
export { EdgeBuffer } from './src/edge_buffer/index.js'; | ||
/** | ||
@@ -6,0 +5,0 @@ * Names of supported expressions |
@@ -1,2 +0,1 @@ | ||
"use strict"; | ||
/* | ||
@@ -10,44 +9,13 @@ * edge-parser | ||
*/ | ||
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 __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
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.expressions = exports.EdgeBuffer = exports.Parser = exports.Stack = void 0; | ||
var Stack_1 = require("./src/Stack"); | ||
Object.defineProperty(exports, "Stack", { enumerable: true, get: function () { return Stack_1.Stack; } }); | ||
var Parser_1 = require("./src/Parser"); | ||
Object.defineProperty(exports, "Parser", { enumerable: true, get: function () { return Parser_1.Parser; } }); | ||
var EdgeBuffer_1 = require("./src/EdgeBuffer"); | ||
Object.defineProperty(exports, "EdgeBuffer", { enumerable: true, get: function () { return EdgeBuffer_1.EdgeBuffer; } }); | ||
__exportStar(require("./src/Contracts"), exports); | ||
const ExpressionsList = __importStar(require("./src/Expressions")); | ||
export { Stack } from './src/stack/index.js'; | ||
export { Parser } from './src/parser/index.js'; | ||
export { EdgeBuffer } from './src/edge_buffer/index.js'; | ||
import * as ExpressionsList from './src/expressions/index.js'; | ||
/** | ||
* Names of supported expressions | ||
*/ | ||
exports.expressions = Object.keys(ExpressionsList).reduce((result, name) => { | ||
export const expressions = Object.keys(ExpressionsList).reduce((result, name) => { | ||
// @ts-ignore | ||
result[name] = name; | ||
return result; | ||
}, {}); |
179
package.json
{ | ||
"name": "edge-parser", | ||
"version": "8.2.2", | ||
"description": "Parser for edge template engine", | ||
"version": "9.0.0-0", | ||
"engines": { | ||
"node": ">=18.16.0" | ||
}, | ||
"main": "build/index.js", | ||
"type": "module", | ||
"files": [ | ||
@@ -11,81 +15,54 @@ "build/src", | ||
], | ||
"exports": { | ||
".": "./build/index.js", | ||
"./types": "./build/src/types.js" | ||
}, | ||
"scripts": { | ||
"pretest": "npm run lint", | ||
"test": "node .bin/test.js", | ||
"test": "c8 npm run quick:test", | ||
"clean": "del-cli build", | ||
"typecheck": "tsc --noEmit", | ||
"compile": "npm run lint && npm run clean && tsc", | ||
"build": "npm run compile", | ||
"mrm": "mrm --preset=@adonisjs/mrm-preset", | ||
"commit": "git-cz", | ||
"test:win": "node ./node_modules/japa-cli/index.js", | ||
"clean": "del build", | ||
"compile": "npm run lint && npm run clean && tsc", | ||
"release": "np --message=\"chore(release): %s\"", | ||
"prepublishOnly": "npm run build", | ||
"lint": "eslint . --ext=.ts", | ||
"format": "prettier --write .", | ||
"release": "np", | ||
"version": "npm run build", | ||
"lint": "eslint . --ext=.ts", | ||
"prepublishOnly": "npm run build", | ||
"sync-labels": "github-label-sync --labels ./node_modules/@adonisjs/mrm-preset/gh-labels.json edge-js/parser", | ||
"format": "prettier --write ." | ||
"sync-labels": "github-label-sync --labels .github/labels.json edge-js/parser", | ||
"quick:test": "node --enable-source-maps --loader=ts-node/esm bin/test.ts" | ||
}, | ||
"keywords": [ | ||
"edge", | ||
"template", | ||
"template-engine" | ||
], | ||
"author": "virk", | ||
"license": "MIT", | ||
"dependencies": { | ||
"acorn": "^8.8.2", | ||
"astring": "^1.8.4", | ||
"edge-error": "^3.0.0", | ||
"edge-lexer": "^5.0.2", | ||
"js-stringify": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@adonisjs/mrm-preset": "^5.0.3", | ||
"@adonisjs/require-ts": "^2.0.13", | ||
"@adonisjs/eslint-config": "^1.1.8", | ||
"@adonisjs/prettier-config": "^1.1.8", | ||
"@adonisjs/tsconfig": "^1.1.8", | ||
"@japa/assert": "2.0.0-1", | ||
"@japa/runner": "3.0.0-6", | ||
"@poppinss/utils": "6.5.0-3", | ||
"@swc/core": "^1.3.70", | ||
"@types/acorn": "^6.0.0", | ||
"@types/astring": "^1.7.0", | ||
"@types/node": "^18.15.3", | ||
"commitizen": "^4.3.0", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"@types/node": "^20.4.4", | ||
"c8": "^8.0.0", | ||
"dedent-js": "^1.0.1", | ||
"del-cli": "^5.0.0", | ||
"doctoc": "^2.2.1", | ||
"eslint": "^8.36.0", | ||
"eslint-config-prettier": "^8.7.0", | ||
"eslint-plugin-adonis": "^2.1.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint": "^8.45.0", | ||
"github-label-sync": "^2.3.1", | ||
"husky": "^8.0.3", | ||
"japa": "^4.0.0", | ||
"mrm": "^4.1.14", | ||
"np": "^7.6.4", | ||
"prettier": "^2.8.5", | ||
"typescript": "^5.0.2", | ||
"np": "^8.0.4", | ||
"prettier": "^3.0.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.1.6", | ||
"youch": "^3.2.3" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
"dependencies": { | ||
"acorn": "^8.10.0", | ||
"astring": "^1.8.6", | ||
"edge-error": "^4.0.0-0", | ||
"edge-lexer": "^6.0.0-0", | ||
"js-stringify": "^1.0.2" | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"test" | ||
], | ||
"extension": [ | ||
".ts" | ||
] | ||
}, | ||
"gitHooks": { | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
} | ||
}, | ||
"np": { | ||
"contents": ".", | ||
"anyBranch": false | ||
}, | ||
"author": "virk", | ||
"license": "MIT", | ||
"homepage": "https://github.com/edge-js/parser#readme", | ||
"repository": { | ||
@@ -98,46 +75,38 @@ "type": "git", | ||
}, | ||
"homepage": "https://github.com/edge-js/parser#readme", | ||
"mrmConfig": { | ||
"core": false, | ||
"license": "MIT", | ||
"services": [ | ||
"github-actions" | ||
], | ||
"minNodeVersion": "14.15.4", | ||
"probotApps": [ | ||
"stale", | ||
"lock" | ||
], | ||
"runGhActionsOnWindows": true | ||
"keywords": [ | ||
"edge", | ||
"template", | ||
"template-engine" | ||
], | ||
"eslintConfig": { | ||
"extends": "@adonisjs/eslint-config/package" | ||
}, | ||
"eslintConfig": { | ||
"prettier": "@adonisjs/prettier-config", | ||
"commitlint": { | ||
"extends": [ | ||
"plugin:adonis/typescriptPackage", | ||
"prettier" | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"tag": "next" | ||
}, | ||
"directories": { | ||
"test": "test" | ||
}, | ||
"np": { | ||
"message": "chore(release): %s", | ||
"tag": "next", | ||
"branch": "main", | ||
"anyBranch": false | ||
}, | ||
"c8": { | ||
"reporter": [ | ||
"text", | ||
"html" | ||
], | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"rules": { | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
"endOfLine": "auto" | ||
} | ||
] | ||
} | ||
}, | ||
"eslintIgnore": [ | ||
"build" | ||
], | ||
"prettier": { | ||
"trailingComma": "es5", | ||
"semi": false, | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"quoteProps": "consistent", | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"printWidth": 100 | ||
"exclude": [ | ||
"tests/**" | ||
] | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
21
Yes
65055
1607
1
2
+ Addededge-error@4.0.1(transitive)
+ Addededge-lexer@6.0.1(transitive)
- Removededge-error@3.0.0(transitive)
- Removededge-lexer@5.0.2(transitive)
Updatedacorn@^8.10.0
Updatedastring@^1.8.6
Updatededge-error@^4.0.0-0
Updatededge-lexer@^6.0.0-0