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

@toml-tools/lexer

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toml-tools/lexer - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

2

lib/api.js

@@ -7,3 +7,3 @@ const { Lexer } = require("chevrotain");

function tokenize(text) {
return tomlLexer.tokenize();
return tomlLexer.tokenize(text);
}

@@ -10,0 +10,0 @@

@@ -136,3 +136,3 @@ /* eslint-disable no-unused-vars */

FRAGMENT("time_secfrac", /"."\d+/);
FRAGMENT("time_numoffset", makePattern`[+-]${f.time_hour}${f.time_minute}`);
FRAGMENT("time_numoffset", makePattern`[+-]${f.time_hour}:${f.time_minute}`);
FRAGMENT("time_offset", makePattern`z|${f.time_numoffset}`);

@@ -147,3 +147,3 @@ FRAGMENT(

"full_date",
makePattern`${f.time_hour}-${f.date_month}-${f.date_mday}`
makePattern`${f.date_fullyear}-${f.date_month}-${f.date_mday}`
);

@@ -150,0 +150,0 @@ FRAGMENT("full_time", makePattern`${f.partial_time}${f.time_offset}`);

{
"name": "@toml-tools/lexer",
"version": "0.0.1",
"version": "0.1.0",
"description": "TOML Lexer Implemented in JavaScript",

@@ -17,3 +17,3 @@ "main": "lib/api.js",

},
"gitHead": "15b47fedf099fc1b0f6cacbce73048d476a47389"
"gitHead": "7f92498e805472213e9500b32fe5295534cecd31"
}
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