Skip to content

Commit 1f6ff8b

Browse files
authored
chore(wrangler): update unenv dependency version (#7010)
* chore(wrangler): update unenv dependency version * fixup! update tests, update unenv
1 parent 8c7c3b5 commit 1f6ff8b

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

.changeset/few-coats-count.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
chore: update unenv dependency version

fixtures/pages-nodejs-v2-compat/tests/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ describe("Pages with Node.js compat v2", () => {
1515
const response = await fetch(`http://${ip}:${port}/`);
1616
const body = await response.text();
1717
expect(body).toMatchInlineSnapshot(
18-
`"_worker.js file, process: _debugEnd,_debugProcess,_eventsCount,_fatalException,_getActiveHandles,_getActiveRequests,_kill,_preload_modules,_rawDebug,_startProfilerIdleNotifier,_stopProfilerIdleNotifier,_tickCallback,abort,addListener,allowedNodeEnvironmentFlags,arch,argv,argv0,assert,availableMemory,binding,chdir,config,constrainedMemory,cpuUsage,cwd,debugPort,dlopen,emit,emitWarning,env,eventNames,execArgv,execPath,exit,exitCode,features,getActiveResourcesInfo,getBuiltinModule,getMaxListeners,getegid,geteuid,getgid,getgroups,getuid,hasUncaughtExceptionCaptureCallback,hrtime,kill,listenerCount,listeners,loadEnvFile,memoryUsage,nextTick,off,on,once,pid,platform,ppid,prependListener,prependOnceListener,rawListeners,release,removeAllListeners,removeListener,report,resourceUsage,setMaxListeners,setSourceMapsEnabled,setUncaughtExceptionCaptureCallback,setegid,seteuid,setgid,setgroups,setuid,sourceMapsEnabled,stderr,stdin,stdout,title,umask,uptime,version,versions"`
18+
`"_worker.js file, process: _debugEnd,_debugProcess,_events,_eventsCount,_exiting,_fatalException,_getActiveHandles,_getActiveRequests,_kill,_linkedBinding,_maxListeners,_preload_modules,_rawDebug,_startProfilerIdleNotifier,_stopProfilerIdleNotifier,_tickCallback,abort,addListener,allowedNodeEnvironmentFlags,arch,argv,argv0,assert,availableMemory,binding,chdir,config,constrainedMemory,cpuUsage,cwd,debugPort,dlopen,domain,emit,emitWarning,env,eventNames,execArgv,execPath,exit,exitCode,features,getActiveResourcesInfo,getBuiltinModule,getMaxListeners,getegid,geteuid,getgid,getgroups,getuid,hasUncaughtExceptionCaptureCallback,hrtime,initgroups,kill,listenerCount,listeners,loadEnvFile,memoryUsage,moduleLoadList,nextTick,off,on,once,openStdin,pid,platform,ppid,prependListener,prependOnceListener,rawListeners,reallyExit,release,removeAllListeners,removeListener,report,resourceUsage,setMaxListeners,setSourceMapsEnabled,setUncaughtExceptionCaptureCallback,setegid,seteuid,setgid,setgroups,setuid,sourceMapsEnabled,stderr,stdin,stdout,title,umask,uptime,version,versions"`
1919
);
2020
});
2121
});
@@ -31,7 +31,7 @@ describe("Pages with Node.js compat v2", () => {
3131
const response = await fetch(`http://${ip}:${port}/`);
3232
const body = await response.text();
3333
expect(body).toMatchInlineSnapshot(
34-
`"_worker.js directory, process: _debugEnd,_debugProcess,_eventsCount,_fatalException,_getActiveHandles,_getActiveRequests,_kill,_preload_modules,_rawDebug,_startProfilerIdleNotifier,_stopProfilerIdleNotifier,_tickCallback,abort,addListener,allowedNodeEnvironmentFlags,arch,argv,argv0,assert,availableMemory,binding,chdir,config,constrainedMemory,cpuUsage,cwd,debugPort,dlopen,emit,emitWarning,env,eventNames,execArgv,execPath,exit,exitCode,features,getActiveResourcesInfo,getBuiltinModule,getMaxListeners,getegid,geteuid,getgid,getgroups,getuid,hasUncaughtExceptionCaptureCallback,hrtime,kill,listenerCount,listeners,loadEnvFile,memoryUsage,nextTick,off,on,once,pid,platform,ppid,prependListener,prependOnceListener,rawListeners,release,removeAllListeners,removeListener,report,resourceUsage,setMaxListeners,setSourceMapsEnabled,setUncaughtExceptionCaptureCallback,setegid,seteuid,setgid,setgroups,setuid,sourceMapsEnabled,stderr,stdin,stdout,title,umask,uptime,version,versions"`
34+
`"_worker.js directory, process: _debugEnd,_debugProcess,_events,_eventsCount,_exiting,_fatalException,_getActiveHandles,_getActiveRequests,_kill,_linkedBinding,_maxListeners,_preload_modules,_rawDebug,_startProfilerIdleNotifier,_stopProfilerIdleNotifier,_tickCallback,abort,addListener,allowedNodeEnvironmentFlags,arch,argv,argv0,assert,availableMemory,binding,chdir,config,constrainedMemory,cpuUsage,cwd,debugPort,dlopen,domain,emit,emitWarning,env,eventNames,execArgv,execPath,exit,exitCode,features,getActiveResourcesInfo,getBuiltinModule,getMaxListeners,getegid,geteuid,getgid,getgroups,getuid,hasUncaughtExceptionCaptureCallback,hrtime,initgroups,kill,listenerCount,listeners,loadEnvFile,memoryUsage,moduleLoadList,nextTick,off,on,once,openStdin,pid,platform,ppid,prependListener,prependOnceListener,rawListeners,reallyExit,release,removeAllListeners,removeListener,report,resourceUsage,setMaxListeners,setSourceMapsEnabled,setUncaughtExceptionCaptureCallback,setegid,seteuid,setgid,setgroups,setuid,sourceMapsEnabled,stderr,stdin,stdout,title,umask,uptime,version,versions"`
3535
);
3636
});
3737
});
@@ -47,7 +47,7 @@ describe("Pages with Node.js compat v2", () => {
4747
const response = await fetch(`http://${ip}:${port}/`);
4848
const body = await response.text();
4949
expect(body).toMatchInlineSnapshot(
50-
`"Pages functions, process: _debugEnd,_debugProcess,_eventsCount,_fatalException,_getActiveHandles,_getActiveRequests,_kill,_preload_modules,_rawDebug,_startProfilerIdleNotifier,_stopProfilerIdleNotifier,_tickCallback,abort,addListener,allowedNodeEnvironmentFlags,arch,argv,argv0,assert,availableMemory,binding,chdir,config,constrainedMemory,cpuUsage,cwd,debugPort,dlopen,emit,emitWarning,env,eventNames,execArgv,execPath,exit,exitCode,features,getActiveResourcesInfo,getBuiltinModule,getMaxListeners,getegid,geteuid,getgid,getgroups,getuid,hasUncaughtExceptionCaptureCallback,hrtime,kill,listenerCount,listeners,loadEnvFile,memoryUsage,nextTick,off,on,once,pid,platform,ppid,prependListener,prependOnceListener,rawListeners,release,removeAllListeners,removeListener,report,resourceUsage,setMaxListeners,setSourceMapsEnabled,setUncaughtExceptionCaptureCallback,setegid,seteuid,setgid,setgroups,setuid,sourceMapsEnabled,stderr,stdin,stdout,title,umask,uptime,version,versions"`
50+
`"Pages functions, process: _debugEnd,_debugProcess,_events,_eventsCount,_exiting,_fatalException,_getActiveHandles,_getActiveRequests,_kill,_linkedBinding,_maxListeners,_preload_modules,_rawDebug,_startProfilerIdleNotifier,_stopProfilerIdleNotifier,_tickCallback,abort,addListener,allowedNodeEnvironmentFlags,arch,argv,argv0,assert,availableMemory,binding,chdir,config,constrainedMemory,cpuUsage,cwd,debugPort,dlopen,domain,emit,emitWarning,env,eventNames,execArgv,execPath,exit,exitCode,features,getActiveResourcesInfo,getBuiltinModule,getMaxListeners,getegid,geteuid,getgid,getgroups,getuid,hasUncaughtExceptionCaptureCallback,hrtime,initgroups,kill,listenerCount,listeners,loadEnvFile,memoryUsage,moduleLoadList,nextTick,off,on,once,openStdin,pid,platform,ppid,prependListener,prependOnceListener,rawListeners,reallyExit,release,removeAllListeners,removeListener,report,resourceUsage,setMaxListeners,setSourceMapsEnabled,setUncaughtExceptionCaptureCallback,setegid,seteuid,setgid,setgroups,setuid,sourceMapsEnabled,stderr,stdin,stdout,title,umask,uptime,version,versions"`
5151
);
5252
});
5353
});

packages/wrangler/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"resolve.exports": "^2.0.2",
8484
"selfsigned": "^2.0.1",
8585
"source-map": "^0.6.1",
86-
"unenv": "npm:[email protected]20241009-125958-e8ea22f",
86+
"unenv": "npm:[email protected]20241018-011344-e666fcf",
8787
"workerd": "1.20241011.1",
8888
"xxhash-wasm": "^1.0.1"
8989
},

pnpm-lock.yaml

Lines changed: 11 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)