edge-parser
Advanced tools
Comparing version 8.0.0 to 8.0.1
194
package.json
{ | ||
"name": "edge-parser", | ||
"version": "8.0.0", | ||
"description": "Parser for edge template engine", | ||
"main": "build/index.js", | ||
"files": [ | ||
"build/src", | ||
"build/index.d.ts", | ||
"build/index.js" | ||
], | ||
"scripts": { | ||
"pretest": "npm run lint", | ||
"test": "node japaFile.js", | ||
"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", | ||
"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 ." | ||
}, | ||
"keywords": [ | ||
"edge", | ||
"template", | ||
"template-engine" | ||
], | ||
"author": "virk", | ||
"license": "MIT", | ||
"dependencies": { | ||
"acorn": "^8.0.5", | ||
"astring": "^1.7.0", | ||
"edge-error": "^1.0.5", | ||
"edge-lexer": "^4.0.0", | ||
"js-stringify": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@adonisjs/mrm-preset": "^3.0.0", | ||
"@adonisjs/require-ts": "^2.0.2", | ||
"@types/acorn": "^4.0.5", | ||
"@types/astring": "^1.3.0", | ||
"@types/node": "^14.14.28", | ||
"commitizen": "^4.2.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"dedent-js": "^1.0.1", | ||
"del-cli": "^3.0.1", | ||
"doctoc": "^2.0.0", | ||
"eslint": "^7.20.0", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-plugin-adonis": "^1.2.1", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"github-label-sync": "^2.0.0", | ||
"husky": "^5.0.9", | ||
"japa": "^3.1.1", | ||
"mrm": "^2.5.18", | ||
"np": "^7.4.0", | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.1.5", | ||
"youch": "^2.1.1" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"test" | ||
], | ||
"extension": [ | ||
".ts" | ||
] | ||
}, | ||
"gitHooks": { | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md", | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
} | ||
}, | ||
"np": { | ||
"contents": ".", | ||
"anyBranch": false | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/edge-js/parser.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/edge-js/parser/issues" | ||
}, | ||
"homepage": "https://github.com/edge-js/parser#readme" | ||
"name": "edge-parser", | ||
"version": "8.0.1", | ||
"description": "Parser for edge template engine", | ||
"main": "build/index.js", | ||
"files": [ | ||
"build/src", | ||
"build/index.d.ts", | ||
"build/index.js" | ||
], | ||
"scripts": { | ||
"pretest": "npm run lint", | ||
"test": "node japaFile.js", | ||
"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", | ||
"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 ." | ||
}, | ||
"keywords": [ | ||
"edge", | ||
"template", | ||
"template-engine" | ||
], | ||
"author": "virk", | ||
"license": "MIT", | ||
"dependencies": { | ||
"acorn": "^8.0.5", | ||
"astring": "^1.7.0", | ||
"edge-error": "^2.0.0", | ||
"edge-lexer": "^4.0.0", | ||
"js-stringify": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@adonisjs/mrm-preset": "^3.0.0", | ||
"@adonisjs/require-ts": "^2.0.2", | ||
"@types/acorn": "^4.0.5", | ||
"@types/astring": "^1.3.0", | ||
"@types/node": "^14.14.31", | ||
"commitizen": "^4.2.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"dedent-js": "^1.0.1", | ||
"del-cli": "^3.0.1", | ||
"doctoc": "^2.0.0", | ||
"eslint": "^7.20.0", | ||
"eslint-config-prettier": "^8.0.0", | ||
"eslint-plugin-adonis": "^1.2.1", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"github-label-sync": "^2.0.0", | ||
"husky": "^5.0.9", | ||
"japa": "^3.1.1", | ||
"mrm": "^2.5.19", | ||
"np": "^7.4.0", | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.1.5", | ||
"youch": "^2.1.1" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"nyc": { | ||
"exclude": [ | ||
"test" | ||
], | ||
"extension": [ | ||
".ts" | ||
] | ||
}, | ||
"gitHooks": { | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "doctoc README.md --title='## Table of contents' && git add README.md", | ||
"commit-msg": "node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js" | ||
} | ||
}, | ||
"np": { | ||
"contents": ".", | ||
"anyBranch": false | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/edge-js/parser.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/edge-js/parser/issues" | ||
}, | ||
"homepage": "https://github.com/edge-js/parser#readme" | ||
} |
@@ -11,2 +11,3 @@ <div align="center"><img src="https://res.cloudinary.com/adonis-js/image/upload/q_100/v1600679850/edge-banner_wao6ex.png" width="600px"></div> | ||
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
## Table of contents | ||
@@ -17,25 +18,25 @@ | ||
- [Parser API](#parser-api) | ||
- [generateAST(jsExpression, lexerLoc, filename)](#generateastjsexpression-lexerloc-filename) | ||
- [transformAst(acornAst, filename)](#transformastacornast-filename) | ||
- [tokenize (template, options: { filename })](#tokenize-template-options--filename-) | ||
- [stringify(expression)](#stringifyexpression) | ||
- [processToken(token, buffer)](#processtokentoken-buffer) | ||
- [generateAST(jsExpression, lexerLoc, filename)](#generateastjsexpression-lexerloc-filename) | ||
- [transformAst(acornAst, filename)](#transformastacornast-filename) | ||
- [tokenize (template, options: { filename })](#tokenize-template-options--filename-) | ||
- [stringify(expression)](#stringifyexpression) | ||
- [processToken(token, buffer)](#processtokentoken-buffer) | ||
- [Supported Expressions](#supported-expressions) | ||
- [Identifier](#identifier) | ||
- [Literal](#literal) | ||
- [ArrayExpression](#arrayexpression) | ||
- [ObjectExpression](#objectexpression) | ||
- [UnaryExpression](#unaryexpression) | ||
- [BinaryExpression](#binaryexpression) | ||
- [LogicalExpression](#logicalexpression) | ||
- [MemberExpression](#memberexpression) | ||
- [ConditionalExpression](#conditionalexpression) | ||
- [CallExpression](#callexpression) | ||
- [SequenceExpression](#sequenceexpression) | ||
- [TemplateLiteral](#templateliteral) | ||
- [ArrowFunctionExpression](#arrowfunctionexpression) | ||
- [AwaitExpression](#awaitexpression) | ||
- [FunctionDeclaration](#functiondeclaration) | ||
- [BlockStatement](#blockstatement) | ||
- [ChainExpression](#chainexpression) | ||
- [Identifier](#identifier) | ||
- [Literal](#literal) | ||
- [ArrayExpression](#arrayexpression) | ||
- [ObjectExpression](#objectexpression) | ||
- [UnaryExpression](#unaryexpression) | ||
- [BinaryExpression](#binaryexpression) | ||
- [LogicalExpression](#logicalexpression) | ||
- [MemberExpression](#memberexpression) | ||
- [ConditionalExpression](#conditionalexpression) | ||
- [CallExpression](#callexpression) | ||
- [SequenceExpression](#sequenceexpression) | ||
- [TemplateLiteral](#templateliteral) | ||
- [ArrowFunctionExpression](#arrowfunctionexpression) | ||
- [AwaitExpression](#awaitexpression) | ||
- [FunctionDeclaration](#functiondeclaration) | ||
- [BlockStatement](#blockstatement) | ||
- [ChainExpression](#chainexpression) | ||
@@ -391,12 +392,8 @@ <!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
[circleci-url]: https://circleci.com/gh/edge-js/parser 'circleci' | ||
[npm-image]: https://img.shields.io/npm/v/edge-parser.svg?style=for-the-badge&logo=npm | ||
[npm-url]: https://npmjs.org/package/edge-parser 'npm' | ||
[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript | ||
[license-url]: LICENSE.md | ||
[license-image]: https://img.shields.io/github/license/edge-js/lexer?style=for-the-badge | ||
[synk-image]: https://img.shields.io/snyk/vulnerabilities/github/edge-js/parser?label=Synk%20Vulnerabilities&style=for-the-badge | ||
[synk-url]: https://snyk.io/test/github/edge-js/parser?targetFile=package.json "synk" | ||
[synk-url]: https://snyk.io/test/github/edge-js/parser?targetFile=package.json 'synk' |
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
78667
397
- Removededge-error@1.0.5(transitive)
Updatededge-error@^2.0.0