From 17c866e8da83de14762cdb459c9a377fbf27d34d Mon Sep 17 00:00:00 2001 From: Hunter Perrin Date: Wed, 17 Jan 2018 16:11:33 -0800 Subject: [PATCH] Updated packages. --- lib/QueryEditor.js | 6 +-- lib/SelectorEditor.js | 2 +- lib/ValueEditor.js | 4 +- package-lock.json | 100 +++++++++++++++++++++--------------------- package.json | 4 +- 5 files changed, 58 insertions(+), 58 deletions(-) diff --git a/lib/QueryEditor.js b/lib/QueryEditor.js index 8345340..4b998d1 100644 --- a/lib/QueryEditor.js +++ b/lib/QueryEditor.js @@ -1247,7 +1247,7 @@ div_4.textContent = "If a class is specified, it must have a factory() static method that\n returns a new instance."; text_13 = createText("\n\n "); div_5 = createElement("div"); - div_5.innerHTML = "Selectors are also associative arrays. Any amount of selectors can be\n provided. Empty selectors will be ignored. The first member of a selector\n must be a \"type\" string. The type string can be:\n\n "; + div_5.innerHTML = "Selectors are also associative arrays. Any amount of selectors can be\n provided. Empty selectors will be ignored. The first member of a selector\n must be a \"type\" string. The type string can be:\n\n "; text_20 = createText("\n\n "); div_6 = createElement("div"); div_6.innerHTML = "The rest of the entries in the selector are either more selectors or\n associative entries called selector clauses, which can be any of the\n following (in the form selector['name'] = value, or\n selector['name'] = [value1, value2,...]):\n\n "; @@ -1256,7 +1256,7 @@ div_7.textContent = "These clauses can all be negated, by prefixing them with an exclamation\n point, such as \"!isset\"."; text_42 = createText("\n\n "); div_8 = createElement("div"); - div_8.innerHTML = "This example will retrieve the last two entities where:\n\n \n\n
Nymph.getEntities(\n  {\n    'reverse': true,\n    'limit': 2\n  },\n  {\n    'type': '&', // all must be true\n    'tag': 'person',\n    'isset': 'spouse',\n    'equal': [\n      ['gender', 'male'],\n      ['lname', 'Smith']\n    ],\n    '!strict': ['warnings', 0]\n  },\n  {\n    'type': '|', // at least one of the selectors in this must evaluate to true\n    '1': {\n      'type': '&',\n      'tag': ['level1', 'level2']\n    },\n    '2': {\n      'type': '&',\n      'tag': ['access1', 'access2']\n    }\n  },\n  {\n    'type': '|', // at least one must be true\n    'tag': ['employee', 'manager']\n  },\n  {\n    'type': '|',\n    'equal': [\n      ['name', 'Clark'],\n      ['name', 'James']\n    ],\n    'pmatch': [\n      ['name', 'Chris(topher)?'],\n      ['name', 'Ja(ke|cob)']\n    ]\n  },\n  {\n    'type': '!|', // at least one must be false\n    'gte': ['age', 22],\n    'gt': ['pay', 8]\n  }\n);
"; + div_8.innerHTML = "This example will retrieve the last two entities where:\n\n \n\n
Nymph.getEntities(\n  {\n    'reverse': true,\n    'limit': 2\n  },\n  {\n    'type': '&', // all must be true\n    'tag': 'person',\n    'isset': 'spouse',\n    'equal': [\n      ['gender', 'male'],\n      ['lname', 'Smith']\n    ],\n    '!strict': ['warnings', 0]\n  },\n  {\n    'type': '|', // at least one of the selectors in this must evaluate to true\n    '1': {\n      'type': '&',\n      'tag': ['level1', 'level2']\n    },\n    '2': {\n      'type': '&',\n      'tag': ['access1', 'access2']\n    }\n  },\n  {\n    'type': '|', // at least one must be true\n    'tag': ['employee', 'manager']\n  },\n  {\n    'type': '|',\n    'equal': [\n      ['name', 'Clark'],\n      ['name', 'James']\n    ],\n    'pmatch': [\n      ['name', 'Chris(topher)?'],\n      ['name', 'Ja(ke|cob)']\n    ]\n  },\n  {\n    'type': '!|', // at least one must be false\n    'gte': ['age', 22],\n    'gt': ['pay', 8]\n  }\n);
"; text_55 = createText("\n\n "); div_9 = createElement("div"); button = createElement("button"); @@ -1457,7 +1457,7 @@ component.options = options; component.root = options.root || component; - component.store = component.root.options.store; + component.store = component.root.store || options.store; } function callAll(fns) { diff --git a/lib/SelectorEditor.js b/lib/SelectorEditor.js index b700744..26dac2e 100644 --- a/lib/SelectorEditor.js +++ b/lib/SelectorEditor.js @@ -1992,7 +1992,7 @@ component.options = options; component.root = options.root || component; - component.store = component.root.options.store; + component.store = component.root.store || options.store; } function callAll(fns) { diff --git a/lib/ValueEditor.js b/lib/ValueEditor.js index 12db1aa..ff75c9b 100644 --- a/lib/ValueEditor.js +++ b/lib/ValueEditor.js @@ -23,7 +23,7 @@ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; - /* src/ValueEditor.html generated by Svelte v1.48.0 */ + /* src/ValueEditor.html generated by Svelte v1.51.1 */ var strtotime = window.strtotime; @@ -1013,7 +1013,7 @@ component.options = options; component.root = options.root || component; - component.store = component.root.options.store; + component.store = component.root.store || options.store; } function assign(target) { diff --git a/package-lock.json b/package-lock.json index 1a43da0..bc01e13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -69,8 +69,8 @@ "babel-register": "6.26.0", "babel-runtime": "6.26.0", "chokidar": "1.7.0", - "commander": "2.11.0", - "convert-source-map": "1.5.0", + "commander": "2.13.0", + "convert-source-map": "1.5.1", "fs-readdir-recursive": "1.1.0", "glob": "7.1.2", "lodash": "4.17.4", @@ -108,7 +108,7 @@ "babel-traverse": "6.26.0", "babel-types": "6.26.0", "babylon": "6.18.0", - "convert-source-map": "1.5.0", + "convert-source-map": "1.5.1", "debug": "2.6.9", "json5": "0.5.1", "lodash": "4.17.4", @@ -641,7 +641,7 @@ "dev": true, "requires": { "babel-runtime": "6.26.0", - "core-js": "2.5.1", + "core-js": "2.5.3", "regenerator-runtime": "0.10.5" }, "dependencies": { @@ -686,9 +686,9 @@ "babel-plugin-transform-es2015-unicode-regex": "6.24.1", "babel-plugin-transform-exponentiation-operator": "6.24.1", "babel-plugin-transform-regenerator": "6.26.0", - "browserslist": "2.9.0", + "browserslist": "2.11.3", "invariant": "2.2.2", - "semver": "5.4.1" + "semver": "5.5.0" } }, "babel-preset-stage-3": { @@ -712,7 +712,7 @@ "requires": { "babel-core": "6.26.0", "babel-runtime": "6.26.0", - "core-js": "2.5.1", + "core-js": "2.5.3", "home-or-tmp": "2.0.0", "lodash": "4.17.4", "mkdirp": "0.5.1", @@ -725,8 +725,8 @@ "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", "dev": true, "requires": { - "core-js": "2.5.1", - "regenerator-runtime": "0.11.0" + "core-js": "2.5.3", + "regenerator-runtime": "0.11.1" } }, "babel-template": { @@ -784,9 +784,9 @@ "dev": true }, "binary-extensions": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.10.0.tgz", - "integrity": "sha1-muuabF6IY4qtFx4Wf1kAq+JINdA=", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.11.0.tgz", + "integrity": "sha1-RqoXUftqL5PuXmibsQh9SxTGwgU=", "dev": true, "optional": true }, @@ -813,19 +813,19 @@ } }, "browserslist": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.9.0.tgz", - "integrity": "sha512-vJEBcDTANoDhSHL46NeOEW5hvQw7It9uCqzeFPQhpawXfnOwnpvW5C97vn1eGJ7iCkSg8wWU0nYObE7d/N95Iw==", + "version": "2.11.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-2.11.3.tgz", + "integrity": "sha512-yWu5cXT7Av6mVwzWc8lMsJMHWn4xyjSuGYi4IozbVTLUOEYPSagUB8kiMDUHA1fS3zjr8nkxkn9jdvug4BBRmA==", "dev": true, "requires": { - "caniuse-lite": "1.0.30000760", - "electron-to-chromium": "1.3.27" + "caniuse-lite": "1.0.30000792", + "electron-to-chromium": "1.3.31" } }, "caniuse-lite": { - "version": "1.0.30000760", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000760.tgz", - "integrity": "sha1-7HIDlXQvHH7IlH/W3SYE53qPmP8=", + "version": "1.0.30000792", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30000792.tgz", + "integrity": "sha1-0M6pgfgRjzlhRxr7tDyaHlu/AzI=", "dev": true }, "chalk": { @@ -860,9 +860,9 @@ } }, "commander": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", - "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", + "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==", "dev": true }, "concat-map": { @@ -872,15 +872,15 @@ "dev": true }, "convert-source-map": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", - "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.1.tgz", + "integrity": "sha1-uCeAl7m8IpNl3lxiz1/K7YtVmeU=", "dev": true }, "core-js": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.1.tgz", - "integrity": "sha1-rmh03GaTd4m4B1T/VCjfZoGcpQs=", + "version": "2.5.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.3.tgz", + "integrity": "sha1-isw4NFgk8W2DZbfJtCWRaOjtYD4=", "dev": true }, "core-util-is": { @@ -909,9 +909,9 @@ } }, "electron-to-chromium": { - "version": "1.3.27", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.27.tgz", - "integrity": "sha1-eOy4o5kGYYe7N07t412ccFZagD0=", + "version": "1.3.31", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.31.tgz", + "integrity": "sha512-XE4CLbswkZgZFn34cKFy1xaX+F5LHxeDLjY1+rsK9asDzknhbrd9g/n/01/acbU25KTsUSiLKwvlLyA+6XLUOA==", "dev": true }, "escape-string-regexp": { @@ -1013,7 +1013,7 @@ "dev": true, "optional": true, "requires": { - "nan": "2.7.0", + "nan": "2.8.0", "node-pre-gyp": "0.6.39" }, "dependencies": { @@ -2007,7 +2007,7 @@ "dev": true, "optional": true, "requires": { - "binary-extensions": "1.10.0" + "binary-extensions": "1.11.0" } }, "is-buffer": { @@ -2204,9 +2204,9 @@ "dev": true }, "nan": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.7.0.tgz", - "integrity": "sha1-2Vv3IeyHfgjbJ27T/G63j5CDrUY=", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.8.0.tgz", + "integrity": "sha1-7XFfP+neArV6XmJS2QqWZ14fCFo=", "dev": true, "optional": true }, @@ -2394,9 +2394,9 @@ "dev": true }, "regenerator-runtime": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz", - "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==", "dev": true }, "regenerator-transform": { @@ -2489,9 +2489,9 @@ "dev": true }, "semver": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", - "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", "dev": true }, "set-immediate-shim": { @@ -2548,18 +2548,18 @@ "dev": true }, "svelte": { - "version": "1.48.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-1.48.0.tgz", - "integrity": "sha512-EmWi66gC3EyNBS4Op6/SH+ysEUQb5ecRAXRR438AKqKDQk72fkKdkSHAhBjU/D58NqZBoRZhEJKzqS2Vfqg+Mw==", + "version": "1.51.1", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-1.51.1.tgz", + "integrity": "sha512-Uf9huHmtXLzdmkfuEYQeXMvFE9dt8M9/jzujX3/Q2Ek2dzvVz1ARTLP76hlnGqUf4q28w8wfkQxFEx4LgDV5MQ==", "dev": true }, "svelte-cli": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/svelte-cli/-/svelte-cli-1.4.0.tgz", - "integrity": "sha512-NV3+Z3xAHQzBd/Mn+kDWYqaqlW49alHy6CZakMEA0sYWUPMLy9FvByOlZ6TcquJop33zX32S7MTetFti4lEcWA==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/svelte-cli/-/svelte-cli-2.1.0.tgz", + "integrity": "sha512-C++QVJ7CCJ+Zx/SEMsOcNqOIstr48bBqMyGZwA2DtKP3+PxzGBkJOidYWhlMp0lHr2gBQ6RFGfEnCs7WfXOS5w==", "dev": true, "requires": { - "svelte": "1.48.0" + "svelte": "1.51.1" } }, "to-fast-properties": { diff --git a/package.json b/package.json index 651f121..96bae83 100644 --- a/package.json +++ b/package.json @@ -32,8 +32,8 @@ "babel-plugin-transform-es2015-modules-umd": "^6.24.1", "babel-preset-env": "^1.6.1", "babel-preset-stage-3": "^6.24.1", - "svelte": "^1.48.0", - "svelte-cli": "^1.4.0" + "svelte": "^1.51.1", + "svelte-cli": "^2.1.0" }, "dependencies": { "locutus": "^2.0.9"