@lezer/generator
Advanced tools
Comparing version 1.5.1 to 1.6.0
@@ -5,3 +5,3 @@ import {resolve, dirname} from "path" | ||
export function lezer() { | ||
export function lezer(config = {}) { | ||
let built = Object.create(null) | ||
@@ -27,2 +27,3 @@ | ||
moduleStyle: "es", | ||
exportName: config.exportName, | ||
warn: message => this.warn(message) | ||
@@ -29,0 +30,0 @@ }))) |
{ | ||
"name": "@lezer/generator", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "Parser generator for the incremental lezer parser", | ||
@@ -37,3 +37,3 @@ "main": "dist/index.cjs", | ||
"dependencies": { | ||
"@lezer/common": "^1.0.2", | ||
"@lezer/common": "^1.1.0", | ||
"@lezer/lr": "^1.3.0" | ||
@@ -40,0 +40,0 @@ }, |
@@ -25,2 +25,4 @@ # @lezer/generator | ||
The plugin can be passed `lezer({exportName})` option to configure the name of the parser export. | ||
The code is licensed under an MIT license. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
361408
8926
28
Updated@lezer/common@^1.1.0