Closed kumavis closed 3 years ago
some tests from es-shim-api
fails
not ok 3 module.exports === getPolyfill()
not ok 10 shim returns polyfill (pass `--skip-shim-returns-polyfill` to skip this test)
ok it works :+1:
@ljharb ready for review
Rather than alter the getPolyfill
result - for which it's important it's ===
to Object.assign
as often as possible - I've updated this PR to wrap the index.js
entrypoint instead.
sounds good but hold up some of my commits got lost
so i like your version but it doesnt pass tests
Looking into it.
tests pass here https://github.com/ljharb/object.assign/pull/78
I like your approach, and expect your tests to pass :+1:
Looks like ses fails in node < 4 due to its use of const
, and node < 12 due to its use of globalThis, which is disappointing. I'll try a tweaked approach.
v4.1.1 is released.
the issue is that when
Object.assign
is present, this package appends additional properties to it, likegetPolyfill
. under SES, this has been hardened and you cannot append the properties