@malloydata/malloy 0.0.251-dev250328015342 → 0.0.251-dev250328031537

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/dist/api/core.js +2 -2
  2. package/package.json +4 -4
package/dist/api/core.js CHANGED
@@ -223,9 +223,9 @@ function updateCompileModelState(state, needs) {
223
223
  }
224
224
  exports.updateCompileModelState = updateCompileModelState;
225
225
  function _newCompileModelState(modelURL, compilerNeeds, extendURL) {
226
- var _a, _b;
226
+ var _a, _b, _c, _d;
227
227
  const translator = new lang_1.MalloyTranslator(modelURL, null, compilerNeedsToUpdate(compilerNeeds));
228
- const hasSource = (_b = (_a = compilerNeeds === null || compilerNeeds === void 0 ? void 0 : compilerNeeds.files) === null || _a === void 0 ? void 0 : _a.some(f => f.url === modelURL)) !== null && _b !== void 0 ? _b : false;
228
+ const hasSource = (_d = (_b = (_a = compilerNeeds === null || compilerNeeds === void 0 ? void 0 : compilerNeeds.files) === null || _a === void 0 ? void 0 : _a.some(f => f.url === modelURL)) !== null && _b !== void 0 ? _b : (_c = compilerNeeds === null || compilerNeeds === void 0 ? void 0 : compilerNeeds.translations) === null || _c === void 0 ? void 0 : _c.some(t => t.url === modelURL)) !== null && _d !== void 0 ? _d : false;
229
229
  if (extendURL) {
230
230
  return {
231
231
  extending: _newCompileModelState(extendURL, compilerNeeds),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.251-dev250328015342",
3
+ "version": "0.0.251-dev250328031537",
4
4
  "license": "MIT",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",
@@ -41,9 +41,9 @@
41
41
  "generate-version-file": "VERSION=$(npm pkg get version --workspaces=false | tr -d \\\")\necho \"// generated with 'generate-version-file' script; do not edit manually\\nexport const MALLOY_VERSION = '$VERSION';\" > src/version.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@malloydata/malloy-filter": "^0.0.251-dev250328015342",
45
- "@malloydata/malloy-interfaces": "^0.0.251-dev250328015342",
46
- "@malloydata/malloy-tag": "^0.0.251-dev250328015342",
44
+ "@malloydata/malloy-filter": "^0.0.251-dev250328031537",
45
+ "@malloydata/malloy-interfaces": "^0.0.251-dev250328031537",
46
+ "@malloydata/malloy-tag": "^0.0.251-dev250328031537",
47
47
  "antlr4ts": "^0.5.0-alpha.4",
48
48
  "assert": "^2.0.0",
49
49
  "jest-diff": "^29.6.2",