Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@malloydata/malloy

Package Overview
Dependencies
Maintainers
3
Versions
1190
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@malloydata/malloy - npm Package Compare versions

Comparing version 0.0.22-dev230117204627 to 0.0.22-dev230117223957

7

dist/model/sql_block.js

@@ -24,9 +24,6 @@ "use strict";

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.makeSQLBlock = void 0;
const malloy_types_1 = require("./malloy_types");
const md5_1 = __importDefault(require("md5"));
const utils_1 = require("./utils");
/**

@@ -58,4 +55,4 @@ * The factory for SQLBlocks. Exists because the name is computed

const phrases = select.map((el) => (0, malloy_types_1.isSQLFragment)(el) ? el.sql : JSON.stringify(el));
return (0, md5_1.default)(phrases.join(";"));
return (0, utils_1.generateHash)(phrases.join(";"));
}
//# sourceMappingURL=sql_block.js.map

@@ -22,1 +22,2 @@ /** simple indent function */

}
export declare function generateHash(input: string): string;

@@ -24,4 +24,8 @@ "use strict";

*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AndChain = exports.generateSQLStringLiteral = exports.indent = void 0;
exports.generateHash = exports.AndChain = exports.generateSQLStringLiteral = exports.indent = void 0;
const md5_1 = __importDefault(require("md5"));
/** simple indent function */

@@ -95,2 +99,6 @@ function indent(s) {

exports.AndChain = AndChain;
function generateHash(input) {
return (0, md5_1.default)(input);
}
exports.generateHash = generateHash;
//# sourceMappingURL=utils.js.map
{
"name": "@malloydata/malloy",
"version": "0.0.22-dev230117204627",
"version": "0.0.22-dev230117223957",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc