-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
ecosystem-compatibilityTracks a compatibility issue in a third-party package or packages.Tracks a compatibility issue in a third-party package or packages.trackingFor tracking issues that will never be closed.For tracking issues that will never be closed.
Description
Some popular packages don't work correctly under SES
This is primarily seems to be caused by setting properties that appear in the frozen primordials like x.toString = y
I'll record them here
regenerator-runtime 16,886,889 downloads / week
v0.13.3requires non-strict mode?
https://github.com/facebook/regenerator/blob/6e9e8d7747c2ab49927bdd9dd6261753181faec1/packages/regenerator-runtime/runtime.js#L713-L726v0.11.1: deriving a global fromreturn thishttps://github.com/Agoric/SES/issues/140
https://github.com/facebook/regenerator/blob/610e60882404480d5dec4fdbeaa56e1773dbfe37/packages/regenerator-runtime/runtime-module.js#L10
symbol-observable 6,602,849 downloads / week
- tries to mutate
Symbolhttps://github.com/benlesh/symbol-observable/blob/e56e765476fd96dcb430fd44d936bc543d4d97ba/es/ponyfill.js#L9-L10
deep-equal 6,532,310 downloads / week
1.0.1accidentally assigns "shim" toObject.keyshttps://npmfs.com/package/deep-equal/1.0.1/lib/keys.js
underscore 6,453,579 downloads / week
- overriding Object.prototype properties
https://github.com/jashkenas/underscore/blob/36eef3c118041ae6386b6bba2b48b099e57ca0e5/underscore.js#L1676 - overriding Function.prototype properties
https://github.com/jashkenas/underscore/blob/36eef3c118041ae6386b6bba2b48b099e57ca0e5/underscore.js#L772
crypto-js 909,612 downloads/week
- overriding
toStringvia computed set (this[propertyName] = properties[propertyName]) https://github.com/brix/crypto-js/blob/8e6d15bf2e26d6ff0af5277df2604ca12b60a718/src/core.js#L132
Setting via computed assign previously defeated my babel-plugin workaround, but I added support for it
Metadata
Metadata
Assignees
Labels
ecosystem-compatibilityTracks a compatibility issue in a third-party package or packages.Tracks a compatibility issue in a third-party package or packages.trackingFor tracking issues that will never be closed.For tracking issues that will never be closed.