@spica/cli 0.18.26 → 0.18.27

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.
Files changed (2) hide show
  1. package/index.js +2 -6
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2635,12 +2635,8 @@ var FunctionDependencySynchronizer = class {
2635
2635
  return Promise.resolve([]);
2636
2636
  }
2637
2637
  async analyze() {
2638
- const deleteTypes = (deps) => deps.map((d) => {
2639
- delete d.types;
2640
- return d;
2641
- });
2642
- const sourceDeps = await this.sourceService.get(`function/${this.fn._id}/dependencies`).then(deleteTypes);
2643
- const targetDeps = await this.targetService.get(`function/${this.fn._id}/dependencies`).then(deleteTypes).catch((e) => {
2638
+ const sourceDeps = await this.sourceService.get(`function/${this.fn._id}/dependencies`);
2639
+ const targetDeps = await this.targetService.get(`function/${this.fn._id}/dependencies`).catch((e) => {
2644
2640
  if (isNotFoundException(e)) {
2645
2641
  return [];
2646
2642
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spica/cli",
3
- "version": "0.18.26",
3
+ "version": "0.18.27",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {