@cdk8s/awscdk-resolver 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +36 -36
- package/node_modules/@aws-sdk/client-sso/README.md +1 -1
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/client-sts/README.md +1 -1
- package/node_modules/@aws-sdk/client-sts/package.json +35 -35
- package/node_modules/@aws-sdk/core/CHANGELOG.md +8 -0
- package/node_modules/@aws-sdk/core/package.json +2 -2
- package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-signing/package.json +5 -5
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
- package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
- package/node_modules/@aws-sdk/token-providers/package.json +31 -31
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
- package/node_modules/@smithy/abort-controller/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +4 -4
- package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
- package/node_modules/@smithy/eventstream-codec/package.json +3 -3
- package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
- package/node_modules/@smithy/hash-node/package.json +2 -2
- package/node_modules/@smithy/invalid-dependency/package.json +2 -2
- package/node_modules/@smithy/middleware-content-length/package.json +4 -4
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +13 -1
- package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +12 -0
- package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
- package/node_modules/@smithy/middleware-retry/package.json +8 -8
- package/node_modules/@smithy/middleware-serde/package.json +3 -3
- package/node_modules/@smithy/middleware-stack/package.json +2 -2
- package/node_modules/@smithy/node-config-provider/package.json +4 -4
- package/node_modules/@smithy/node-http-handler/package.json +5 -5
- package/node_modules/@smithy/property-provider/package.json +2 -2
- package/node_modules/@smithy/protocol-http/package.json +2 -2
- package/node_modules/@smithy/querystring-builder/package.json +2 -2
- package/node_modules/@smithy/querystring-parser/package.json +2 -2
- package/node_modules/@smithy/service-error-classification/package.json +2 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
- package/node_modules/@smithy/signature-v4/package.json +5 -5
- package/node_modules/@smithy/smithy-client/package.json +4 -4
- package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +8 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/auth/index.js +9 -0
- package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/identity/index.js +2 -0
- package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +2 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
- package/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
- package/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-es/identity/index.js +2 -0
- package/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/{auth.d.ts → auth/auth.d.ts} +2 -0
- package/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/identity/index.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/middleware.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +16 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/{auth.d.ts → auth/auth.d.ts} +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +1 -1
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +2 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
- package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +1 -1
- package/node_modules/@smithy/types/package.json +1 -1
- package/node_modules/@smithy/url-parser/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
- package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
- package/node_modules/@smithy/util-endpoints/package.json +3 -3
- package/node_modules/@smithy/util-middleware/package.json +2 -2
- package/node_modules/@smithy/util-retry/package.json +3 -3
- package/node_modules/@smithy/util-stream/package.json +5 -5
- package/node_modules/@smithy/util-waiter/package.json +3 -3
- package/package.json +6 -6
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
- package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
- package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
- package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
- /package/node_modules/@smithy/types/dist-cjs/{auth.js → auth/auth.js} +0 -0
- /package/node_modules/@smithy/types/dist-es/{auth.js → auth/auth.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-middleware",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.6",
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
},
|
27
27
|
"license": "Apache-2.0",
|
28
28
|
"dependencies": {
|
29
|
-
"@smithy/types": "^2.
|
29
|
+
"@smithy/types": "^2.5.0",
|
30
30
|
"tslib": "^2.5.0"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-retry",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.6",
|
4
4
|
"description": "Shared retry utilities to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,8 +27,8 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@smithy/service-error-classification": "^2.0.
|
31
|
-
"@smithy/types": "^2.
|
30
|
+
"@smithy/service-error-classification": "^2.0.6",
|
31
|
+
"@smithy/types": "^2.5.0",
|
32
32
|
"tslib": "^2.5.0"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-stream",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.20",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
|
@@ -24,9 +24,9 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/fetch-http-handler": "^2.2.
|
28
|
-
"@smithy/node-http-handler": "^2.1.
|
29
|
-
"@smithy/types": "^2.
|
27
|
+
"@smithy/fetch-http-handler": "^2.2.6",
|
28
|
+
"@smithy/node-http-handler": "^2.1.9",
|
29
|
+
"@smithy/types": "^2.5.0",
|
30
30
|
"@smithy/util-base64": "^2.0.1",
|
31
31
|
"@smithy/util-buffer-from": "^2.0.0",
|
32
32
|
"@smithy/util-hex-encoding": "^2.0.0",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"tslib": "^2.5.0"
|
35
35
|
},
|
36
36
|
"devDependencies": {
|
37
|
-
"@smithy/util-test": "^0.1.
|
37
|
+
"@smithy/util-test": "^0.1.9",
|
38
38
|
"@types/chai-as-promised": "^7.1.2",
|
39
39
|
"@types/node": "^14.14.31",
|
40
40
|
"chai": "^4.2.0",
|
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-waiter",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.13",
|
4
4
|
"description": "Shared utilities for client waiters for the AWS SDK",
|
5
5
|
"dependencies": {
|
6
|
-
"@smithy/abort-controller": "^2.0.
|
7
|
-
"@smithy/types": "^2.
|
6
|
+
"@smithy/abort-controller": "^2.0.13",
|
7
|
+
"@smithy/types": "^2.5.0",
|
8
8
|
"tslib": "^2.5.0"
|
9
9
|
},
|
10
10
|
"scripts": {
|
package/package.json
CHANGED
@@ -42,16 +42,16 @@
|
|
42
42
|
"organization": false
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@cdk8s/projen-common": "0.0.
|
45
|
+
"@cdk8s/projen-common": "0.0.466",
|
46
46
|
"@types/fs-extra": "^11.0.4",
|
47
47
|
"@types/jest": "^27",
|
48
48
|
"@types/node": "^16",
|
49
49
|
"@typescript-eslint/eslint-plugin": "^6",
|
50
50
|
"@typescript-eslint/parser": "^6",
|
51
|
-
"aws-cdk": "^2.
|
52
|
-
"aws-cdk-lib": "2.
|
53
|
-
"cdk8s": "2.68.
|
54
|
-
"cdk8s-cli": "^2.
|
51
|
+
"aws-cdk": "^2.109.0",
|
52
|
+
"aws-cdk-lib": "2.109.0",
|
53
|
+
"cdk8s": "2.68.4",
|
54
|
+
"cdk8s-cli": "^2.177.0",
|
55
55
|
"constructs": "10.3.0",
|
56
56
|
"eslint": "^8",
|
57
57
|
"eslint-import-resolver-node": "^0.3.9",
|
@@ -94,7 +94,7 @@
|
|
94
94
|
"publishConfig": {
|
95
95
|
"access": "public"
|
96
96
|
},
|
97
|
-
"version": "0.0.
|
97
|
+
"version": "0.0.33",
|
98
98
|
"jest": {
|
99
99
|
"testMatch": [
|
100
100
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
4
|
-
const pureJs_1 = require("./pureJs");
|
5
|
-
const whatwgEncodingApi_1 = require("./whatwgEncodingApi");
|
6
|
-
const fromUtf8 = (input) => typeof TextEncoder === "function" ? (0, whatwgEncodingApi_1.fromUtf8)(input) : (0, pureJs_1.fromUtf8)(input);
|
7
|
-
exports.fromUtf8 = fromUtf8;
|
8
|
-
const toUtf8 = (input) => typeof TextDecoder === "function" ? (0, whatwgEncodingApi_1.toUtf8)(input) : (0, pureJs_1.toUtf8)(input);
|
9
|
-
exports.toUtf8 = toUtf8;
|
@@ -1,47 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
4
|
-
const fromUtf8 = (input) => {
|
5
|
-
const bytes = [];
|
6
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
7
|
-
const value = input.charCodeAt(i);
|
8
|
-
if (value < 0x80) {
|
9
|
-
bytes.push(value);
|
10
|
-
}
|
11
|
-
else if (value < 0x800) {
|
12
|
-
bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);
|
13
|
-
}
|
14
|
-
else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {
|
15
|
-
const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);
|
16
|
-
bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);
|
17
|
-
}
|
18
|
-
else {
|
19
|
-
bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
return Uint8Array.from(bytes);
|
23
|
-
};
|
24
|
-
exports.fromUtf8 = fromUtf8;
|
25
|
-
const toUtf8 = (input) => {
|
26
|
-
let decoded = "";
|
27
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
28
|
-
const byte = input[i];
|
29
|
-
if (byte < 0x80) {
|
30
|
-
decoded += String.fromCharCode(byte);
|
31
|
-
}
|
32
|
-
else if (0b11000000 <= byte && byte < 0b11100000) {
|
33
|
-
const nextByte = input[++i];
|
34
|
-
decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));
|
35
|
-
}
|
36
|
-
else if (0b11110000 <= byte && byte < 0b101101101) {
|
37
|
-
const surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
38
|
-
const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");
|
39
|
-
decoded += decodeURIComponent(encoded);
|
40
|
-
}
|
41
|
-
else {
|
42
|
-
decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));
|
43
|
-
}
|
44
|
-
}
|
45
|
-
return decoded;
|
46
|
-
};
|
47
|
-
exports.toUtf8 = toUtf8;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
4
|
-
function fromUtf8(input) {
|
5
|
-
return new TextEncoder().encode(input);
|
6
|
-
}
|
7
|
-
exports.fromUtf8 = fromUtf8;
|
8
|
-
function toUtf8(input) {
|
9
|
-
return new TextDecoder("utf-8").decode(input);
|
10
|
-
}
|
11
|
-
exports.toUtf8 = toUtf8;
|
@@ -1,4 +0,0 @@
|
|
1
|
-
import { fromUtf8 as jsFromUtf8, toUtf8 as jsToUtf8 } from "./pureJs";
|
2
|
-
import { fromUtf8 as textEncoderFromUtf8, toUtf8 as textEncoderToUtf8 } from "./whatwgEncodingApi";
|
3
|
-
export const fromUtf8 = (input) => typeof TextEncoder === "function" ? textEncoderFromUtf8(input) : jsFromUtf8(input);
|
4
|
-
export const toUtf8 = (input) => typeof TextDecoder === "function" ? textEncoderToUtf8(input) : jsToUtf8(input);
|
@@ -1,42 +0,0 @@
|
|
1
|
-
export const fromUtf8 = (input) => {
|
2
|
-
const bytes = [];
|
3
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
4
|
-
const value = input.charCodeAt(i);
|
5
|
-
if (value < 0x80) {
|
6
|
-
bytes.push(value);
|
7
|
-
}
|
8
|
-
else if (value < 0x800) {
|
9
|
-
bytes.push((value >> 6) | 0b11000000, (value & 0b111111) | 0b10000000);
|
10
|
-
}
|
11
|
-
else if (i + 1 < input.length && (value & 0xfc00) === 0xd800 && (input.charCodeAt(i + 1) & 0xfc00) === 0xdc00) {
|
12
|
-
const surrogatePair = 0x10000 + ((value & 0b1111111111) << 10) + (input.charCodeAt(++i) & 0b1111111111);
|
13
|
-
bytes.push((surrogatePair >> 18) | 0b11110000, ((surrogatePair >> 12) & 0b111111) | 0b10000000, ((surrogatePair >> 6) & 0b111111) | 0b10000000, (surrogatePair & 0b111111) | 0b10000000);
|
14
|
-
}
|
15
|
-
else {
|
16
|
-
bytes.push((value >> 12) | 0b11100000, ((value >> 6) & 0b111111) | 0b10000000, (value & 0b111111) | 0b10000000);
|
17
|
-
}
|
18
|
-
}
|
19
|
-
return Uint8Array.from(bytes);
|
20
|
-
};
|
21
|
-
export const toUtf8 = (input) => {
|
22
|
-
let decoded = "";
|
23
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
24
|
-
const byte = input[i];
|
25
|
-
if (byte < 0x80) {
|
26
|
-
decoded += String.fromCharCode(byte);
|
27
|
-
}
|
28
|
-
else if (0b11000000 <= byte && byte < 0b11100000) {
|
29
|
-
const nextByte = input[++i];
|
30
|
-
decoded += String.fromCharCode(((byte & 0b11111) << 6) | (nextByte & 0b111111));
|
31
|
-
}
|
32
|
-
else if (0b11110000 <= byte && byte < 0b101101101) {
|
33
|
-
const surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
34
|
-
const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");
|
35
|
-
decoded += decodeURIComponent(encoded);
|
36
|
-
}
|
37
|
-
else {
|
38
|
-
decoded += String.fromCharCode(((byte & 0b1111) << 12) | ((input[++i] & 0b111111) << 6) | (input[++i] & 0b111111));
|
39
|
-
}
|
40
|
-
}
|
41
|
-
return decoded;
|
42
|
-
};
|
@@ -1,17 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Converts a JS string from its native UCS-2/UTF-16 representation into a
|
3
|
-
* Uint8Array of the bytes used to represent the equivalent characters in UTF-8.
|
4
|
-
*
|
5
|
-
* Cribbed from the `goog.crypt.stringToUtf8ByteArray` function in the Google
|
6
|
-
* Closure library, though updated to use typed arrays.
|
7
|
-
*/
|
8
|
-
export declare const fromUtf8: (input: string) => Uint8Array;
|
9
|
-
/**
|
10
|
-
* Converts a typed array of bytes containing UTF-8 data into a native JS
|
11
|
-
* string.
|
12
|
-
*
|
13
|
-
* Partly cribbed from the `goog.crypt.utf8ByteArrayToString` function in the
|
14
|
-
* Google Closure library, though updated to use typed arrays and to better
|
15
|
-
* handle astral plane code points.
|
16
|
-
*/
|
17
|
-
export declare const toUtf8: (input: Uint8Array) => string;
|
File without changes
|
File without changes
|