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

@types/split2

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/split2 - npm Package Compare versions

Comparing version 3.2.1 to 4.2.0

4

split2/index.d.ts

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

// Type definitions for split2 3.2
// Type definitions for split2 4.2
// Project: https://github.com/mcollina/split2

@@ -24,5 +24,5 @@ // Definitions by: TANAKA Koichi <https://github.com/mugeso>

}
type Matcher = string | RegExp;
type Matcher = string | RegExp | { [Symbol.split](string: string, limit?: number): string[]; };
}
export = split;
{
"name": "@types/split2",
"version": "3.2.1",
"version": "4.2.0",
"description": "TypeScript definitions for split2",

@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split2",

},
"typesPublisherContentHash": "b09a25174c3b0c6b9d006601ae94f9c261c10acd475d36ef0e06c8017bd91c6a",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "143efeab63c4715c58b032a5b7f0c28221eea6f4f9dade60348f9bbe5c1628f1",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

````ts
// Type definitions for split2 3.2
// Type definitions for split2 4.2
// Project: https://github.com/mcollina/split2

@@ -35,3 +35,3 @@ // Definitions by: TANAKA Koichi <https://github.com/mugeso>

}
type Matcher = string | RegExp;
type Matcher = string | RegExp | { [Symbol.split](string: string, limit?: number): string[]; };
}

@@ -44,3 +44,3 @@

### Additional Details
* Last updated: Tue, 06 Jul 2021 16:35:11 GMT
* Last updated: Tue, 18 Apr 2023 23:02:45 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

@@ -47,0 +47,0 @@ * Global values: none

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