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

lezer-feel

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lezer-feel - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

9

CHANGELOG.md

@@ -9,2 +9,7 @@ # Changelog

## 0.8.1
* `CHORE`: expose `normalizeContext`
* `FIX`: correctly normalize multiple spaces in contextual names
## 0.8.0

@@ -14,2 +19,6 @@

### Breaking Changes
* Reworked `Name` vs. `VariableName` handling: `VariableName` now strictly refers to existing name access, while `Name` strictly refers to name definition
## 0.7.0

@@ -16,0 +25,0 @@

4

dist/index.d.ts

@@ -5,4 +5,8 @@ import { LRParser, ContextTracker } from '@lezer/lr';

export function normalizeContext(
context: Record<string, any>
) : Record<string, any>;
export function trackVariables(
context: Record<string, any>
) : ContextTracker<any>;

4

dist/index.es.js

@@ -575,3 +575,3 @@ import { ExternalTokenizer, ContextTracker, LRParser } from '@lezer/lr';

function normalizeContextKey(name) {
return name.replace(/\s*([./\-'+*])\s*/g, ' $1 ').replace(/\s{2,}/, ' ').trim();
return name.replace(/\s*([./\-'+*])\s*/g, ' $1 ').replace(/\s{2,}/g, ' ').trim();
}

@@ -886,2 +886,2 @@

export { parser, trackVariables };
export { normalizeContext, parser, trackVariables };
{
"name": "lezer-feel",
"version": "0.8.0",
"version": "0.8.1",
"description": "Lezer-based FEEL grammar",

@@ -19,3 +19,5 @@ "main": "dist/index.cjs",

"@rollup/plugin-node-resolve": "^13.3.0",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"chai": "^4.3.6",
"chokidar-cli": "^3.0.0",

@@ -46,3 +48,3 @@ "eslint": "^8.19.0",

"lint": "eslint .",
"test:types": "tsc --noEmit test/types.ts",
"test:types": "tsc --noEmit test/test-types.ts",
"prepare": "run-s build"

@@ -49,0 +51,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc