Socket
Socket
Sign inDemoInstall

@architect/parser

Package Overview
Dependencies
Maintainers
6
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@architect/parser - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

9

changelog.md

@@ -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 @@

8

package.json
{
"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

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