hunk.code_window:     pending: NOTPENDING,
       comparator: options.equals || undefined
     };
     if ("_SOLID_DEV_")
       s.name = registerGraph((options && options.name) || hashValue(value), s as { value: unknown });
     return [
       readSignal.bind(s),
  
hunk.labels: keep keep keep replace replace keep keep keep
hunk.after_edit:   if ("_SOLID_DEV_" && !options.internal)
       s.name = registerGraph(options.name || hashValue(value), s as { value: unknown });
  
hunk.file_path: packages/solid/src/reactive/signal.ts
hunk.type: replace
file: function checkError(error) {
    // This error happens when missing the type:module field in package.json when it is needed.
    if (
      error instanceof SyntaxError &&
      error.message.includes("Cannot use import statement outside a module")
    ) {
      console.error(error);
      process.exit(1);
    }
  
    // These errors happen if exports are not mapped to files that should be importable.
    if (["ERR_PACKAGE_PATH_NOT_EXPORTED", "ERR_MODULE_NOT_FOUND"].includes(error.code)) {
      console.error(error);
      process.exit(1);
    }
  
    // Any other errors (unless I missed any that should be added to the checks
    // above) are errors that happen after imported modules are successfully
    // resolved (f.e. a module was found, but it doesn't export a particular
    // identifier when running in node vs browser).  SO we silence them by not
    // re-throwing them here as we don't want to fail the test in those cases,
    // because we're testing only that ESM exports are set up correctly.
    // Importing `solid-js/h` will fail in node even if modules are resolved
    // properly, for example.
  }
  
  Promise.all([
    import("solid-js").catch(checkError),
    import("solid-js/dist/solid.js").catch(checkError),
  
    import("solid-js/web").catch(checkError),
    import("solid-js/web/dist/web.js").catch(checkError),
    import("solid-js/web/dist/server.js").catch(checkError),
  
    import("solid-js/h").catch(checkError),
    import("solid-js/h/dist/h.js").catch(checkError),
  
    import("solid-js/html").catch(checkError),
    import("solid-js/html/dist/html.js").catch(checkError)
  ])
    .then(() => {
      console.log("ES Module import test passed.");
    })
    .catch(error => {
      console.error(error);
      process.exit(1);
    });
  