New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

commonform-group-series

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

commonform-group-series - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

8

index.js

@@ -7,6 +7,6 @@ var predicate = require('commonform-predicate')

if (isChild(element)) {
// `element` is part of the previous series.
// `element` is part of the previous series.
if (index > 0 && isChild(content[index - 1])) {
groups[groups.length - 1].content.push(element)
// `element` starts a new series.
// `element` starts a new series.
} else {

@@ -19,6 +19,6 @@ groups.push({

} else {
// `element` is part of the previous paragraph.
// `element` is part of the previous paragraph.
if (index > 0 && !isChild(content[index - 1])) {
groups[groups.length - 1].content.push(element)
// `element` starts a new paragraph.
// `element` starts a new paragraph.
} else {

@@ -25,0 +25,0 @@ groups.push({

{
"name": "commonform-group-series",
"description": "group paragraphs and series of children within Common Forms",
"version": "2.0.0",
"version": "3.0.0",
"author": "Kyle E. Mitchell <kyle@kemitchell.com> (http://kemitchell.com)",

@@ -10,3 +10,3 @@ "files": [

"dependencies": {
"commonform-predicate": "^3.0.0"
"commonform-predicate": "^4.0.0"
},

@@ -16,3 +16,3 @@ "devDependencies": {

"replace-require-self": "^1.1.1",
"standard": "^12.0.1"
"standard": "^14.0.2"
},

@@ -19,0 +19,0 @@ "keywords": [

# commonform-group-series
group paragraphs and series o2.0f children within Common Forms
group paragraphs and series of children within Common Forms

@@ -12,6 +12,4 @@ ```javascript

var C = {
repository: 'api.commonform.org',
publisher: 'test',
project: 'test',
edition: '1e',
component: 'https://example.com/component',
version: '1.0.0',
substitutions: { terms: {}, headings: {} }

@@ -18,0 +16,0 @@ }

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