@php-wasm/node 0.1.11 → 0.1.16
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/index.cjs +35 -0
- package/index.d.ts +2 -1
- package/noop.cjs +1 -0
- package/package.json +3 -4
- package/index.js +0 -36
- package/noop.js +0 -1
package/noop.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import { createRequire } from 'module';const real_require = createRequire(import.meta.url); function require(id) { let resolved = real_require(id); if(id === 'path') {return {...resolved,normalize: function(path) {return new URL(resolved.normalize(path), import.meta.url).href.replace(/^(file:\/\/)?/, '');}};} return resolved;} const __dirname = new URL(import.meta.url).href;
|