Socket
Socket
Sign inDemoInstall

shrink-string

Package Overview
Dependencies
0
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.11 to 3.1.0

.github/SECURITY.md

2

index.test.js
const test = require('tape-async')
const { compress, decompress } = require('.')
const { compress, decompress } = require('./lib')

@@ -4,0 +4,0 @@ test('shrink', async (t) => {

{
"name": "shrink-string",
"description": "Tiny string compression module for Node.",
"version": "3.0.11",
"version": "3.1.0",
"author": {

@@ -15,7 +15,8 @@ "email": "zac@zacanger.com",

"license": "MIT",
"main": "index.js",
"main": "lib/index.js",
"scripts": {
"preversion": "sortpack && npm t",
"test": "npm run test:lint && npm run test:tape",
"test:lint": "standard",
"build": "tsc",
"prebuild": "sortpack prettier --write src/*.ts && npm t",
"preversion": "npm run build",
"test": "npm run test:tape",
"test:tape": "node index.test.js"

@@ -37,5 +38,7 @@ },

"devDependencies": {
"@types/node": "18.11.9",
"prettier": "2.7.1",
"sortpack": "2.2.3",
"standard": "17.0.0",
"tape-async": "2.3.0"
"tape-async": "2.3.0",
"typescript": "4.8.4"
},

@@ -42,0 +45,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc