Socket
Socket
Sign inDemoInstall

@platform/util.string

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platform/util.string - npm Package Compare versions

Comparing version 0.5.29 to 0.5.30

4

lib/queryString/queryString.d.ts

@@ -11,7 +11,7 @@ import * as t from './types';

key: string;
value?: string | number | boolean | null | undefined;
value?: (string | number | boolean | null) | undefined;
entry: string;
}[];
add(key: string, value?: string | number | boolean | null | undefined): any;
add(key: string, value?: (string | number | boolean | null) | undefined): any;
toString(): string;
};

@@ -69,3 +69,3 @@ "use strict";

var entry = isNil ? key : key + "=" + encodeURIComponent(value || '');
builder.parts = tslib_1.__spreadArrays(builder.parts, [{ key: key, value: value, entry: entry }]);
builder.parts = tslib_1.__spreadArray(tslib_1.__spreadArray([], builder.parts), [{ key: key, value: value, entry: entry }]);
return builder;

@@ -72,0 +72,0 @@ },

@@ -18,3 +18,3 @@ "use strict";

if (res && match) {
list = tslib_1.__spreadArrays(list, [{ match: match, index: res.index + start }]);
list = tslib_1.__spreadArray(tslib_1.__spreadArray([], list), [{ match: match, index: res.index + start }]);
var substringAt = res.index + match.length;

@@ -21,0 +21,0 @@ text = text.substring(substringAt);

{
"name": "@platform/util.string",
"version": "0.5.29",
"version": "0.5.30",
"description": "String helpers.",

@@ -11,3 +11,3 @@ "main": "lib/index",

"lint": "ts lint",
"build": "ts build",
"build": "ts build --no-esm",
"prepare": "ts prepare"

@@ -22,4 +22,4 @@ },

"devDependencies": {
"@platform/test": "0.2.3",
"@platform/ts": "4.1.7",
"@platform/test": "0.2.4",
"@platform/ts": "4.1.8",
"@types/escape-string-regexp": "2.0.1"

@@ -26,0 +26,0 @@ },

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