Files
scriptc/tests/fixtures/npm/node_modules/gtesmthis/package.json
T
Chris Tate 4f7539103c Keep a lowered ES module namespace unobservable through calls that pass it as this
A call through a bundled ES module's namespace (`ns.fn()`, `(ns.fn)()`,
a tagged template) passes the namespace as `this`. Node's namespace is
the __toCommonJS object (`__esModule` first and non-enumerable,
non-configurable getters); the lowered object of getters differs. The
namespace lowers only when every such call targets a top-level function,
never reassigned, that reads no `this` (an arrow inside it included);
otherwise the package stays refused.
2026-10-19 19:10:11 -05:00

11 lines
313 B
JSON

{
"name": "gtesmthis",
"version": "1.0.0",
"description": "gtesm's esbuild 0.25.10 output shape with a lazily initialized ES module export that reads `this`, called through the module's namespace",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"gtcore": "1.0.0"
}
}