Skip to content

replace ms with ms-tiny#274

Open
ofershap wants to merge 1 commit intobreejs:masterfrom
ofershap:replace-ms-with-ms-tiny
Open

replace ms with ms-tiny#274
ofershap wants to merge 1 commit intobreejs:masterfrom
ofershap:replace-ms-with-ms-tiny

Conversation

@ofershap
Copy link

@ofershap ofershap commented Mar 14, 2026

ms has no TypeScript types and no ESM exports.

ms-tiny has the same API, ships ESM + CJS with built-in types. 833 bytes gzipped, zero deps.

ms-tiny throws on invalid input instead of returning undefined. Added try-catch where the code relied on the undefined return.

https://npmgraph.js.org/?q=ms-tiny

Made-with: Cursor
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedms-tiny@​1.1.0661009886100

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant