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

ts-toolbelt

Package Overview
Dependencies
Maintainers
1
Versions
916
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-toolbelt - npm Package Compare versions

Comparing version 9.3.0 to 9.3.1-test.1612289204883

out/String/At.d.ts

6

out/String/_api.d.ts
/** @ignore */ /** */
export {};
export { At } from './At';
export { Join } from './Join';
export { Length } from './Length';
export { Replace } from './Replace';
export { Split } from './Split';

11

out/String/Split.d.ts

@@ -1,9 +0,8 @@

declare type _Split<S extends string, D extends string, T extends string[] = []> = S extends `${infer BS}${D}${infer AS}` ? _Split<AS, D, [...T, BS]> : [...T, S];
declare type _Split<S extends string, D extends string, T extends string[] = []> = S extends '' ? T : S extends `${infer BS}${D}${infer AS}` ? _Split<AS, D, [...T, BS]> : [...T, S];
/**
* Replace `R` with `W` in `S`
* @param S
* @param R
* @param W
* Split `S` by `D` into a [[List]]
* @param S to split up
* @param D to split at
*/
export declare type Split<S extends string, D extends string> = S extends '' ? [] : string extends S ? string[] : _Split<S, D>;
export declare type Split<S extends string, D extends string = ''> = _Split<S, D>;
export {};
{
"name": "ts-toolbelt",
"version": "9.3.0",
"version": "9.3.1-test.1612289204883",
"description": "TypeScript's largest utility library",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

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