@endo/compartment-mapper 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +4 -4
- package/src/policy.d.ts.map +1 -1
- package/src/policy.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@endo/compartment-mapper",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "The compartment mapper assembles Node applications in a sandbox",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"node",
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@endo/cjs-module-analyzer": "^1.0.2",
|
|
51
|
-
"@endo/static-module-record": "^1.0.
|
|
51
|
+
"@endo/static-module-record": "^1.0.4",
|
|
52
52
|
"@endo/zip": "^1.0.2",
|
|
53
|
-
"ses": "^1.
|
|
53
|
+
"ses": "^1.3.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"ava": "^5.3.0",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"typeCoverage": {
|
|
101
101
|
"atLeast": 86.14
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "297fed572fedec0e1ae3ce34cf409f9d45233d43"
|
|
104
104
|
}
|
package/src/policy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["policy.js"],"names":[],"mappings":"AAYA;;GAEG;AACH,sDAAuD;AAkDhD,uGAFM,MAAM,MAAM,CAAC,CAezB;AA0BM,qDAJI,OAAO,YAAY,EAAE,gBAAgB,iBACrC,OAAO,YAAY,EAAE,aAAa,GAChC,OAAO,CASnB;AA0BM,+CAHI,OAAO,YAAY,EAAE,gBAAgB,2EAuB/C;AAsDM,8DAJI,OAAO,MAAM,EAAE,WAAW,CAAC,0BAC3B,OAAO,MAAM,EAAE,OAAO,YAAY,EAAE,qBAAqB,CAAC,GACxD,OAAO,YAAY,EAAE,2BAA2B,
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["policy.js"],"names":[],"mappings":"AAYA;;GAEG;AACH,sDAAuD;AAkDhD,uGAFM,MAAM,MAAM,CAAC,CAezB;AA0BM,qDAJI,OAAO,YAAY,EAAE,gBAAgB,iBACrC,OAAO,YAAY,EAAE,aAAa,GAChC,OAAO,CASnB;AA0BM,+CAHI,OAAO,YAAY,EAAE,gBAAgB,2EAuB/C;AAsDM,8DAJI,OAAO,MAAM,EAAE,WAAW,CAAC,0BAC3B,OAAO,MAAM,EAAE,OAAO,YAAY,EAAE,qBAAqB,CAAC,GACxD,OAAO,YAAY,EAAE,2BAA2B,CA2C5D;AAoDM,6CARI,MAAM,WACN,MAAM,iBACN,OAAO,YAAY,EAAE,aAAa,eAClC,OAAO,YAAY,EAAE,2BAA2B,eAChD,mBAAc,SACd,MAAM,GACJ,IAAI,CAgDhB;AA2BM,+CAJI,MAAM,yBACN,OAAO,YAAY,EAAE,qBAAqB,sEAiCpD;AAgDM,+CANI,MAAM,wBACN,OAAO,KAAK,EAAE,+BAA+B,UAC7C,OAAO,YAAY,EAAE,aAAa,eAClC,OAAO,YAAY,EAAE,2BAA2B,GAC9C,QAAQ,OAAO,KAAK,EAAE,+BAA+B,CAAC,CAyBlE"}
|
package/src/policy.js
CHANGED
|
@@ -240,8 +240,9 @@ export const makeDeferredAttenuatorsProvider = (
|
|
|
240
240
|
}
|
|
241
241
|
attenuatorSpecifier = defaultAttenuator;
|
|
242
242
|
}
|
|
243
|
-
const { namespace } =
|
|
244
|
-
|
|
243
|
+
const { namespace } = await compartments[ATTENUATORS_COMPARTMENT].import(
|
|
244
|
+
attenuatorSpecifier,
|
|
245
|
+
);
|
|
245
246
|
return namespace;
|
|
246
247
|
};
|
|
247
248
|
}
|