nitropack-nightly 2.11.9-20250407-173327.5e727628 → 2.11.9-20250410-101524.b263a214

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.
@@ -1,4 +1,4 @@
1
- const version = "2.11.9-20250407-173327.5e727628";
1
+ const version = "2.11.9-20250410-101524.b263a214";
2
2
 
3
3
  const compatibilityChanges = [
4
4
  {
@@ -4,6 +4,7 @@ export const builtnNodeModules = [
4
4
  "_stream_readable",
5
5
  "_stream_transform",
6
6
  "_stream_writable",
7
+ "_tls_common",
7
8
  "_tls_wrap",
8
9
  // Missing exports: Server, createServer
9
10
  "assert",
@@ -23,7 +24,6 @@ export const builtnNodeModules = [
23
24
  "path/win32",
24
25
  "querystring",
25
26
  "stream",
26
- // Missing exports: duplexPair
27
27
  "stream/consumers",
28
28
  "stream/promises",
29
29
  "stream/web",
@@ -41,9 +41,9 @@ export const hybridNodeModules = [
41
41
  "module",
42
42
  // Missing exports: Module, SourceMap, constants, enableCompileCache, findPackageJSON, findSourceMap, flushCompileCache, getCompileCacheDir, getSourceMapsSupport, globalPaths, register, runMain, setSourceMapsSupport, stripTypeScriptTypes, syncBuiltinESMExports
43
43
  "process",
44
- // 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
44
+ // Missing exports: abort, allowedNodeEnvironmentFlags, arch, argv, argv0, assert, availableMemory, binding, chdir, config, constrainedMemory, cpuUsage, cwd, debugPort, dlopen, domain, emitWarning, execArgv, execPath, exitCode, 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
45
  "tls",
46
- // Missing exports: CLIENT_RENEG_LIMIT, CLIENT_RENEG_WINDOW, DEFAULT_CIPHERS, DEFAULT_ECDH_CURVE, DEFAULT_MAX_VERSION, DEFAULT_MIN_VERSION, SecureContext, Server, checkServerIdentity, convertALPNProtocols, createSecureContext, createSecurePair, createServer, getCiphers, rootCertificates
46
+ // Missing exports: CLIENT_RENEG_LIMIT, CLIENT_RENEG_WINDOW, DEFAULT_CIPHERS, DEFAULT_ECDH_CURVE, DEFAULT_MAX_VERSION, DEFAULT_MIN_VERSION, Server, createSecurePair, createServer, getCiphers, rootCertificates
47
47
  "util"
48
48
  // Missing exports: isBoolean, isBuffer, isDate, isError, isFunction, isNull, isNullOrUndefined, isNumber, isObject, isPrimitive, isRegExp, isString, isSymbol, isUndefined
49
49
  ];
@@ -55,7 +55,6 @@ export const unsupportedNodeModules = [
55
55
  "_http_outgoing",
56
56
  "_http_server",
57
57
  "_stream_wrap",
58
- "_tls_common",
59
58
  "child_process",
60
59
  "cluster",
61
60
  "constants",
@@ -69,6 +69,8 @@ export const builtnNodeModules = [
69
69
  "readline/promises",
70
70
  "repl",
71
71
  // Missing exports: Recoverable, writer
72
+ "sqlite",
73
+ // Missing exports: StatementSync
72
74
  "stream",
73
75
  // Missing exports: duplexPair, promises
74
76
  "stream/consumers",
@@ -101,6 +103,5 @@ export const hybridNodeModules = [];
101
103
  export const unsupportedNodeModules = [
102
104
  "_http_client",
103
105
  "_http_incoming",
104
- "_stream_wrap",
105
- "sqlite"
106
+ "_stream_wrap"
106
107
  ];
@@ -20,6 +20,14 @@ for (const key of ["exit", "getBuiltinModule", "platform"]) {
20
20
  }
21
21
  }
22
22
 
23
+ if (workerdProcess.features) {
24
+ Object.defineProperty(mixedProcess, "features", {
25
+ get() {
26
+ return workerdProcess.features;
27
+ },
28
+ });
29
+ }
30
+
23
31
  export default mixedProcess;
24
32
 
25
33
  export const {
@@ -1,5 +1,9 @@
1
1
  export const TLSSocket: any;
2
2
  export const connect: any;
3
+ export const SecureContext: any;
4
+ export const checkServerIdentity: any;
5
+ export const convertALPNProtocols: any;
6
+ export const createSecureContext: any;
3
7
  declare namespace _default {
4
8
  export { TLSSocket };
5
9
  export { connect };
@@ -9,11 +9,7 @@ import {
9
9
  DEFAULT_ECDH_CURVE,
10
10
  DEFAULT_MAX_VERSION,
11
11
  DEFAULT_MIN_VERSION,
12
- SecureContext,
13
12
  Server,
14
- checkServerIdentity,
15
- convertALPNProtocols,
16
- createSecureContext,
17
13
  createSecurePair,
18
14
  createServer,
19
15
  getCiphers,
@@ -27,18 +23,21 @@ export {
27
23
  DEFAULT_ECDH_CURVE,
28
24
  DEFAULT_MAX_VERSION,
29
25
  DEFAULT_MIN_VERSION,
30
- SecureContext,
31
26
  Server,
32
- checkServerIdentity,
33
- convertALPNProtocols,
34
- createSecureContext,
35
27
  createSecurePair,
36
28
  createServer,
37
29
  getCiphers,
38
30
  rootCertificates,
39
31
  } from "unenv/node/tls";
40
32
 
41
- export const { TLSSocket, connect } = workerdTLS;
33
+ export const {
34
+ TLSSocket,
35
+ connect,
36
+ SecureContext,
37
+ checkServerIdentity,
38
+ convertALPNProtocols,
39
+ createSecureContext,
40
+ } = workerdTLS;
42
41
 
43
42
  export default {
44
43
  // native
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.11.9-20250407-173327.5e727628",
3
+ "version": "2.11.9-20250410-101524.b263a214",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",