@platform/util.string
Advanced tools
Comparing version 0.5.29 to 0.5.30
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15207
55
411