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

modular-scale

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modular-scale - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

6

index.js

@@ -23,4 +23,3 @@ const defaultBase = 16

function ModularScale (options) {
options = options || {}
function ModularScale (options={}) {
let base = options.base || defaultBase

@@ -73,4 +72,3 @@ let ratio = options.ratio || defaultRatio

function steps (v, r) {
v = v || 8
function steps (v=8, r) {
const s = []

@@ -77,0 +75,0 @@ const half = Math.floor(v * 0.5)

{
"name": "modular-scale",
"version": "5.1.1",
"version": "5.1.2",
"description": "Module for generating a modular scale.",

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