@malloydata/malloy 0.0.57-dev230711153510 → 0.0.57-dev230714163257
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/model/utils.js +3 -5
- package/package.json +2 -3
package/dist/model/utils.js
CHANGED
|
@@ -21,12 +21,9 @@
|
|
|
21
21
|
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
22
22
|
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
23
23
|
*/
|
|
24
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
25
|
exports.range = exports.joinWith = exports.exprMap = exports.generateHash = exports.AndChain = exports.generateSQLStringLiteral = exports.indent = void 0;
|
|
29
|
-
const
|
|
26
|
+
const uuid_1 = require("uuid");
|
|
30
27
|
/** simple indent function */
|
|
31
28
|
function indent(s) {
|
|
32
29
|
const re = /(^|\n)/g;
|
|
@@ -96,7 +93,8 @@ class AndChain {
|
|
|
96
93
|
}
|
|
97
94
|
exports.AndChain = AndChain;
|
|
98
95
|
function generateHash(input) {
|
|
99
|
-
|
|
96
|
+
const MALLOY_UUID = '76c17e9d-f3ce-5f2d-bfde-98ad3d2a37f6';
|
|
97
|
+
return (0, uuid_1.v5)(input, MALLOY_UUID);
|
|
100
98
|
}
|
|
101
99
|
exports.generateHash = generateHash;
|
|
102
100
|
function exprMap(expr, func) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/malloy",
|
|
3
|
-
"version": "0.0.57-
|
|
3
|
+
"version": "0.0.57-dev230714163257",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,12 +26,11 @@
|
|
|
26
26
|
"assert": "^2.0.0",
|
|
27
27
|
"lodash": "^4.17.20",
|
|
28
28
|
"luxon": "^1.26.0",
|
|
29
|
-
"
|
|
29
|
+
"uuid": "^9.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/lodash": "^4.14.165",
|
|
33
33
|
"@types/luxon": "^1.26.4",
|
|
34
|
-
"@types/md5": "^2.3.1",
|
|
35
34
|
"antlr4ts-cli": "^0.5.0-alpha.4"
|
|
36
35
|
}
|
|
37
36
|
}
|