Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shelf/fast-chunk-string

Package Overview
Dependencies
Maintainers
34
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shelf/fast-chunk-string - npm Package Compare versions

Comparing version 1.2.0 to 2.0.0

.husky/_/husky.sh

2

lib/index.d.ts

@@ -1,4 +0,4 @@

export default function fastChunkString(str: string, { size, unicodeAware }: {
export default function fastChunkString(str: string, { size, unicodeAware, }: {
size: number;
unicodeAware?: boolean;
}): string[];
{
"name": "@shelf/fast-chunk-string",
"version": "1.2.0",
"version": "2.0.0",
"description": "Chunk string into equal substrings with unicode support",

@@ -21,7 +21,7 @@ "keywords": [

},
"main": "lib",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"main": "lib",
"types": "lib/index.d.ts",
"scripts": {

@@ -39,8 +39,2 @@ "benchmark": "babel benchmark.ts | node",

},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"post-commit": "git update-index --again"
}
},
"lint-staged": {

@@ -56,2 +50,5 @@ "*.{html,json,md,yml}": [

},
"babel": {
"extends": "@shelf/babel-config/backend"
},
"jest": {

@@ -65,22 +62,22 @@ "testEnvironment": "node"

"devDependencies": {
"@babel/cli": "7.10.5",
"@babel/core": "7.11.1",
"@babel/preset-env": "7.11.0",
"@babel/preset-typescript": "7.10.4",
"@shelf/eslint-config": "0.19.0",
"@types/benchmark": "1.0.33",
"@types/jest": "26.0.9",
"@types/node": "12.12.28",
"@babel/cli": "7.15.7",
"@babel/core": "7.15.8",
"@shelf/babel-config": "0.1.4",
"@shelf/eslint-config": "2.0.0",
"@shelf/tsconfig": "0.0.6",
"@types/benchmark": "2.1.1",
"@types/jest": "27.0.2",
"@types/node": "14",
"@types/runes": "0.4.1",
"benchmark": "2.1.4",
"eslint": "6.8.0",
"eslint": "7.32.0",
"fast-lorem-ipsum": "1.2.0",
"husky": "4.2.5",
"jest": "26.2.2",
"lint-staged": "10.2.11",
"prettier": "1.19.1",
"typescript": "3.9.7"
"husky": "7.0.2",
"jest": "27.2.5",
"lint-staged": "11.2.1",
"prettier": "2.4.1",
"typescript": "4.4.3"
},
"engines": {
"node": ">=12"
"node": ">=14"
},

@@ -87,0 +84,0 @@ "publishConfig": {

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