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

@begin/chunker

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@begin/chunker - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

4

index.js

@@ -19,5 +19,7 @@ const { readdir, readFile, writeFile } = require('fs/promises')

let count = Math.ceil(raw.length / maxSize)
let positions = String(count).length
let loop = new Array(count).fill(0)
loop.forEach((zero, i) => {
let name = `${guid}-${i}-${count}`
let num = String(i + 1).padStart(positions, '0')
let name = `${guid}-${num}-${count}`
let start = i * maxSize

@@ -24,0 +26,0 @@ let end = (i + 1) * maxSize

{
"name": "@begin/chunker",
"version": "1.1.1",
"version": "1.1.2",
"description": "Chunk binary files into smaller pieces",

@@ -5,0 +5,0 @@ "scripts": {

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