typescript 6.0.0-dev.20251003 → 6.0.0-dev.20251005
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/lib/_tsc.js +14 -1
- package/lib/lib.dom.d.ts +3 -3
- package/lib/lib.esnext.d.ts +1 -0
- package/lib/lib.esnext.typedarrays.d.ts +90 -0
- package/lib/lib.webworker.d.ts +3 -3
- package/lib/typescript.js +14 -1
- package/package.json +2 -2
package/lib/_tsc.js
CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
18
18
|
|
19
19
|
// src/compiler/corePublic.ts
|
20
20
|
var versionMajorMinor = "6.0";
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20251005`;
|
22
22
|
|
23
23
|
// src/compiler/core.ts
|
24
24
|
var emptyArray = [];
|
@@ -13478,6 +13478,12 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
|
|
13478
13478
|
"toSorted",
|
13479
13479
|
"toSpliced",
|
13480
13480
|
"with"
|
13481
|
+
],
|
13482
|
+
esnext: [
|
13483
|
+
"toBase64",
|
13484
|
+
"setFromBase64",
|
13485
|
+
"toHex",
|
13486
|
+
"setFromHex"
|
13481
13487
|
]
|
13482
13488
|
})),
|
13483
13489
|
Uint8ClampedArray: new Map(Object.entries({
|
@@ -13606,6 +13612,12 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
|
|
13606
13612
|
es2022: [
|
13607
13613
|
"cause"
|
13608
13614
|
]
|
13615
|
+
})),
|
13616
|
+
Uint8ArrayConstructor: new Map(Object.entries({
|
13617
|
+
esnext: [
|
13618
|
+
"fromBase64",
|
13619
|
+
"fromHex"
|
13620
|
+
]
|
13609
13621
|
}))
|
13610
13622
|
}))
|
13611
13623
|
);
|
@@ -36468,6 +36480,7 @@ var libEntries = [
|
|
36468
36480
|
["esnext.iterator", "lib.esnext.iterator.d.ts"],
|
36469
36481
|
["esnext.promise", "lib.esnext.promise.d.ts"],
|
36470
36482
|
["esnext.float16", "lib.esnext.float16.d.ts"],
|
36483
|
+
["esnext.typedarrays", "lib.esnext.typedarrays.d.ts"],
|
36471
36484
|
["esnext.error", "lib.esnext.error.d.ts"],
|
36472
36485
|
["esnext.sharedmemory", "lib.esnext.sharedmemory.d.ts"],
|
36473
36486
|
["decorators", "lib.decorators.d.ts"],
|
package/lib/lib.dom.d.ts
CHANGED
@@ -40755,10 +40755,10 @@ interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<
|
|
40755
40755
|
}
|
40756
40756
|
|
40757
40757
|
interface FileSystemDirectoryHandle {
|
40758
|
-
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string,
|
40759
|
-
entries(): FileSystemDirectoryHandleAsyncIterator<[string,
|
40758
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
40759
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
40760
40760
|
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
40761
|
-
values(): FileSystemDirectoryHandleAsyncIterator<
|
40761
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemDirectoryHandle | FileSystemFileHandle>;
|
40762
40762
|
}
|
40763
40763
|
|
40764
40764
|
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
package/lib/lib.esnext.d.ts
CHANGED
@@ -0,0 +1,90 @@
|
|
1
|
+
/*! *****************************************************************************
|
2
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
4
|
+
this file except in compliance with the License. You may obtain a copy of the
|
5
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
6
|
+
|
7
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
8
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
9
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
10
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
11
|
+
|
12
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
13
|
+
and limitations under the License.
|
14
|
+
***************************************************************************** */
|
15
|
+
|
16
|
+
|
17
|
+
interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
|
18
|
+
/**
|
19
|
+
* Converts the `Uint8Array` to a base64-encoded string.
|
20
|
+
* @param options If provided, sets the alphabet and padding behavior used.
|
21
|
+
* @returns A base64-encoded string.
|
22
|
+
*/
|
23
|
+
toBase64(
|
24
|
+
options?: {
|
25
|
+
alphabet?: "base64" | "base64url" | undefined;
|
26
|
+
omitPadding?: boolean | undefined;
|
27
|
+
},
|
28
|
+
): string;
|
29
|
+
|
30
|
+
/**
|
31
|
+
* Sets the `Uint8Array` from a base64-encoded string.
|
32
|
+
* @param string The base64-encoded string.
|
33
|
+
* @param options If provided, specifies the alphabet and handling of the last chunk.
|
34
|
+
* @returns An object containing the number of bytes read and written.
|
35
|
+
* @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
|
36
|
+
* chunk is inconsistent with the `lastChunkHandling` option.
|
37
|
+
*/
|
38
|
+
setFromBase64(
|
39
|
+
string: string,
|
40
|
+
options?: {
|
41
|
+
alphabet?: "base64" | "base64url" | undefined;
|
42
|
+
lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
|
43
|
+
},
|
44
|
+
): {
|
45
|
+
read: number;
|
46
|
+
written: number;
|
47
|
+
};
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Converts the `Uint8Array` to a base16-encoded string.
|
51
|
+
* @returns A base16-encoded string.
|
52
|
+
*/
|
53
|
+
toHex(): string;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Sets the `Uint8Array` from a base16-encoded string.
|
57
|
+
* @param string The base16-encoded string.
|
58
|
+
* @returns An object containing the number of bytes read and written.
|
59
|
+
*/
|
60
|
+
setFromHex(string: string): {
|
61
|
+
read: number;
|
62
|
+
written: number;
|
63
|
+
};
|
64
|
+
}
|
65
|
+
|
66
|
+
interface Uint8ArrayConstructor {
|
67
|
+
/**
|
68
|
+
* Creates a new `Uint8Array` from a base64-encoded string.
|
69
|
+
* @param string The base64-encoded string.
|
70
|
+
* @param options If provided, specifies the alphabet and handling of the last chunk.
|
71
|
+
* @returns A new `Uint8Array` instance.
|
72
|
+
* @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
|
73
|
+
* chunk is inconsistent with the `lastChunkHandling` option.
|
74
|
+
*/
|
75
|
+
fromBase64(
|
76
|
+
string: string,
|
77
|
+
options?: {
|
78
|
+
alphabet?: "base64" | "base64url" | undefined;
|
79
|
+
lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
|
80
|
+
},
|
81
|
+
): Uint8Array<ArrayBuffer>;
|
82
|
+
|
83
|
+
/**
|
84
|
+
* Creates a new `Uint8Array` from a base16-encoded string.
|
85
|
+
* @returns A new `Uint8Array` instance.
|
86
|
+
*/
|
87
|
+
fromHex(
|
88
|
+
string: string,
|
89
|
+
): Uint8Array<ArrayBuffer>;
|
90
|
+
}
|
package/lib/lib.webworker.d.ts
CHANGED
@@ -13752,10 +13752,10 @@ interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<
|
|
13752
13752
|
}
|
13753
13753
|
|
13754
13754
|
interface FileSystemDirectoryHandle {
|
13755
|
-
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string,
|
13756
|
-
entries(): FileSystemDirectoryHandleAsyncIterator<[string,
|
13755
|
+
[Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
13756
|
+
entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemDirectoryHandle | FileSystemFileHandle]>;
|
13757
13757
|
keys(): FileSystemDirectoryHandleAsyncIterator<string>;
|
13758
|
-
values(): FileSystemDirectoryHandleAsyncIterator<
|
13758
|
+
values(): FileSystemDirectoryHandleAsyncIterator<FileSystemDirectoryHandle | FileSystemFileHandle>;
|
13759
13759
|
}
|
13760
13760
|
|
13761
13761
|
interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
|
package/lib/typescript.js
CHANGED
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
2286
2286
|
|
2287
2287
|
// src/compiler/corePublic.ts
|
2288
2288
|
var versionMajorMinor = "6.0";
|
2289
|
-
var version = `${versionMajorMinor}.0-dev.
|
2289
|
+
var version = `${versionMajorMinor}.0-dev.20251005`;
|
2290
2290
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2291
2291
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2292
2292
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
@@ -17109,6 +17109,12 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
|
|
17109
17109
|
"toSorted",
|
17110
17110
|
"toSpliced",
|
17111
17111
|
"with"
|
17112
|
+
],
|
17113
|
+
esnext: [
|
17114
|
+
"toBase64",
|
17115
|
+
"setFromBase64",
|
17116
|
+
"toHex",
|
17117
|
+
"setFromHex"
|
17112
17118
|
]
|
17113
17119
|
})),
|
17114
17120
|
Uint8ClampedArray: new Map(Object.entries({
|
@@ -17237,6 +17243,12 @@ var getScriptTargetFeatures = /* @__PURE__ */ memoize(
|
|
17237
17243
|
es2022: [
|
17238
17244
|
"cause"
|
17239
17245
|
]
|
17246
|
+
})),
|
17247
|
+
Uint8ArrayConstructor: new Map(Object.entries({
|
17248
|
+
esnext: [
|
17249
|
+
"fromBase64",
|
17250
|
+
"fromHex"
|
17251
|
+
]
|
17240
17252
|
}))
|
17241
17253
|
}))
|
17242
17254
|
);
|
@@ -40724,6 +40736,7 @@ var libEntries = [
|
|
40724
40736
|
["esnext.iterator", "lib.esnext.iterator.d.ts"],
|
40725
40737
|
["esnext.promise", "lib.esnext.promise.d.ts"],
|
40726
40738
|
["esnext.float16", "lib.esnext.float16.d.ts"],
|
40739
|
+
["esnext.typedarrays", "lib.esnext.typedarrays.d.ts"],
|
40727
40740
|
["esnext.error", "lib.esnext.error.d.ts"],
|
40728
40741
|
["esnext.sharedmemory", "lib.esnext.sharedmemory.d.ts"],
|
40729
40742
|
["decorators", "lib.decorators.d.ts"],
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "typescript",
|
3
3
|
"author": "Microsoft Corp.",
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
5
|
-
"version": "6.0.0-dev.
|
5
|
+
"version": "6.0.0-dev.20251005",
|
6
6
|
"license": "Apache-2.0",
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
8
8
|
"keywords": [
|
@@ -115,5 +115,5 @@
|
|
115
115
|
"node": "20.1.0",
|
116
116
|
"npm": "8.19.4"
|
117
117
|
},
|
118
|
-
"gitHead": "
|
118
|
+
"gitHead": "d0d675a363bf25d435857766757d97b9ad508909"
|
119
119
|
}
|