You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a5a829e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(parser): answer an absent export from the spec namespace (#22092)
* fix(parser): answer an absent export from the spec namespace
A static reference to a name the module does not export read and wrote the
exports object, so every name `Object.prototype` carries — `__proto__`,
`toString`, `constructor` — showed through where the spec reports undefined,
and a write quietly created a property instead of failing. Route those names
through the namespace, which answers both as the spec does.
Unskips `module-code/namespace/internals/{get-str-not-found,set}.js` and
`module-code/export-expname-binding-index.js`.
* test(library): import LibraryType from the declarations that export it
`LibraryType` is exported from `declarations/WebpackOptions.d.ts`, not
re-exported from the package root, so `lint:types-test` fails on `main`
with TS2694. Same one-line change as #22093, ported here to unblock this
PR's `lint` rather than wait on that PR to land.
0 commit comments