@architect/parser
Advanced tools
Comparing version 5.0.1 to 5.0.2
@@ -5,2 +5,11 @@ # Architect Parser changelog | ||
## [5.0.2] 2021-10-11 | ||
### Changed | ||
- Fix esoteric issue where a newline with nothing but trailing spaces following a map may blow up | ||
- Updated dependencies | ||
--- | ||
## [5.0.1] 2021-10-07 | ||
@@ -7,0 +16,0 @@ |
{ | ||
"name": "@architect/parser", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Architect Parser accepts plaintext, JSON, or YAML .arc manifests and returns a plain JavaScript Object", | ||
@@ -29,3 +29,3 @@ "main": "./src/index.js", | ||
"devDependencies": { | ||
"@architect/eslint-config": "~2.0.0", | ||
"@architect/eslint-config": "~2.0.1", | ||
"@rollup/plugin-commonjs": "~20.0.0", | ||
@@ -35,3 +35,3 @@ "@rollup/plugin-json": "^4.1.0", | ||
"cross-env": "~7.0.3", | ||
"eslint": "~7.32.0", | ||
"eslint": "~8.0.0", | ||
"js-yaml": "~4.1.0", | ||
@@ -42,3 +42,3 @@ "nyc": "^15.1.0", | ||
"tap-spec": "^5.0.0", | ||
"tape": "~5.3.0", | ||
"tape": "~5.3.1", | ||
"terser": "~5.9.0", | ||
@@ -45,0 +45,0 @@ "toml": "~3.0.0" |
@@ -33,3 +33,5 @@ const notEmpty = require('./_not-empty') | ||
// capture the map keys as vector types | ||
let isKey = line[0].type === 'space' && line[1].type === 'space' && line[2].type === 'string' | ||
let isKey = line[0]?.type === 'space' && | ||
line[1]?.type === 'space' && | ||
line[2]?.type === 'string' | ||
if (isKey) { | ||
@@ -36,0 +38,0 @@ let name = line[2].value |
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
189121
1169