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

@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 1.0.4 to 1.0.5

2

_get-sections.js

@@ -11,3 +11,3 @@ module.exports = function getSections(text) {

// splits text into array of arrays
var sections = text.split('@').filter(Boolean).map(c=> c.split('\n').filter(Boolean).map(s=>s.trimRight()))
var sections = text.split('@').filter(Boolean).map(c=> c.split(/\r?\n/).filter(Boolean).map(s=>s.trimRight()))

@@ -14,0 +14,0 @@ // validates sections

{
"name": "@architect/parser",
"version": "1.0.4",
"version": "1.0.5",
"description": "function that accepts .arc text and returns a plain JavaScript Object",

@@ -5,0 +5,0 @@ "main": "index.js",

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