@openclaw/google-meet 2026.7.1-beta.6 → 2026.7.2-beta.1
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/dist/{chrome-create-BhgM0jQO.js → chrome-create-DM1XJCOH.js} +87 -61
- package/dist/{cli-D364Yrym.js → cli-SodPSOFX.js} +47 -90
- package/dist/{config-DDYRr7-P.js → config-BeoHH_z5.js} +49 -13
- package/dist/{create-CkkaRlbI.js → create-CWcFI0ub.js} +2 -2
- package/dist/index.js +1235 -359
- package/dist/{oauth-75iPDzIn.js → oauth-DOfMKlGp.js} +3 -1
- package/node_modules/core-util-is/LICENSE +19 -0
- package/node_modules/core-util-is/README.md +3 -0
- package/node_modules/core-util-is/lib/util.js +107 -0
- package/node_modules/core-util-is/package.json +38 -0
- package/node_modules/immediate/LICENSE.txt +20 -0
- package/node_modules/immediate/README.md +93 -0
- package/node_modules/immediate/dist/immediate.js +75 -0
- package/node_modules/immediate/dist/immediate.min.js +1 -0
- package/node_modules/immediate/lib/browser.js +69 -0
- package/node_modules/immediate/lib/index.js +73 -0
- package/node_modules/immediate/package.json +42 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/jszip/.codeclimate.yml +16 -0
- package/node_modules/jszip/.editorconfig +8 -0
- package/node_modules/jszip/.eslintrc.js +43 -0
- package/node_modules/jszip/.github/workflows/pr.yaml +58 -0
- package/node_modules/jszip/.jekyll-metadata +0 -0
- package/node_modules/jszip/.travis.yml +17 -0
- package/node_modules/jszip/CHANGES.md +204 -0
- package/node_modules/jszip/LICENSE.markdown +651 -0
- package/node_modules/jszip/README.markdown +33 -0
- package/node_modules/jszip/deps.js +37 -0
- package/node_modules/jszip/dist/jszip.js +11577 -0
- package/node_modules/jszip/dist/jszip.min.js +13 -0
- package/node_modules/jszip/graph.svg +601 -0
- package/node_modules/jszip/index.d.ts +330 -0
- package/node_modules/jszip/lib/base64.js +106 -0
- package/node_modules/jszip/lib/compressedObject.js +74 -0
- package/node_modules/jszip/lib/compressions.js +14 -0
- package/node_modules/jszip/lib/crc32.js +77 -0
- package/node_modules/jszip/lib/defaults.js +11 -0
- package/node_modules/jszip/lib/external.js +18 -0
- package/node_modules/jszip/lib/flate.js +85 -0
- package/node_modules/jszip/lib/generate/ZipFileWorker.js +539 -0
- package/node_modules/jszip/lib/generate/index.js +57 -0
- package/node_modules/jszip/lib/index.js +55 -0
- package/node_modules/jszip/lib/license_header.js +11 -0
- package/node_modules/jszip/lib/load.js +88 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamInputAdapter.js +74 -0
- package/node_modules/jszip/lib/nodejs/NodejsStreamOutputAdapter.js +42 -0
- package/node_modules/jszip/lib/nodejsUtils.js +57 -0
- package/node_modules/jszip/lib/object.js +384 -0
- package/node_modules/jszip/lib/readable-stream-browser.js +10 -0
- package/node_modules/jszip/lib/reader/ArrayReader.js +57 -0
- package/node_modules/jszip/lib/reader/DataReader.js +116 -0
- package/node_modules/jszip/lib/reader/NodeBufferReader.js +19 -0
- package/node_modules/jszip/lib/reader/StringReader.js +38 -0
- package/node_modules/jszip/lib/reader/Uint8ArrayReader.js +22 -0
- package/node_modules/jszip/lib/reader/readerFor.js +28 -0
- package/node_modules/jszip/lib/signature.js +7 -0
- package/node_modules/jszip/lib/stream/ConvertWorker.js +26 -0
- package/node_modules/jszip/lib/stream/Crc32Probe.js +24 -0
- package/node_modules/jszip/lib/stream/DataLengthProbe.js +29 -0
- package/node_modules/jszip/lib/stream/DataWorker.js +116 -0
- package/node_modules/jszip/lib/stream/GenericWorker.js +263 -0
- package/node_modules/jszip/lib/stream/StreamHelper.js +214 -0
- package/node_modules/jszip/lib/support.js +38 -0
- package/node_modules/jszip/lib/utf8.js +275 -0
- package/node_modules/jszip/lib/utils.js +501 -0
- package/node_modules/jszip/lib/zipEntries.js +261 -0
- package/node_modules/jszip/lib/zipEntry.js +293 -0
- package/node_modules/jszip/lib/zipObject.js +133 -0
- package/node_modules/jszip/package.json +67 -0
- package/node_modules/jszip/sponsors.md +21 -0
- package/node_modules/jszip/tsconfig.json +101 -0
- package/node_modules/jszip/vendor/FileSaver.js +247 -0
- package/node_modules/lie/README.md +62 -0
- package/node_modules/lie/dist/lie.js +350 -0
- package/node_modules/lie/dist/lie.min.js +1 -0
- package/node_modules/lie/dist/lie.polyfill.js +358 -0
- package/node_modules/lie/dist/lie.polyfill.min.js +1 -0
- package/node_modules/lie/lib/browser.js +273 -0
- package/node_modules/lie/lib/index.js +298 -0
- package/node_modules/lie/license.md +7 -0
- package/node_modules/lie/lie.d.ts +244 -0
- package/node_modules/lie/package.json +69 -0
- package/node_modules/lie/polyfill.js +4 -0
- package/node_modules/pako/CHANGELOG.md +164 -0
- package/node_modules/pako/LICENSE +21 -0
- package/node_modules/pako/README.md +191 -0
- package/node_modules/pako/dist/pako.js +6818 -0
- package/node_modules/pako/dist/pako.min.js +1 -0
- package/node_modules/pako/dist/pako_deflate.js +3997 -0
- package/node_modules/pako/dist/pako_deflate.min.js +1 -0
- package/node_modules/pako/dist/pako_inflate.js +3300 -0
- package/node_modules/pako/dist/pako_inflate.min.js +1 -0
- package/node_modules/pako/index.js +14 -0
- package/node_modules/pako/lib/deflate.js +400 -0
- package/node_modules/pako/lib/inflate.js +423 -0
- package/node_modules/pako/lib/utils/common.js +105 -0
- package/node_modules/pako/lib/utils/strings.js +187 -0
- package/node_modules/pako/lib/zlib/README +59 -0
- package/node_modules/pako/lib/zlib/adler32.js +51 -0
- package/node_modules/pako/lib/zlib/constants.js +68 -0
- package/node_modules/pako/lib/zlib/crc32.js +59 -0
- package/node_modules/pako/lib/zlib/deflate.js +1874 -0
- package/node_modules/pako/lib/zlib/gzheader.js +58 -0
- package/node_modules/pako/lib/zlib/inffast.js +345 -0
- package/node_modules/pako/lib/zlib/inflate.js +1556 -0
- package/node_modules/pako/lib/zlib/inftrees.js +343 -0
- package/node_modules/pako/lib/zlib/messages.js +32 -0
- package/node_modules/pako/lib/zlib/trees.js +1222 -0
- package/node_modules/pako/lib/zlib/zstream.js +47 -0
- package/node_modules/pako/package.json +44 -0
- package/node_modules/parse-ms/index.d.ts +30 -0
- package/node_modules/parse-ms/index.js +45 -0
- package/node_modules/parse-ms/license +9 -0
- package/node_modules/parse-ms/package.json +47 -0
- package/node_modules/parse-ms/readme.md +46 -0
- package/node_modules/pretty-ms/index.d.ts +157 -0
- package/node_modules/pretty-ms/index.js +149 -0
- package/node_modules/pretty-ms/license +9 -0
- package/node_modules/pretty-ms/package.json +55 -0
- package/node_modules/pretty-ms/readme.md +179 -0
- package/node_modules/process-nextick-args/index.js +45 -0
- package/node_modules/process-nextick-args/license.md +19 -0
- package/node_modules/process-nextick-args/package.json +25 -0
- package/node_modules/process-nextick-args/readme.md +18 -0
- package/node_modules/readable-stream/.travis.yml +34 -0
- package/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/node_modules/readable-stream/LICENSE +47 -0
- package/node_modules/readable-stream/README.md +58 -0
- package/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/node_modules/readable-stream/duplex-browser.js +1 -0
- package/node_modules/readable-stream/duplex.js +1 -0
- package/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/node_modules/readable-stream/package.json +52 -0
- package/node_modules/readable-stream/passthrough.js +1 -0
- package/node_modules/readable-stream/readable-browser.js +7 -0
- package/node_modules/readable-stream/readable.js +19 -0
- package/node_modules/readable-stream/transform.js +1 -0
- package/node_modules/readable-stream/writable-browser.js +1 -0
- package/node_modules/readable-stream/writable.js +8 -0
- package/node_modules/safe-buffer/LICENSE +21 -0
- package/node_modules/safe-buffer/README.md +584 -0
- package/node_modules/safe-buffer/index.d.ts +187 -0
- package/node_modules/safe-buffer/index.js +62 -0
- package/node_modules/safe-buffer/package.json +37 -0
- package/node_modules/{commander/LICENSE → setimmediate/LICENSE.txt} +8 -10
- package/node_modules/setimmediate/package.json +30 -0
- package/node_modules/setimmediate/setImmediate.js +186 -0
- package/node_modules/string_decoder/.travis.yml +50 -0
- package/node_modules/string_decoder/LICENSE +48 -0
- package/node_modules/string_decoder/README.md +47 -0
- package/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/node_modules/string_decoder/package.json +31 -0
- package/node_modules/util-deprecate/History.md +16 -0
- package/node_modules/util-deprecate/LICENSE +24 -0
- package/node_modules/util-deprecate/README.md +53 -0
- package/node_modules/util-deprecate/browser.js +67 -0
- package/node_modules/util-deprecate/node.js +6 -0
- package/node_modules/util-deprecate/package.json +27 -0
- package/npm-shrinkwrap.json +127 -9
- package/openclaw.plugin.json +1 -1
- package/package.json +8 -6
- package/node_modules/commander/Readme.md +0 -1172
- package/node_modules/commander/index.js +0 -21
- package/node_modules/commander/lib/argument.js +0 -147
- package/node_modules/commander/lib/command.js +0 -2790
- package/node_modules/commander/lib/error.js +0 -36
- package/node_modules/commander/lib/help.js +0 -731
- package/node_modules/commander/lib/option.js +0 -377
- package/node_modules/commander/lib/suggestSimilar.js +0 -99
- package/node_modules/commander/package-support.json +0 -19
- package/node_modules/commander/package.json +0 -64
- package/node_modules/commander/typings/index.d.ts +0 -1113
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
// Type definitions for lie 3.2
|
|
2
|
+
// Project: https://github.com/calvinmetcalf/lie#readme
|
|
3
|
+
// Definitions by: Andre Wiggins <https://github.com/andrewiggins>
|
|
4
|
+
// TypeScript Version: 2.3
|
|
5
|
+
|
|
6
|
+
// These types are copied from TypeScript's built-in Promise types
|
|
7
|
+
// and extended with extra Lie utilities namely, finally.
|
|
8
|
+
|
|
9
|
+
export as namespace Promise;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Represents the completion of an asynchronous operation
|
|
13
|
+
*/
|
|
14
|
+
interface Promise<T> {
|
|
15
|
+
/**
|
|
16
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
17
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
18
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
19
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
20
|
+
*/
|
|
21
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
25
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
26
|
+
* @returns A Promise for the completion of the callback.
|
|
27
|
+
*/
|
|
28
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* When the promise is settled, whether fulfilled or rejected, execute the
|
|
32
|
+
* specified callback function. This provides a way for code that must be
|
|
33
|
+
* executed once the Promise has been dealt with to be run whether the promise
|
|
34
|
+
* was fulfilled successfully or rejected.
|
|
35
|
+
* @param onfinally Function called when the Promise is settled
|
|
36
|
+
* @returns A Promise whose finally handler is set to the specified function, onfinally.
|
|
37
|
+
*/
|
|
38
|
+
finally<TResult = never>(onfinally?: (() => TResult | PromiseLike<TResult>) | undefined | null): Promise<T | TResult>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
interface PromiseConstructor {
|
|
42
|
+
/**
|
|
43
|
+
* A reference to the prototype.
|
|
44
|
+
*/
|
|
45
|
+
readonly prototype: Promise<any>;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Creates a new Promise.
|
|
49
|
+
* @param executor A callback used to initialize the promise. This callback is passed two arguments:
|
|
50
|
+
* a resolve callback used resolve the promise with a value or the result of another promise,
|
|
51
|
+
* and a reject callback used to reject the promise with a provided reason or error.
|
|
52
|
+
*/
|
|
53
|
+
new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
57
|
+
* resolve, or rejected when any Promise is rejected.
|
|
58
|
+
* @param values An array of Promises.
|
|
59
|
+
* @returns A new Promise.
|
|
60
|
+
*/
|
|
61
|
+
all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
65
|
+
* resolve, or rejected when any Promise is rejected.
|
|
66
|
+
* @param values An array of Promises.
|
|
67
|
+
* @returns A new Promise.
|
|
68
|
+
*/
|
|
69
|
+
all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
73
|
+
* resolve, or rejected when any Promise is rejected.
|
|
74
|
+
* @param values An array of Promises.
|
|
75
|
+
* @returns A new Promise.
|
|
76
|
+
*/
|
|
77
|
+
all<T1, T2, T3, T4, T5, T6, T7, T8>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
81
|
+
* resolve, or rejected when any Promise is rejected.
|
|
82
|
+
* @param values An array of Promises.
|
|
83
|
+
* @returns A new Promise.
|
|
84
|
+
*/
|
|
85
|
+
all<T1, T2, T3, T4, T5, T6, T7>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<[T1, T2, T3, T4, T5, T6, T7]>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
89
|
+
* resolve, or rejected when any Promise is rejected.
|
|
90
|
+
* @param values An array of Promises.
|
|
91
|
+
* @returns A new Promise.
|
|
92
|
+
*/
|
|
93
|
+
all<T1, T2, T3, T4, T5, T6>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<[T1, T2, T3, T4, T5, T6]>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
97
|
+
* resolve, or rejected when any Promise is rejected.
|
|
98
|
+
* @param values An array of Promises.
|
|
99
|
+
* @returns A new Promise.
|
|
100
|
+
*/
|
|
101
|
+
all<T1, T2, T3, T4, T5>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>]): Promise<[T1, T2, T3, T4, T5]>;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
105
|
+
* resolve, or rejected when any Promise is rejected.
|
|
106
|
+
* @param values An array of Promises.
|
|
107
|
+
* @returns A new Promise.
|
|
108
|
+
*/
|
|
109
|
+
all<T1, T2, T3, T4>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>]): Promise<[T1, T2, T3, T4]>;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
113
|
+
* resolve, or rejected when any Promise is rejected.
|
|
114
|
+
* @param values An array of Promises.
|
|
115
|
+
* @returns A new Promise.
|
|
116
|
+
*/
|
|
117
|
+
all<T1, T2, T3>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<[T1, T2, T3]>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
121
|
+
* resolve, or rejected when any Promise is rejected.
|
|
122
|
+
* @param values An array of Promises.
|
|
123
|
+
* @returns A new Promise.
|
|
124
|
+
*/
|
|
125
|
+
all<T1, T2>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<[T1, T2]>;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Creates a Promise that is resolved with an array of results when all of the provided Promises
|
|
129
|
+
* resolve, or rejected when any Promise is rejected.
|
|
130
|
+
* @param values An array of Promises.
|
|
131
|
+
* @returns A new Promise.
|
|
132
|
+
*/
|
|
133
|
+
all<T>(values: (T | PromiseLike<T>)[]): Promise<T[]>;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
137
|
+
* or rejected.
|
|
138
|
+
* @param values An array of Promises.
|
|
139
|
+
* @returns A new Promise.
|
|
140
|
+
*/
|
|
141
|
+
race<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>, T10 | PromiseLike<T10>]): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9 | T10>;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
145
|
+
* or rejected.
|
|
146
|
+
* @param values An array of Promises.
|
|
147
|
+
* @returns A new Promise.
|
|
148
|
+
*/
|
|
149
|
+
race<T1, T2, T3, T4, T5, T6, T7, T8, T9>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>, T9 | PromiseLike<T9>]): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8 | T9>;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
153
|
+
* or rejected.
|
|
154
|
+
* @param values An array of Promises.
|
|
155
|
+
* @returns A new Promise.
|
|
156
|
+
*/
|
|
157
|
+
race<T1, T2, T3, T4, T5, T6, T7, T8>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>, T8 | PromiseLike<T8>]): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7 | T8>;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
161
|
+
* or rejected.
|
|
162
|
+
* @param values An array of Promises.
|
|
163
|
+
* @returns A new Promise.
|
|
164
|
+
*/
|
|
165
|
+
race<T1, T2, T3, T4, T5, T6, T7>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>, T7 | PromiseLike<T7>]): Promise<T1 | T2 | T3 | T4 | T5 | T6 | T7>;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
169
|
+
* or rejected.
|
|
170
|
+
* @param values An array of Promises.
|
|
171
|
+
* @returns A new Promise.
|
|
172
|
+
*/
|
|
173
|
+
race<T1, T2, T3, T4, T5, T6>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>, T6 | PromiseLike<T6>]): Promise<T1 | T2 | T3 | T4 | T5 | T6>;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
177
|
+
* or rejected.
|
|
178
|
+
* @param values An array of Promises.
|
|
179
|
+
* @returns A new Promise.
|
|
180
|
+
*/
|
|
181
|
+
race<T1, T2, T3, T4, T5>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>, T5 | PromiseLike<T5>]): Promise<T1 | T2 | T3 | T4 | T5>;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
185
|
+
* or rejected.
|
|
186
|
+
* @param values An array of Promises.
|
|
187
|
+
* @returns A new Promise.
|
|
188
|
+
*/
|
|
189
|
+
race<T1, T2, T3, T4>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>, T4 | PromiseLike<T4>]): Promise<T1 | T2 | T3 | T4>;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
193
|
+
* or rejected.
|
|
194
|
+
* @param values An array of Promises.
|
|
195
|
+
* @returns A new Promise.
|
|
196
|
+
*/
|
|
197
|
+
race<T1, T2, T3>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>, T3 | PromiseLike<T3>]): Promise<T1 | T2 | T3>;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
201
|
+
* or rejected.
|
|
202
|
+
* @param values An array of Promises.
|
|
203
|
+
* @returns A new Promise.
|
|
204
|
+
*/
|
|
205
|
+
race<T1, T2>(values: [T1 | PromiseLike<T1>, T2 | PromiseLike<T2>]): Promise<T1 | T2>;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Creates a Promise that is resolved or rejected when any of the provided Promises are resolved
|
|
209
|
+
* or rejected.
|
|
210
|
+
* @param values An array of Promises.
|
|
211
|
+
* @returns A new Promise.
|
|
212
|
+
*/
|
|
213
|
+
race<T>(values: (T | PromiseLike<T>)[]): Promise<T>;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Creates a new rejected promise for the provided reason.
|
|
217
|
+
* @param reason The reason the promise was rejected.
|
|
218
|
+
* @returns A new rejected Promise.
|
|
219
|
+
*/
|
|
220
|
+
reject(reason: any): Promise<never>;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Creates a new rejected promise for the provided reason.
|
|
224
|
+
* @param reason The reason the promise was rejected.
|
|
225
|
+
* @returns A new rejected Promise.
|
|
226
|
+
*/
|
|
227
|
+
reject<T>(reason: any): Promise<T>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Creates a new resolved promise for the provided value.
|
|
231
|
+
* @param value A promise.
|
|
232
|
+
* @returns A promise whose internal state matches the provided promise.
|
|
233
|
+
*/
|
|
234
|
+
resolve<T>(value: T | PromiseLike<T>): Promise<T>;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Creates a new resolved promise .
|
|
238
|
+
* @returns A resolved promise.
|
|
239
|
+
*/
|
|
240
|
+
resolve(): Promise<void>;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
declare const Promise: PromiseConstructor;
|
|
244
|
+
export default Promise;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lie",
|
|
3
|
+
"version": "3.3.0",
|
|
4
|
+
"description": "A basic but performant promise implementation",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/calvinmetcalf/lie.git"
|
|
9
|
+
},
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/calvinmetcalf/lie/issues"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"lie",
|
|
15
|
+
"promise",
|
|
16
|
+
"async",
|
|
17
|
+
"aplus"
|
|
18
|
+
],
|
|
19
|
+
"main": "lib/index.js",
|
|
20
|
+
"scripts": {
|
|
21
|
+
"pretest": "npm run build",
|
|
22
|
+
"test": "npm run jshint && mocha -R nyan ./test/cover.js && tsc --noEmit ./test/types.ts",
|
|
23
|
+
"build-node": "copyfiles -f src/index.js lib && browserify-transform-cli inline-process-browser unreachable-branch-transform es3ify < src/index.js > lib/browser.js",
|
|
24
|
+
"build-js": "browserify -s Promise -p bundle-collapser/plugin . | derequire > ./dist/lie.js",
|
|
25
|
+
"build-min": "uglifyjs ./dist/lie.js -mc > ./dist/lie.min.js",
|
|
26
|
+
"build-poly-js": "browserify -p bundle-collapser/plugin ./polyfill.js | derequire > ./dist/lie.polyfill.js",
|
|
27
|
+
"build-poly-min": "uglifyjs ./dist/lie.polyfill.js -mc > ./dist/lie.polyfill.min.js",
|
|
28
|
+
"build-poly": "npm run build-poly-js && npm run build-poly-min",
|
|
29
|
+
"build": "npm run build-node && npm run build-js && npm run build-min && npm run build-poly",
|
|
30
|
+
"prebuild": "rimraf lib dist && mkdirp lib dist",
|
|
31
|
+
"cover": "istanbul cover _mocha ./test/cover.js -- -R spec && istanbul check-coverage --lines 100 --function 100 --statements 100 --branches 100",
|
|
32
|
+
"jshint": "jshint src",
|
|
33
|
+
"node": "mocha -R spec ./test/cover.js",
|
|
34
|
+
"browser": "browserify test/cover.js > test/browser.js && mocha-phantomjs test/test.html"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"browserify": "^13.0.0",
|
|
38
|
+
"browserify-transform-cli": "^1.1.1",
|
|
39
|
+
"bundle-collapser": "^1.2.1",
|
|
40
|
+
"copyfiles": "^1.0.0",
|
|
41
|
+
"derequire": "^1.2.0",
|
|
42
|
+
"es3ify": "^0.2.2",
|
|
43
|
+
"inline-process-browser": "^1.0.0",
|
|
44
|
+
"istanbul": "^0.2.6",
|
|
45
|
+
"jshint": "^2.4.4",
|
|
46
|
+
"mkdirp": "^0.5.1",
|
|
47
|
+
"mocha": "^1.18.0",
|
|
48
|
+
"mocha-phantomjs": "~3.5.0",
|
|
49
|
+
"phantomjs": "^1.9.9",
|
|
50
|
+
"promises-aplus-tests": "calvinmetcalf/promises-tests#phantom",
|
|
51
|
+
"rimraf": "^2.5.4",
|
|
52
|
+
"typescript": "^2.7.1",
|
|
53
|
+
"uglify-js": "^2.4.13",
|
|
54
|
+
"unreachable-branch-transform": "^0.3.0"
|
|
55
|
+
},
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"immediate": "~3.0.5"
|
|
58
|
+
},
|
|
59
|
+
"browser": {
|
|
60
|
+
"./lib/index.js": "./lib/browser.js"
|
|
61
|
+
},
|
|
62
|
+
"files": [
|
|
63
|
+
"lib",
|
|
64
|
+
"dist",
|
|
65
|
+
"polyfill.js",
|
|
66
|
+
"lie.d.ts"
|
|
67
|
+
],
|
|
68
|
+
"types": "lie.d.ts"
|
|
69
|
+
}
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [1.0.11] - 2020-01-29
|
|
10
|
+
### Fixed
|
|
11
|
+
- Fix tests in node.js v12+, #179.
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.10] - 2019-02-28
|
|
15
|
+
### Fixed
|
|
16
|
+
- Fix minified version, #161.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## [1.0.9] - 2019-02-28
|
|
20
|
+
### Fixed
|
|
21
|
+
- Fix `new Buffer()` warning, #154.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [1.0.8] - 2019-01-14
|
|
25
|
+
### Fixed
|
|
26
|
+
- Fix raw inflate with dictionary, #155.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [1.0.7] - 2018-11-29
|
|
30
|
+
### Fixed
|
|
31
|
+
- Fixed RangeError in Crome 72, #150.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## [1.0.6] - 2017-09-14
|
|
35
|
+
### Changed
|
|
36
|
+
- Improve @std/esm compatibility.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## [1.0.5] - 2017-03-17
|
|
40
|
+
### Changed
|
|
41
|
+
- Maintenance. More formal `zlib` attribution and related
|
|
42
|
+
changes, #93. Thanks to @bastien-roucaries for the help.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## [1.0.4] - 2016-12-15
|
|
46
|
+
### Changed
|
|
47
|
+
- Bump dev dependencies.
|
|
48
|
+
|
|
49
|
+
### Fixed
|
|
50
|
+
- Make sure `err.message` is filled on throw.
|
|
51
|
+
|
|
52
|
+
### Added
|
|
53
|
+
- Code examples for utf-16 string encoding & object compression.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [1.0.3] - 2016-07-25
|
|
57
|
+
### Fixed
|
|
58
|
+
- Maintenance: re-release to properly display latest version in npm registry
|
|
59
|
+
and badges. Because `npm publish` timestamp used instead of versions.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## [1.0.2] - 2016-07-21
|
|
63
|
+
### Fixed
|
|
64
|
+
- Fixed nasty bug in deflate (wrong `d_buf` offset), which could cause
|
|
65
|
+
broken data in some rare cases.
|
|
66
|
+
- Also released as 0.2.9 to give chance to old dependents, not updated to 1.x
|
|
67
|
+
version.
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
## [1.0.1] - 2016-04-01
|
|
71
|
+
### Added
|
|
72
|
+
- Added dictionary support. Thanks to @dignifiedquire.
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## [1.0.0] - 2016-02-17
|
|
76
|
+
### Changed
|
|
77
|
+
- Maintenance release (semver, coding style).
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## [0.2.8] - 2015-09-14
|
|
81
|
+
### Fixed
|
|
82
|
+
- Fixed regression after 0.2.4 for edge conditions in inflate wrapper (#65).
|
|
83
|
+
Added more tests to cover possible cases.
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## [0.2.7] - 2015-06-09
|
|
87
|
+
### Added
|
|
88
|
+
- Added Z_SYNC_FLUSH support. Thanks to @TinoLange.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
## [0.2.6] - 2015-03-24
|
|
92
|
+
### Added
|
|
93
|
+
- Allow ArrayBuffer input.
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## [0.2.5] - 2014-07-19
|
|
97
|
+
### Fixed
|
|
98
|
+
- Workaround for Chrome 38.0.2096.0 script parser bug, #30.
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
## [0.2.4] - 2014-07-07
|
|
102
|
+
### Fixed
|
|
103
|
+
- Fixed bug in inflate wrapper, #29
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
## [0.2.3] - 2014-06-09
|
|
107
|
+
### Changed
|
|
108
|
+
- Maintenance release, dependencies update.
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
## [0.2.2] - 2014-06-04
|
|
112
|
+
### Fixed
|
|
113
|
+
- Fixed iOS 5.1 Safari issue with `apply(typed_array)`, #26.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
## [0.2.1] - 2014-05-01
|
|
117
|
+
### Fixed
|
|
118
|
+
- Fixed collision on switch dynamic/fixed tables.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
## [0.2.0] - 2014-04-18
|
|
122
|
+
### Added
|
|
123
|
+
- Added custom gzip headers support.
|
|
124
|
+
- Added strings support.
|
|
125
|
+
- More coverage tests.
|
|
126
|
+
|
|
127
|
+
### Fixed
|
|
128
|
+
- Improved memory allocations for small chunks.
|
|
129
|
+
- ZStream properties rename/cleanup.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
## [0.1.1] - 2014-03-20
|
|
133
|
+
### Fixed
|
|
134
|
+
- Bugfixes for inflate/deflate.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
## [0.1.0] - 2014-03-15
|
|
138
|
+
### Added
|
|
139
|
+
- First release.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
[1.0.10]: https://github.com/nodeca/pako/compare/1.0.10...1.0.11
|
|
143
|
+
[1.0.10]: https://github.com/nodeca/pako/compare/1.0.9...1.0.10
|
|
144
|
+
[1.0.9]: https://github.com/nodeca/pako/compare/1.0.8...1.0.9
|
|
145
|
+
[1.0.8]: https://github.com/nodeca/pako/compare/1.0.7...1.0.8
|
|
146
|
+
[1.0.7]: https://github.com/nodeca/pako/compare/1.0.6...1.0.7
|
|
147
|
+
[1.0.6]: https://github.com/nodeca/pako/compare/1.0.5...1.0.6
|
|
148
|
+
[1.0.5]: https://github.com/nodeca/pako/compare/1.0.4...1.0.5
|
|
149
|
+
[1.0.4]: https://github.com/nodeca/pako/compare/1.0.3...1.0.4
|
|
150
|
+
[1.0.3]: https://github.com/nodeca/pako/compare/1.0.2...1.0.3
|
|
151
|
+
[1.0.2]: https://github.com/nodeca/pako/compare/1.0.1...1.0.2
|
|
152
|
+
[1.0.1]: https://github.com/nodeca/pako/compare/1.0.0...1.0.1
|
|
153
|
+
[1.0.0]: https://github.com/nodeca/pako/compare/0.2.8...1.0.0
|
|
154
|
+
[0.2.8]: https://github.com/nodeca/pako/compare/0.2.7...0.2.8
|
|
155
|
+
[0.2.7]: https://github.com/nodeca/pako/compare/0.2.6...0.2.7
|
|
156
|
+
[0.2.6]: https://github.com/nodeca/pako/compare/0.2.5...0.2.6
|
|
157
|
+
[0.2.5]: https://github.com/nodeca/pako/compare/0.2.4...0.2.5
|
|
158
|
+
[0.2.4]: https://github.com/nodeca/pako/compare/0.2.3...0.2.4
|
|
159
|
+
[0.2.3]: https://github.com/nodeca/pako/compare/0.2.2...0.2.3
|
|
160
|
+
[0.2.2]: https://github.com/nodeca/pako/compare/0.2.1...0.2.2
|
|
161
|
+
[0.2.1]: https://github.com/nodeca/pako/compare/0.2.0...0.2.1
|
|
162
|
+
[0.2.0]: https://github.com/nodeca/pako/compare/0.1.1...0.2.0
|
|
163
|
+
[0.1.1]: https://github.com/nodeca/pako/compare/0.1.0...0.1.1
|
|
164
|
+
[0.1.0]: https://github.com/nodeca/pako/releases/tag/0.1.0
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
(The MIT License)
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2014-2017 by Vitaly Puzrin and Andrei Tuputcyn
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|