socket-function 0.80.0 → 0.81.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "0.80.0",
3
+ "version": "0.81.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -207,6 +207,11 @@ export function requireMain() {
207
207
 
208
208
  let requireBatch: { [request: string]: (() => void)[] } | undefined;
209
209
  function rootRequire(request: string, batch?: boolean): unknown {
210
+ if (request.includes("file://")) {
211
+ // How does this happen? It definitely breaks things, and we could remove the file://, but... how
212
+ // does it even happen?
213
+ debugger;
214
+ }
210
215
  if (isFirstImport) {
211
216
  isFirstImport = false;
212
217
  if (request.startsWith("https://")) {