nitropack-nightly 2.11.6-20250308-180539.ade85cc9 → 2.11.6-20250308-193817.a2b73af8
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/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.mjs +1 -1
- package/dist/presets/_unenv/node-compat/cloudflare.mjs +2 -3
- package/dist/presets/_unenv/workerd/crypto.d.mts +6 -0
- package/dist/presets/_unenv/workerd/crypto.mjs +6 -12
- package/package.json +2 -2
- package/dist/presets/_unenv/workerd/perf_hooks.d.mts +0 -15
- package/dist/presets/_unenv/workerd/perf_hooks.mjs +0 -76
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED
package/dist/meta/index.mjs
CHANGED
|
@@ -16,7 +16,6 @@ export const builtnNodeModules = [
|
|
|
16
16
|
"events",
|
|
17
17
|
// Missing exports: captureRejections, init
|
|
18
18
|
"net",
|
|
19
|
-
// Missing exports: Stream
|
|
20
19
|
"path",
|
|
21
20
|
"path/posix",
|
|
22
21
|
"path/win32",
|
|
@@ -36,10 +35,9 @@ export const builtnNodeModules = [
|
|
|
36
35
|
export const hybridNodeModules = [
|
|
37
36
|
"console",
|
|
38
37
|
"crypto",
|
|
39
|
-
// Missing exports: Cipher, Cipheriv, Decipher, Decipheriv, ECDH,
|
|
38
|
+
// Missing exports: Cipher, Cipheriv, Decipher, Decipheriv, ECDH, constants, createCipheriv, createDecipheriv, createECDH, getCipherInfo, hash, privateDecrypt, privateEncrypt, publicDecrypt, publicEncrypt
|
|
40
39
|
"module",
|
|
41
40
|
// Missing exports: Module, SourceMap, constants, enableCompileCache, findPackageJSON, findSourceMap, flushCompileCache, getCompileCacheDir, getSourceMapsSupport, globalPaths, register, runMain, setSourceMapsSupport, stripTypeScriptTypes, syncBuiltinESMExports
|
|
42
|
-
"perf_hooks",
|
|
43
41
|
"process",
|
|
44
42
|
// Missing exports: abort, allowedNodeEnvironmentFlags, arch, argv, argv0, assert, availableMemory, binding, chdir, config, constrainedMemory, cpuUsage, cwd, debugPort, dlopen, domain, emitWarning, execArgv, execPath, exitCode, features, finalization, getActiveResourcesInfo, getegid, geteuid, getgid, getgroups, getuid, hasUncaughtExceptionCaptureCallback, hrtime, initgroups, kill, loadEnvFile, memoryUsage, moduleLoadList, openStdin, pid, ppid, reallyExit, ref, release, report, resourceUsage, setSourceMapsEnabled, setUncaughtExceptionCaptureCallback, setegid, seteuid, setgid, setgroups, setuid, sourceMapsEnabled, stderr, stdin, stdout, title, umask, unref, uptime, version, versions
|
|
45
43
|
"util"
|
|
@@ -68,6 +66,7 @@ export const unsupportedNodeModules = [
|
|
|
68
66
|
"inspector",
|
|
69
67
|
"inspector/promises",
|
|
70
68
|
"os",
|
|
69
|
+
"perf_hooks",
|
|
71
70
|
"punycode",
|
|
72
71
|
"readline",
|
|
73
72
|
"readline/promises",
|
|
@@ -42,6 +42,12 @@ export const setFips: any;
|
|
|
42
42
|
export const subtle: any;
|
|
43
43
|
export const timingSafeEqual: any;
|
|
44
44
|
export const fips: any;
|
|
45
|
+
export const Sign: any;
|
|
46
|
+
export const Verify: any;
|
|
47
|
+
export const createSign: any;
|
|
48
|
+
export const createVerify: any;
|
|
49
|
+
export const sign: any;
|
|
50
|
+
export const verify: any;
|
|
45
51
|
export const getRandomValues: any;
|
|
46
52
|
export namespace webcrypto {
|
|
47
53
|
export let CryptoKey: any;
|
|
@@ -11,8 +11,6 @@ import {
|
|
|
11
11
|
createDecipher,
|
|
12
12
|
createDecipheriv,
|
|
13
13
|
createECDH,
|
|
14
|
-
createSign,
|
|
15
|
-
createVerify,
|
|
16
14
|
Decipher,
|
|
17
15
|
Decipheriv,
|
|
18
16
|
diffieHellman,
|
|
@@ -24,11 +22,7 @@ import {
|
|
|
24
22
|
pseudoRandomBytes,
|
|
25
23
|
publicDecrypt,
|
|
26
24
|
publicEncrypt,
|
|
27
|
-
Sign,
|
|
28
|
-
sign,
|
|
29
25
|
webcrypto as unenvCryptoWebcrypto,
|
|
30
|
-
Verify,
|
|
31
|
-
verify,
|
|
32
26
|
} from "unenv/node/crypto";
|
|
33
27
|
|
|
34
28
|
export {
|
|
@@ -37,14 +31,10 @@ export {
|
|
|
37
31
|
Decipher,
|
|
38
32
|
Decipheriv,
|
|
39
33
|
ECDH,
|
|
40
|
-
Sign,
|
|
41
|
-
Verify,
|
|
42
34
|
constants,
|
|
43
35
|
createCipheriv,
|
|
44
36
|
createDecipheriv,
|
|
45
37
|
createECDH,
|
|
46
|
-
createSign,
|
|
47
|
-
createVerify,
|
|
48
38
|
diffieHellman,
|
|
49
39
|
getCipherInfo,
|
|
50
40
|
hash,
|
|
@@ -52,8 +42,6 @@ export {
|
|
|
52
42
|
privateEncrypt,
|
|
53
43
|
publicDecrypt,
|
|
54
44
|
publicEncrypt,
|
|
55
|
-
sign,
|
|
56
|
-
verify,
|
|
57
45
|
} from "unenv/node/crypto";
|
|
58
46
|
|
|
59
47
|
export const {
|
|
@@ -101,6 +89,12 @@ export const {
|
|
|
101
89
|
subtle,
|
|
102
90
|
timingSafeEqual,
|
|
103
91
|
fips,
|
|
92
|
+
Sign,
|
|
93
|
+
Verify,
|
|
94
|
+
createSign,
|
|
95
|
+
createVerify,
|
|
96
|
+
sign,
|
|
97
|
+
verify,
|
|
104
98
|
} = workerdCrypto;
|
|
105
99
|
|
|
106
100
|
export const getRandomValues = workerdCrypto.getRandomValues.bind(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitropack-nightly",
|
|
3
|
-
"version": "2.11.6-20250308-
|
|
3
|
+
"version": "2.11.6-20250308-193817.a2b73af8",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"repository": "nitrojs/nitro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"ultrahtml": "^1.5.3",
|
|
165
165
|
"uncrypto": "^0.1.3",
|
|
166
166
|
"unctx": "^2.4.1",
|
|
167
|
-
"unenv": "2.0.0-rc.
|
|
167
|
+
"unenv": "^2.0.0-rc.13",
|
|
168
168
|
"unimport": "^4.1.2",
|
|
169
169
|
"unplugin-utils": "^0.2.4",
|
|
170
170
|
"unstorage": "^1.15.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export const performance: any;
|
|
2
|
-
declare namespace _default {
|
|
3
|
-
export { Performance };
|
|
4
|
-
export { PerformanceEntry };
|
|
5
|
-
export { PerformanceMark };
|
|
6
|
-
export { PerformanceMeasure };
|
|
7
|
-
export { PerformanceObserverEntryList };
|
|
8
|
-
export { PerformanceObserver };
|
|
9
|
-
export { PerformanceResourceTiming };
|
|
10
|
-
export { constants };
|
|
11
|
-
export { createHistogram };
|
|
12
|
-
export { monitorEventLoopDelay };
|
|
13
|
-
export { performance };
|
|
14
|
-
}
|
|
15
|
-
export default _default;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
// https://github.com/unjs/unenv/blob/main/src/runtime/node/perf_hooks.ts
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
constants,
|
|
5
|
-
createHistogram,
|
|
6
|
-
monitorEventLoopDelay,
|
|
7
|
-
Performance,
|
|
8
|
-
PerformanceEntry,
|
|
9
|
-
PerformanceMark,
|
|
10
|
-
PerformanceMeasure,
|
|
11
|
-
PerformanceObserver,
|
|
12
|
-
PerformanceObserverEntryList,
|
|
13
|
-
PerformanceResourceTiming,
|
|
14
|
-
performance as unenvPerformance,
|
|
15
|
-
} from "unenv/node/perf_hooks";
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
Performance,
|
|
19
|
-
PerformanceEntry,
|
|
20
|
-
PerformanceMark,
|
|
21
|
-
PerformanceMeasure,
|
|
22
|
-
PerformanceObserverEntryList,
|
|
23
|
-
PerformanceObserver,
|
|
24
|
-
PerformanceResourceTiming,
|
|
25
|
-
constants,
|
|
26
|
-
createHistogram,
|
|
27
|
-
monitorEventLoopDelay,
|
|
28
|
-
} from "unenv/node/perf_hooks";
|
|
29
|
-
|
|
30
|
-
const workerdGlobalPerformance = globalThis["perf" + "ormance"];
|
|
31
|
-
|
|
32
|
-
export const performance = /*@__PURE__*/ Object.assign(
|
|
33
|
-
workerdGlobalPerformance,
|
|
34
|
-
{
|
|
35
|
-
addEventListener: unenvPerformance.addEventListener.bind(unenvPerformance),
|
|
36
|
-
clearMarks: unenvPerformance.clearMarks.bind(unenvPerformance),
|
|
37
|
-
clearMeasures: unenvPerformance.clearMeasures.bind(unenvPerformance),
|
|
38
|
-
clearResourceTimings:
|
|
39
|
-
unenvPerformance.clearResourceTimings.bind(unenvPerformance),
|
|
40
|
-
dispatchEvent: unenvPerformance.dispatchEvent.bind(unenvPerformance),
|
|
41
|
-
eventLoopUtilization:
|
|
42
|
-
unenvPerformance.eventLoopUtilization.bind(unenvPerformance),
|
|
43
|
-
getEntries: unenvPerformance.getEntries.bind(unenvPerformance),
|
|
44
|
-
getEntriesByName: unenvPerformance.getEntriesByName.bind(unenvPerformance),
|
|
45
|
-
getEntriesByType: unenvPerformance.getEntriesByType.bind(unenvPerformance),
|
|
46
|
-
mark: unenvPerformance.mark.bind(unenvPerformance),
|
|
47
|
-
markResourceTiming:
|
|
48
|
-
unenvPerformance.markResourceTiming.bind(unenvPerformance),
|
|
49
|
-
measure: unenvPerformance.measure.bind(unenvPerformance),
|
|
50
|
-
nodeTiming: { ...unenvPerformance.nodeTiming },
|
|
51
|
-
onresourcetimingbufferfull:
|
|
52
|
-
typeof unenvPerformance.onresourcetimingbufferfull === "function"
|
|
53
|
-
? unenvPerformance.onresourcetimingbufferfull.bind(unenvPerformance)
|
|
54
|
-
: unenvPerformance.onresourcetimingbufferfull,
|
|
55
|
-
removeEventListener:
|
|
56
|
-
unenvPerformance.removeEventListener.bind(unenvPerformance),
|
|
57
|
-
setResourceTimingBufferSize:
|
|
58
|
-
unenvPerformance.setResourceTimingBufferSize.bind(unenvPerformance),
|
|
59
|
-
timerify: unenvPerformance.timerify.bind(unenvPerformance),
|
|
60
|
-
toJSON: unenvPerformance.toJSON.bind(unenvPerformance),
|
|
61
|
-
}
|
|
62
|
-
);
|
|
63
|
-
|
|
64
|
-
export default {
|
|
65
|
-
Performance,
|
|
66
|
-
PerformanceEntry,
|
|
67
|
-
PerformanceMark,
|
|
68
|
-
PerformanceMeasure,
|
|
69
|
-
PerformanceObserverEntryList,
|
|
70
|
-
PerformanceObserver,
|
|
71
|
-
PerformanceResourceTiming,
|
|
72
|
-
constants,
|
|
73
|
-
createHistogram,
|
|
74
|
-
monitorEventLoopDelay,
|
|
75
|
-
performance,
|
|
76
|
-
};
|