sql-autocomplete-parsers
Advanced tools
Comparing version 1.12.0 to 1.13.0
# Changelog | ||
## [1.13.0](https://github.com/gravity-ui/sql-autocomplete-parsers/compare/v1.12.0...v1.13.0) (2023-07-14) | ||
### Features | ||
* move npm ci installation for generator to a script ([#54](https://github.com/gravity-ui/sql-autocomplete-parsers/issues/54)) ([dadded4](https://github.com/gravity-ui/sql-autocomplete-parsers/commit/dadded40e5695953c59fe0cc829e2fac3a7099b5)) | ||
* remove postinstall script, update readme.md ([#53](https://github.com/gravity-ui/sql-autocomplete-parsers/issues/53)) ([2ac6e20](https://github.com/gravity-ui/sql-autocomplete-parsers/commit/2ac6e20f066ba72d023aff7d4288bc6d1dbeb59c)) | ||
* restore postinstall script, make it execute only when we're not installed as dependency ([#56](https://github.com/gravity-ui/sql-autocomplete-parsers/issues/56)) ([16a7efb](https://github.com/gravity-ui/sql-autocomplete-parsers/commit/16a7efbf886bbd6fc28a14c991a872ca622f8c0a)) | ||
## [1.12.0](https://github.com/gravity-ui/sql-autocomplete-parsers/compare/v1.11.0...v1.12.0) (2023-07-14) | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "sql-autocomplete-parsers", | ||
"version": "1.12.0", | ||
"version": "1.13.0", | ||
"description": "A library that provides autocompletion and errors highlighting for various sql dialects", | ||
@@ -21,3 +21,3 @@ "repository": { | ||
"prepare": "husky install", | ||
"postinstall": "cd src/generator && npm install", | ||
"postinstall": "if [ -e src/generator ]; then cd src/generator && npm install; fi", | ||
"test": "npm run generate && npm run test_without_generate", | ||
@@ -24,0 +24,0 @@ "test_without_generate": "jest src/parsing", |
@@ -27,3 +27,3 @@ # SQL Autocomplete Parsers | ||
6. `src/generator/main.js` concatenates all the jison files into a single big jison file, and runs the jison tool with the specified lexer, then wires everything up with the `parser-extension.js`, generating `src/parsing/parsers/{dialect}/{dialect}AutocompleteParser.js`. | ||
7. The generated file is in plain javascript, so we create a convenient typescript wrapper in `src/parsing/index.ts` with all the types and functions. Our users should include this file in their own projects (for the time being they need to compile it yourself) | ||
7. The generated file is in plain javascript, so we create a convenient typescript wrapper in `src/parsing/index.ts` with all the types and functions. Our users should include this file in their own projects. | ||
@@ -30,0 +30,0 @@ # Main scripts |
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
1649129
0