@agoric/deploy-script-support 0.10.3-dev-69236fd.0 → 0.10.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### [0.10.3](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.2...@agoric/deploy-script-support@0.10.3) (2023-06-09)
7
+
8
+ **Note:** Version bump only for package @agoric/deploy-script-support
9
+
10
+
11
+
12
+
13
+
6
14
  ### [0.10.2](https://github.com/Agoric/agoric-sdk/compare/@agoric/deploy-script-support@0.10.1...@agoric/deploy-script-support@0.10.2) (2023-06-02)
7
15
 
8
16
  **Note:** Version bump only for package @agoric/deploy-script-support
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/deploy-script-support",
3
- "version": "0.10.3-dev-69236fd.0+69236fd",
3
+ "version": "0.10.3",
4
4
  "description": "Helpers and other support for writing deploy scripts",
5
5
  "type": "module",
6
6
  "main": "src/helpers.js",
@@ -34,13 +34,13 @@
34
34
  },
35
35
  "homepage": "https://github.com/Agoric/agoric-sdk#readme",
36
36
  "dependencies": {
37
- "@agoric/assert": "0.6.1-dev-69236fd.0+69236fd",
38
- "@agoric/ertp": "0.16.3-dev-69236fd.0+69236fd",
39
- "@agoric/import-manager": "0.3.12-dev-69236fd.0+69236fd",
40
- "@agoric/internal": "0.3.3-dev-69236fd.0+69236fd",
41
- "@agoric/notifier": "0.6.3-dev-69236fd.0+69236fd",
42
- "@agoric/store": "0.9.3-dev-69236fd.0+69236fd",
43
- "@agoric/zoe": "0.26.3-dev-69236fd.0+69236fd",
37
+ "@agoric/assert": "^0.6.0",
38
+ "@agoric/ertp": "^0.16.2",
39
+ "@agoric/import-manager": "^0.3.11",
40
+ "@agoric/internal": "^0.3.2",
41
+ "@agoric/notifier": "^0.6.2",
42
+ "@agoric/store": "^0.9.2",
43
+ "@agoric/zoe": "^0.26.2",
44
44
  "@endo/base64": "^0.2.31",
45
45
  "@endo/bundle-source": "^2.5.1",
46
46
  "@endo/far": "^0.2.18",
@@ -50,7 +50,7 @@
50
50
  "@endo/zip": "^0.2.31"
51
51
  },
52
52
  "devDependencies": {
53
- "@agoric/vats": "0.15.1-dev-69236fd.0+69236fd",
53
+ "@agoric/vats": "^0.15.1",
54
54
  "@endo/init": "^0.5.56",
55
55
  "ava": "^5.2.0",
56
56
  "import-meta-resolve": "^2.2.1"
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "69236fdbdce1521dd78da104bd54f331d4d2b28f"
71
+ "gitHead": "ba3b776444425bbcb275ce918794d9259f8e15da"
72
72
  }
@@ -35,11 +35,6 @@ const pathResolve = (...paths) => {
35
35
  }
36
36
  };
37
37
 
38
- const findModule = (initDir, srcSpec) =>
39
- srcSpec.match(/^(\.\.?)?\//)
40
- ? pathResolve(initDir, srcSpec)
41
- : req.resolve(srcSpec);
42
-
43
38
  /**
44
39
  * Format core proposals to be run at bootstrap:
45
40
  * SwingSet `bundles` configuration
@@ -104,12 +99,12 @@ export const extractCoreProposalBundles = async (
104
99
  const thisProposalBundleHandles = new Set();
105
100
  assert(getSequenceForProposal);
106
101
  const thisProposalSequence = getSequenceForProposal(i);
107
- const initPath = findModule(dirname, module);
102
+ const initPath = pathResolve(dirname, module);
108
103
  const initDir = path.dirname(initPath);
109
104
  /** @type {Record<string, import('./externalTypes.js').ProposalBuilder>} */
110
105
  const ns = await import(initPath);
111
106
  const install = (srcSpec, bundlePath) => {
112
- const absoluteSrc = findModule(initDir, srcSpec);
107
+ const absoluteSrc = pathResolve(initDir, srcSpec);
113
108
  const bundleHandle = {};
114
109
  const absolutePaths = { source: absoluteSrc };
115
110
  if (bundlePath) {