Rename whitelist intrinsics
MODIFY
package.json
package.json
"packages/harden-integration-test",
"packages/intrinsics",
"packages/intrinsics-global",
- "packages/intrinsics-whitelist",
+ "packages/whitelist-intrinsics",
"packages/lockdown-shim",
"packages/make-hardener",
"packages/make-hardener-integration-test",

MODIFY
packages/intrinsics/src/main.js
packages/intrinsics/src/main.js
@@ -249,7 +249,9 @@ function checkAnonIntrinsics(intrinsics) {
// 25.1.3 The %AsyncIteratorPrototype% Object
- assert(getPrototypeOf(AsyncIteratorPrototype) === Object.prototype,'AsyncIteratorPrototype.__proto__ should be Object.prototype',
+ assert(
+ getPrototypeOf(AsyncIteratorPrototype) === Object.prototype,
+ 'AsyncIteratorPrototype.__proto__ should be Object.prototype',
);
// 22.1.5.2 The %ArrayIteratorPrototype% Object

MODIFY
packages/lockdown-shim/package.json
packages/lockdown-shim/package.json
"@agoric/compartment-shim": "0.1.0",
"@agoric/harden": "0.0.4",
"@agoric/intrinsics": "0.1.0",
- "@agoric/intrinsics-whitelist": "0.1.0",
+ "@agoric/whitelist-intrinsics": "0.1.0",
"@agoric/make-hardener": "0.0.6",
"@agoric/repair-legacy-accessors": "0.1.0",
"@agoric/tame-function-constructors": "0.1.0",

MODIFY
packages/lockdown-shim/src/main.js
packages/lockdown-shim/src/main.js
// limitations under the License.
import { getIntrinsics } from '@agoric/intrinsics';
-import whitelistIntrinsics from '@agoric/intrinsics-whitelist';
+import whitelistIntrinsics from '@agoric/whitelist-intrinsics';
import repairLegacyAccessors from '@agoric/repair-legacy-accessors';
import tameFunctionConstructors from '@agoric/tame-function-constructors';

RENAME
packages/intrinsics-whitelist/.eslintrc.json
packages/whitelist-intrinsics/.eslintrc.json
RENAME
packages/intrinsics-whitelist/.prettierrc.json
packages/whitelist-intrinsics/.prettierrc.json
RENAME
packages/intrinsics-whitelist/LICENSE
packages/whitelist-intrinsics/LICENSE
RENAME
packages/intrinsics-whitelist/README.md
packages/whitelist-intrinsics/README.md
RENAME
packages/intrinsics-whitelist/package.json
packages/whitelist-intrinsics/package.json
{
- "name": "@agoric/intrinsics-whitelist",
+ "name": "@agoric/whitelist-intrinsics",
"version": "0.1.0",
"description": "Whitelist intrinsics",
"author": "Agoric",

RENAME
packages/intrinsics-whitelist/src/main.js
packages/whitelist-intrinsics/src/main.js
RENAME
packages/intrinsics-whitelist/src/whitelist.js
packages/whitelist-intrinsics/src/whitelist.js
RENAME
packages/intrinsics-whitelist/test/whitelistIntrinsics.test.js
packages/whitelist-intrinsics/test/whitelistIntrinsics.test.js
RENAME
packages/intrinsics-whitelist/yarn.lock
packages/whitelist-intrinsics/yarn.lock
Rename whitelist intrinsics