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

squaresplit

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

squaresplit - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js

@@ -52,5 +52,5 @@ export default function squaresplit(numBoxes, size = 10) {

}
console.log(squares)
const fill = squares.reduce((acc, square) => acc + square.w * square.h, 0) / (size * size);
console.log(fill)
return {

@@ -57,0 +57,0 @@ squares,

{
"name": "squaresplit",
"version": "1.0.1",
"version": "1.0.2",
"description": "A tiny library for spitting a square into smaller squares",

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