hot-updater 0.10.1 → 0.10.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/dist/index.cjs CHANGED
@@ -22519,9 +22519,10 @@ export default HotUpdater.wrap({
22519
22519
  source: "%%source%%",
22520
22520
  })(App);`;
22521
22521
  const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseName })=>{
22522
+ const cwd = (0, plugin_core_namespaceObject.getCwd)();
22522
22523
  const workerPath = require.resolve("@hot-updater/cloudflare/worker", {
22523
22524
  paths: [
22524
- getCwd()
22525
+ cwd
22525
22526
  ]
22526
22527
  });
22527
22528
  const workerDir = external_path_default().dirname(workerPath);
package/dist/index.js CHANGED
@@ -22412,9 +22412,10 @@ export default HotUpdater.wrap({
22412
22412
  source: "%%source%%",
22413
22413
  })(App);`;
22414
22414
  const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseName })=>{
22415
+ const cwd = (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.getCwd)();
22415
22416
  const workerPath = require.resolve("@hot-updater/cloudflare/worker", {
22416
22417
  paths: [
22417
- getCwd()
22418
+ cwd
22418
22419
  ]
22419
22420
  });
22420
22421
  const workerDir = external_path_["default"].dirname(workerPath);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hot-updater",
3
3
  "type": "module",
4
- "version": "0.10.1",
4
+ "version": "0.10.2",
5
5
  "bin": {
6
6
  "hot-updater": "./dist/index.js"
7
7
  },
@@ -49,9 +49,9 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "@clack/prompts": "^0.9.0",
52
- "@hot-updater/console": "0.10.1",
53
- "@hot-updater/core": "0.10.1",
54
- "@hot-updater/plugin-core": "0.10.1",
52
+ "@hot-updater/console": "0.10.2",
53
+ "@hot-updater/core": "0.10.2",
54
+ "@hot-updater/plugin-core": "0.10.2",
55
55
  "commander": "^11.1.0",
56
56
  "cosmiconfig": "^9.0.0",
57
57
  "cosmiconfig-typescript-loader": "^5.0.0"