@toml-tools/lexer
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -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" | ||
} |
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
8153