Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tokenizr

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

tokenizr - npm Package Compare versions

Comparing version 1.6.9 to 1.6.10

18

package.json
{
"name": "tokenizr",
"version": "1.6.9",
"version": "1.6.10",
"description": "String Tokenization Library for JavaScript",

@@ -26,4 +26,4 @@ "keywords": [ "string", "token", "scanner", "lexer" ],

"grunt-mocha-test": "0.13.3",
"grunt-eslint": "24.0.1",
"typescript": "5.0.4",
"grunt-eslint": "24.2.0",
"typescript": "5.1.6",
"mocha": "10.2.0",

@@ -33,10 +33,10 @@ "chai": "4.3.7",

"babelify": "10.0.0",
"@babel/core": "7.21.4",
"@babel/cli": "7.21.0",
"@babel/node": "7.20.7",
"@babel/preset-env": "7.21.4",
"@babel/core": "7.22.5",
"@babel/cli": "7.22.5",
"@babel/node": "7.22.5",
"@babel/preset-env": "7.22.5",
"uglifyify": "5.0.2",
"browserify-derequire": "1.1.1",
"eslint": "8.39.0",
"eslint-config-standard": "17.0.0",
"eslint": "8.43.0",
"eslint-config-standard": "17.1.0",
"eslint-plugin-promise": "6.1.1",

@@ -43,0 +43,0 @@ "eslint-plugin-import": "2.27.5",

@@ -248,4 +248,4 @@

- Method: `Tokenizr#rule(state?: String, pattern: RegExp, action: (ctx: ActionContext, match: Array[String]) => Void): Tokenizr`<br/>
Configure a token matching rule which executes its `action` in case
- Method: `Tokenizr#rule(state?: String, pattern: RegExp, action: (ctx: ActionContext, match: Array[String]) => Void, name: String): Tokenizr`<br/>
Configure a token matching rule named `name`, which executes its `action` in case
the current tokenization state is one of the states (and all of the

@@ -276,3 +276,3 @@ currently set tags) in `state` (by default the rule matches all states

- Method: `Tokenizr#consume(type: String, value?: String): Tokenizr`<br/>
- Method: `Tokenizr#consume(type: String, value?: String): Tokenizr.Token`<br/>
Match (with `Tokenizr.Token#isA`) the next token. If it matches

@@ -279,0 +279,0 @@ `type` and optionally also `value`, consume it. If it does not match,

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