realms-shim: depend on packaged version
DELETE
.gitmodules
-[submodule "realms-shim"]
- path = realms-shim
- url = https://github.com/Agoric/realms-shim.git

MODIFY
README.md
README.md
@@ -24,7 +24,7 @@ Derived from the Caja project, https://github.com/google/caja/wiki/SES .
Still under development: do not use for production systems yet, there are
known security holes that need to be closed.
-Incorporates (as a git submodule) the [Realms shim](https://github.com/Agoric/realms-shim), which is a TC39 proposal spec here:
+Incorporates (as a dependency) the [Realms shim](https://github.com/Agoric/realms-shim), which is a TC39 proposal spec here:
https://github.com/tc39/proposal-realms .
### Install

MODIFY
package-lock.json
package-lock.json
"read-pkg": "^2.0.0"
}
},
+ "realms-shim": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/realms-shim/-/realms-shim-1.1.0.tgz",
+ "integrity": "sha512-7fXmHSYnUM+Wix0yM0TwoMa4WWHSaRXyYaKqfoYl8BNokUoKaKD9tiKdBHkMlF7grd3G5A/XYuv3+XPvWW6adA=="
+ },
"regenerator-runtime": {
"version": "0.13.2",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.2.tgz",

MODIFY
package.json
package.json
},
"dependencies": {
"@agoric/make-hardener": "^0.0.6",
- "esm": "^3.2.25"
+ "esm": "^3.2.25",
+ "realms-shim": "^1.1.0"
},
"keywords": [
"confinement",

DELETE
realms-shim
-Subproject commit 3c015e489715d9c39e5b14e7ae29c5a759003ce1

MODIFY
src/index.js
src/index.js
// See the License for the specific language governing permissions and
// limitations under the License.
-import Realm from '../realms-shim/src/realm';
+import Realm from 'realms-shim/src/realm';
import { createSESWithRealmConstructor } from './bundle/index';
// eslint-disable-next-line import/no-unresolved

realms-shim: depend on packaged version