@malloydata/malloy 0.0.252 → 0.0.253-dev250328051543

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/api/core.js CHANGED
@@ -215,7 +215,8 @@ function updateCompileModelState(state, needs) {
215
215
  }
216
216
  if (!state.hasSource) {
217
217
  state.hasSource =
218
- (_d = (_b = (_a = needs === null || needs === void 0 ? void 0 : needs.files) === null || _a === void 0 ? void 0 : _a.some(f => f.url === state.translator.sourceURL)) !== null && _b !== void 0 ? _b : (_c = needs === null || needs === void 0 ? void 0 : needs.translations) === null || _c === void 0 ? void 0 : _c.some(f => f.url === state.translator.sourceURL)) !== null && _d !== void 0 ? _d : false;
218
+ ((_b = (_a = needs === null || needs === void 0 ? void 0 : needs.files) === null || _a === void 0 ? void 0 : _a.some(f => f.url === state.translator.sourceURL)) !== null && _b !== void 0 ? _b : false) ||
219
+ ((_d = (_c = needs === null || needs === void 0 ? void 0 : needs.translations) === null || _c === void 0 ? void 0 : _c.some(f => f.url === state.translator.sourceURL)) !== null && _d !== void 0 ? _d : false);
219
220
  }
220
221
  }
221
222
  const update = compilerNeedsToUpdate(needs);
@@ -225,7 +226,8 @@ exports.updateCompileModelState = updateCompileModelState;
225
226
  function _newCompileModelState(modelURL, compilerNeeds, extendURL) {
226
227
  var _a, _b, _c, _d;
227
228
  const translator = new lang_1.MalloyTranslator(modelURL, null, compilerNeedsToUpdate(compilerNeeds));
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
+ 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) ||
230
+ ((_d = (_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
231
  if (extendURL) {
230
232
  return {
231
233
  extending: _newCompileModelState(extendURL, compilerNeeds),
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MALLOY_VERSION = "0.0.252";
1
+ export declare const MALLOY_VERSION = "0.0.253";
package/dist/version.js CHANGED
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MALLOY_VERSION = void 0;
4
4
  // generated with 'generate-version-file' script; do not edit manually
5
- exports.MALLOY_VERSION = '0.0.252';
5
+ exports.MALLOY_VERSION = '0.0.253';
6
6
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.252",
3
+ "version": "0.0.253-dev250328051543",
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.252",
45
- "@malloydata/malloy-interfaces": "^0.0.252",
46
- "@malloydata/malloy-tag": "^0.0.252",
44
+ "@malloydata/malloy-filter": "^0.0.253-dev250328051543",
45
+ "@malloydata/malloy-interfaces": "^0.0.253-dev250328051543",
46
+ "@malloydata/malloy-tag": "^0.0.253-dev250328051543",
47
47
  "antlr4ts": "^0.5.0-alpha.4",
48
48
  "assert": "^2.0.0",
49
49
  "jest-diff": "^29.6.2",