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.4 to 3.0.5

.eslintrc.json

3

index.js

@@ -19,3 +19,4 @@ const { gzip, gunzip } = require('zlib')

module.exports = {
compress, decompress
compress,
decompress,
}

@@ -0,1 +1,2 @@

// eslint-disable-next-line node/no-unpublished-require
const test = require('tape-async')

@@ -2,0 +3,0 @@ const { compress, decompress } = require('.')

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

@@ -19,3 +19,3 @@ "email": "zac@zacanger.com",

"test": "npm run test:lint && npm run test:tape",
"test:lint": "standard",
"test:lint": "eslint -c .eslintrc.json *.js",
"test:tape": "node index.test.js"

@@ -38,4 +38,8 @@ },

"devDependencies": {
"sortpack": "2.1.1",
"standard": "14.3.1",
"eslint": "6.8.0",
"eslint-plugin-zacanger": "1.1.3",
"husky": "4.2.3",
"lint-staged": "10.0.8",
"prettier": "2.0.1",
"sortpack": "2.1.2",
"tape-async": "2.3.0"

@@ -45,3 +49,16 @@ },

"node": ">=10.0.0"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"package.json": [
"sortpack"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}
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