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
261
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.3.12 to 0.3.13

2

package.json

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

"author": "Symbols",
"version": "0.3.12",
"version": "0.3.13",
"files": [

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

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

export const generateSubSequence = ({ key, base, value, ratio, variable, state }) => {
export const generateSubSequence = ({ key, base, value, ratio, variable, state, index }) => {
const next = value * ratio

@@ -307,3 +307,3 @@ const smallscale = (next - value) / ratio

return setSequenceValue({ key: key + (k + 1), variable: newVar, value: v, scaling, state })
return setSequenceValue({ key: key + (k + 1), variable: newVar, value: v, scaling, state, index: index + (k + 1) / 10 })
})

@@ -324,3 +324,3 @@ }

if (subSequence) generateSubSequence({ key: letterKey, base, value, ratio, variable, state })
if (subSequence) generateSubSequence({ key: letterKey, base, value, ratio, variable, state, index: key })
}

@@ -327,0 +327,0 @@ return state

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