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 +1 -1
- package/require/require.ts +5 -0
package/package.json
CHANGED
package/require/require.ts
CHANGED
|
@@ -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://")) {
|