Comparing version 1.0.9 to 1.0.10
export declare type BufferEncoding = "utf8" | "binary" | "base64" | "base64url" | "hex" | string; | ||
export declare class Convert { | ||
static ToString(buffer: BufferSource, enc?: BufferEncoding): string; | ||
static FromString(str: string, enc?: BufferEncoding): ArrayBuffer | SharedArrayBuffer; | ||
static FromString(str: string, enc?: BufferEncoding): ArrayBuffer; | ||
static ToBase64(buffer: BufferSource): string; | ||
static FromBase64(base64Text: string): ArrayBuffer | SharedArrayBuffer; | ||
static FromBase64Url(base64url: string): ArrayBuffer | SharedArrayBuffer; | ||
static FromBase64(base64Text: string): ArrayBuffer; | ||
static FromBase64Url(base64url: string): ArrayBuffer; | ||
static ToBase64Url(data: BufferSource): string; | ||
static FromUtf8String(text: string): ArrayBuffer | SharedArrayBuffer; | ||
static FromUtf8String(text: string): ArrayBuffer; | ||
static ToUtf8String(buffer: BufferSource): string; | ||
static FromBinary(text: string): ArrayBuffer | SharedArrayBuffer; | ||
static FromBinary(text: string): ArrayBuffer; | ||
static ToBinary(buffer: BufferSource): string; | ||
@@ -28,4 +28,4 @@ /** | ||
*/ | ||
static FromHex(hexString: string): ArrayBuffer | SharedArrayBuffer; | ||
static FromHex(hexString: string): ArrayBuffer; | ||
protected static Base64Padding(base64: string): string; | ||
} |
{ | ||
"name": "pvtsutils", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "pvtsutils is a set of common utility functions used in various Peculiar Ventures TypeScript based projects.", | ||
@@ -56,12 +56,12 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@types/mocha": "^5.2.7", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^12.12.18", | ||
"coveralls": "^3.0.9", | ||
"mocha": "^6.2.2", | ||
"nyc": "^14.1.1", | ||
"rimraf": "^3.0.0", | ||
"rollup": "^1.27.13", | ||
"mocha": "^7.1.0", | ||
"nyc": "^15.0.0", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.0.6", | ||
"rollup-plugin-typescript2": "^0.25.3", | ||
"ts-node": "^8.5.4", | ||
"typescript": "^3.7.3" | ||
"ts-node": "^8.6.2", | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -83,3 +83,12 @@ "nyc": { | ||
] | ||
}, | ||
"mocha": { | ||
"require": "ts-node/register", | ||
"extension": [ | ||
"ts" | ||
], | ||
"watch-files": [ | ||
"test/**/*.ts" | ||
] | ||
} | ||
} |
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
21604