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

@symbo.ls/scratch

Package Overview
Dependencies
Maintainers
4
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/scratch - npm Package Compare versions

Comparing version 0.7.7 to 0.7.8

2

package.json

@@ -5,3 +5,3 @@ {

"author": "symbo.ls",
"version": "0.7.7",
"version": "0.7.8",
"files": [

@@ -8,0 +8,0 @@ "src"

@@ -153,3 +153,3 @@ 'use strict'

// if subsequence is not set but value is applied
if (absValue.length === 2) {
if (!sequence[absValue] && absValue.length === 2) {
if (CONFIG.verbose) console.warn(absValue, '- value is not found because `subSequence` is set to false')

@@ -183,8 +183,10 @@ absValue = absValue.slice(0, 1)

export const findHeadingLetter = (h1Matches, index) => numToLetterMap[h1Matches - index]
export const findHeadings = propertyNames => {
const { h1Matches, sequence } = propertyNames
return new Array(6).fill(null).map((_, i) => {
const findLetter = numToLetterMap[h1Matches - i]
const findLetter = findHeadingLetter(h1Matches, i)
return sequence[findLetter]
})
}
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