From d46b06b789861d91a545a45f627c98fe8271e766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9r=C3=A8?= Date: Sun, 31 Dec 2023 20:31:55 -0800 Subject: [PATCH] Bump sizeup-core to pick up logging bug fix --- dist/index.js | 9 +++++++-- package-lock.json | 6 +++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/dist/index.js b/dist/index.js index 4e3f42e..5d67c17 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12365,8 +12365,13 @@ class Formula { stack.push(this.cache.get(token)); } else if (this.isAlias(token)) { - const aliasFormula = new Formula(this.aliases.get(token), this.aliases, this.cache); - stack.push(aliasFormula.evaluate(changeset).result); + const formula = new Formula(this.aliases.get(token), this.aliases, this.cache); + const score = formula.evaluate(changeset); + for (const [name, value] of score.variableSubstitutions.entries()) { + result.recordVariableSubstitution(name, value); + } + result.recordVariableSubstitution(token, score.result); + stack.push(score.result); } else if (this.isFeature(token)) { const FeatureClass = registry_1.FeatureRegistry.get(token); diff --git a/package-lock.json b/package-lock.json index cad7b11..beab7a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6718,9 +6718,9 @@ "dev": true }, "node_modules/sizeup-core": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/sizeup-core/-/sizeup-core-0.4.0.tgz", - "integrity": "sha512-QkOknkoQqdzwI/wVnOxnEUjnVGrJCVRN0/4Y+V5aBEt5aS2YUfJKiE4fc5iLnnbjfSrftfA7xnRu2XckxODN4w==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/sizeup-core/-/sizeup-core-0.4.1.tgz", + "integrity": "sha512-r2vdnve4V017v00lMFzBaysfrl1W1ZRhL2WRm3nH4cYz4Pd73qBtHXlHENh4ZLTQs3v1MYsI8QW1VC+Xprfpyw==", "dependencies": { "minimatch": "^9.0.3", "parse-diff": "^0.11.1",