@cdk8s/awscdk-resolver 0.0.32 → 0.0.34

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.
Files changed (122) hide show
  1. package/.gitattributes +0 -1
  2. package/.jsii +2 -2
  3. package/lib/resolve.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +36 -36
  6. package/node_modules/@aws-sdk/client-sso/README.md +1 -1
  7. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  8. package/node_modules/@aws-sdk/client-sts/README.md +1 -1
  9. package/node_modules/@aws-sdk/client-sts/package.json +35 -35
  10. package/node_modules/@aws-sdk/core/CHANGELOG.md +8 -0
  11. package/node_modules/@aws-sdk/core/package.json +2 -2
  12. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  13. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  14. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  15. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  16. package/node_modules/@aws-sdk/credential-provider-ini/package.json +7 -7
  17. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  18. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  19. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  20. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  21. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  22. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  23. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  24. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +4 -4
  25. package/node_modules/@aws-sdk/middleware-signing/package.json +5 -5
  26. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  27. package/node_modules/@aws-sdk/region-config-resolver/package.json +4 -4
  28. package/node_modules/@aws-sdk/token-providers/package.json +31 -31
  29. package/node_modules/@aws-sdk/types/package.json +2 -2
  30. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  31. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  32. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  33. package/node_modules/@smithy/abort-controller/package.json +2 -2
  34. package/node_modules/@smithy/config-resolver/package.json +4 -4
  35. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  36. package/node_modules/@smithy/eventstream-codec/package.json +3 -3
  37. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  38. package/node_modules/@smithy/hash-node/package.json +2 -2
  39. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  40. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  41. package/node_modules/@smithy/middleware-endpoint/dist-cjs/endpointMiddleware.js +13 -1
  42. package/node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js +12 -0
  43. package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
  44. package/node_modules/@smithy/middleware-retry/package.json +8 -8
  45. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  46. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  47. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  48. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  49. package/node_modules/@smithy/property-provider/package.json +2 -2
  50. package/node_modules/@smithy/protocol-http/package.json +2 -2
  51. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  52. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  53. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  54. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  55. package/node_modules/@smithy/signature-v4/package.json +5 -5
  56. package/node_modules/@smithy/smithy-client/package.json +4 -4
  57. package/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js +8 -0
  58. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js +2 -0
  59. package/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js +2 -0
  60. package/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js +2 -0
  61. package/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js +2 -0
  62. package/node_modules/@smithy/types/dist-cjs/auth/index.js +9 -0
  63. package/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js +2 -0
  64. package/node_modules/@smithy/types/dist-cjs/identity/index.js +2 -0
  65. package/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js +2 -0
  66. package/node_modules/@smithy/types/dist-es/auth/HttpApiKeyAuth.js +5 -0
  67. package/node_modules/@smithy/types/dist-es/auth/HttpAuthScheme.js +1 -0
  68. package/node_modules/@smithy/types/dist-es/auth/HttpAuthSchemeProvider.js +1 -0
  69. package/node_modules/@smithy/types/dist-es/auth/HttpSigner.js +1 -0
  70. package/node_modules/@smithy/types/dist-es/auth/IdentityProviderConfig.js +1 -0
  71. package/node_modules/@smithy/types/dist-es/auth/index.js +6 -0
  72. package/node_modules/@smithy/types/dist-es/identity/apiKeyIdentity.js +1 -0
  73. package/node_modules/@smithy/types/dist-es/identity/index.js +2 -0
  74. package/node_modules/@smithy/types/dist-es/identity/tokenIdentity.js +1 -0
  75. package/node_modules/@smithy/types/dist-types/auth/HttpApiKeyAuth.d.ts +7 -0
  76. package/node_modules/@smithy/types/dist-types/auth/HttpAuthScheme.d.ts +49 -0
  77. package/node_modules/@smithy/types/dist-types/auth/HttpAuthSchemeProvider.d.ts +20 -0
  78. package/node_modules/@smithy/types/dist-types/auth/HttpSigner.d.ts +16 -0
  79. package/node_modules/@smithy/types/dist-types/auth/IdentityProviderConfig.d.ts +14 -0
  80. package/node_modules/@smithy/types/dist-types/{auth.d.ts → auth/auth.d.ts} +2 -0
  81. package/node_modules/@smithy/types/dist-types/auth/index.d.ts +6 -0
  82. package/node_modules/@smithy/types/dist-types/endpoint.d.ts +1 -1
  83. package/node_modules/@smithy/types/dist-types/identity/apiKeyIdentity.d.ts +14 -0
  84. package/node_modules/@smithy/types/dist-types/identity/index.d.ts +2 -0
  85. package/node_modules/@smithy/types/dist-types/identity/tokenIdentity.d.ts +14 -0
  86. package/node_modules/@smithy/types/dist-types/middleware.d.ts +1 -1
  87. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpApiKeyAuth.d.ts +7 -0
  88. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthScheme.d.ts +49 -0
  89. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpAuthSchemeProvider.d.ts +20 -0
  90. package/node_modules/@smithy/types/dist-types/ts3.4/auth/HttpSigner.d.ts +16 -0
  91. package/node_modules/@smithy/types/dist-types/ts3.4/auth/IdentityProviderConfig.d.ts +14 -0
  92. package/node_modules/@smithy/types/dist-types/ts3.4/{auth.d.ts → auth/auth.d.ts} +2 -0
  93. package/node_modules/@smithy/types/dist-types/ts3.4/auth/index.d.ts +6 -0
  94. package/node_modules/@smithy/types/dist-types/ts3.4/endpoint.d.ts +1 -1
  95. package/node_modules/@smithy/types/dist-types/ts3.4/identity/apiKeyIdentity.d.ts +14 -0
  96. package/node_modules/@smithy/types/dist-types/ts3.4/identity/index.d.ts +2 -0
  97. package/node_modules/@smithy/types/dist-types/ts3.4/identity/tokenIdentity.d.ts +14 -0
  98. package/node_modules/@smithy/types/dist-types/ts3.4/middleware.d.ts +1 -1
  99. package/node_modules/@smithy/types/package.json +1 -1
  100. package/node_modules/@smithy/url-parser/package.json +3 -3
  101. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  102. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  103. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  104. package/node_modules/@smithy/util-middleware/package.json +2 -2
  105. package/node_modules/@smithy/util-retry/package.json +3 -3
  106. package/node_modules/@smithy/util-stream/package.json +5 -5
  107. package/node_modules/@smithy/util-waiter/package.json +3 -3
  108. package/package.json +9 -10
  109. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js +0 -9
  110. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js +0 -47
  111. package/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js +0 -11
  112. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js +0 -4
  113. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js +0 -42
  114. package/node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js +0 -6
  115. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/index.d.ts +0 -2
  116. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/pureJs.d.ts +0 -17
  117. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/index.d.ts +0 -2
  118. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/pureJs.d.ts +0 -2
  119. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/ts3.4/whatwgEncodingApi.d.ts +0 -2
  120. package/node_modules/@aws-sdk/util-utf8-browser/dist-types/whatwgEncodingApi.d.ts +0 -2
  121. /package/node_modules/@smithy/types/dist-cjs/{auth.js → auth/auth.js} +0 -0
  122. /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.5",
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.4.0",
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.5",
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.5",
31
- "@smithy/types": "^2.4.0",
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.19",
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.5",
28
- "@smithy/node-http-handler": "^2.1.8",
29
- "@smithy/types": "^2.4.0",
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.8",
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.12",
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.12",
7
- "@smithy/types": "^2.4.0",
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,31 +42,30 @@
42
42
  "organization": false
43
43
  },
44
44
  "devDependencies": {
45
- "@cdk8s/projen-common": "0.0.464",
45
+ "@cdk8s/projen-common": "0.0.467",
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.106.1",
52
- "aws-cdk-lib": "2.106.1",
53
- "cdk8s": "2.68.3",
54
- "cdk8s-cli": "^2.175.0",
51
+ "aws-cdk": "^2.110.0",
52
+ "aws-cdk-lib": "2.109.0",
53
+ "cdk8s": "2.68.4",
54
+ "cdk8s-cli": "^2.179.0",
55
55
  "constructs": "10.3.0",
56
56
  "eslint": "^8",
57
- "eslint-import-resolver-node": "^0.3.9",
58
57
  "eslint-import-resolver-typescript": "^3.6.1",
59
58
  "eslint-plugin-import": "^2.29.0",
60
59
  "fs-extra": "^11.1.1",
61
60
  "jest": "^27",
62
61
  "jest-junit": "^15",
63
62
  "jsii": "^5",
64
- "jsii-diff": "^1.91.0",
63
+ "jsii-diff": "^1.92.0",
65
64
  "jsii-docgen": "^9.2.2",
66
- "jsii-pacmak": "^1.91.0",
65
+ "jsii-pacmak": "^1.92.0",
67
66
  "jsii-rosetta": "^5",
68
67
  "npm-check-updates": "^16",
69
- "projen": "^0.73.39",
68
+ "projen": "^0.76.28",
70
69
  "standard-version": "^9",
71
70
  "ts-jest": "^27",
72
71
  "ts-node": "^10.9.1",
@@ -94,7 +93,7 @@
94
93
  "publishConfig": {
95
94
  "access": "public"
96
95
  },
97
- "version": "0.0.32",
96
+ "version": "0.0.34",
98
97
  "jest": {
99
98
  "testMatch": [
100
99
  "<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,6 +0,0 @@
1
- export function fromUtf8(input) {
2
- return new TextEncoder().encode(input);
3
- }
4
- export function toUtf8(input) {
5
- return new TextDecoder("utf-8").decode(input);
6
- }
@@ -1,2 +0,0 @@
1
- export declare const fromUtf8: (input: string) => Uint8Array;
2
- export declare const toUtf8: (input: Uint8Array) => string;
@@ -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;
@@ -1,2 +0,0 @@
1
- export declare const fromUtf8: (input: string) => Uint8Array;
2
- export declare const toUtf8: (input: Uint8Array) => string;
@@ -1,2 +0,0 @@
1
- export declare const fromUtf8: (input: string) => Uint8Array;
2
- export declare const toUtf8: (input: Uint8Array) => string;
@@ -1,2 +0,0 @@
1
- export declare function fromUtf8(input: string): Uint8Array;
2
- export declare function toUtf8(input: Uint8Array): string;
@@ -1,2 +0,0 @@
1
- export declare function fromUtf8(input: string): Uint8Array;
2
- export declare function toUtf8(input: Uint8Array): string;