New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@514labs/moose-lib

Package Overview
Dependencies
Maintainers
0
Versions
425
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@514labs/moose-lib - npm Package Compare versions

Comparing version 0.3.457 to 0.3.458

15

./dist/index.js

@@ -75,3 +75,5 @@ "use strict";

antiCachePath: () => antiCachePath,
createAggregation: () => createAggregation,
createClickhouseParameter: () => createClickhouseParameter,
dropAggregation: () => dropAggregation,
getClickhouseClient: () => getClickhouseClient,

@@ -87,2 +89,13 @@ getFileName: () => getFileName,

// src/blocks.ts
function createAggregation(aggregation) {
return `CREATE MATERIALIZED VIEW IF NOT EXISTS ${aggregation.name}
ENGINE = AggregatingMergeTree() ORDER BY ${aggregation.orderBy}
POPULATE
AS ${aggregation.select}`;
}
function dropAggregation(name) {
return `DROP VIEW IF EXISTS ${name}`;
}
// src/commons.ts

@@ -260,3 +273,5 @@ var import_client_web = require("@clickhouse/client-web");

antiCachePath,
createAggregation,
createClickhouseParameter,
dropAggregation,
getClickhouseClient,

@@ -263,0 +278,0 @@ getFileName,

14

dist/index.d.ts

@@ -40,2 +40,14 @@ import * as _clickhouse_client_web from '@clickhouse/client-web';

interface AggregationBlock {
name: string;
select: string;
orderBy: string;
}
interface Blocks {
setup: string[];
teardown: string[];
}
declare function createAggregation(aggregation: AggregationBlock): string;
declare function dropAggregation(name: string): string;
declare const antiCachePath: (path: string) => string;

@@ -77,2 +89,2 @@ declare const walkDir: (dir: string, fileExtension: string, fileList: string[]) => string[];

export { type Aggregation, ConsumptionHelpers, type ConsumptionUtil, type DataModelConfig, IngestionFormat, type Key, MooseClient, type RawValue, Sql, type Value, antiCachePath, createClickhouseParameter, getClickhouseClient, getFileName, getValueFromParameter, join_queries, mapToClickHouseType, sql, walkDir };
export { type Aggregation, type Blocks, ConsumptionHelpers, type ConsumptionUtil, type DataModelConfig, IngestionFormat, type Key, MooseClient, type RawValue, Sql, type Value, antiCachePath, createAggregation, createClickhouseParameter, dropAggregation, getClickhouseClient, getFileName, getValueFromParameter, join_queries, mapToClickHouseType, sql, walkDir };

@@ -75,3 +75,5 @@ "use strict";

antiCachePath: () => antiCachePath,
createAggregation: () => createAggregation,
createClickhouseParameter: () => createClickhouseParameter,
dropAggregation: () => dropAggregation,
getClickhouseClient: () => getClickhouseClient,

@@ -87,2 +89,13 @@ getFileName: () => getFileName,

// src/blocks.ts
function createAggregation(aggregation) {
return `CREATE MATERIALIZED VIEW IF NOT EXISTS ${aggregation.name}
ENGINE = AggregatingMergeTree() ORDER BY ${aggregation.orderBy}
POPULATE
AS ${aggregation.select}`;
}
function dropAggregation(name) {
return `DROP VIEW IF EXISTS ${name}`;
}
// src/commons.ts

@@ -260,3 +273,5 @@ var import_client_web = require("@clickhouse/client-web");

antiCachePath,
createAggregation,
createClickhouseParameter,
dropAggregation,
getClickhouseClient,

@@ -263,0 +278,0 @@ getFileName,

12

package.json
{
"name": "@514labs/moose-lib",
"version": "0.3.457",
"version": "0.3.458",
"main": "./dist/index.js",

@@ -14,6 +14,6 @@ "module": "./dist/index.mjs",

"dependencies": {
"@clickhouse/client-web": "^1.0.1",
"fastq": "^1.17.1",
"kafkajs": "^2.2.4",
"ts-patch": "^3.1.2"
"@clickhouse/client-web": "1.1.0",
"fastq": "1.17.1",
"kafkajs": "2.2.4",
"ts-patch": "~3.2.0"
},

@@ -26,3 +26,3 @@ "devDependencies": {

"tsup": "^8.0.2",
"typescript": "^5.4.0",
"typescript": "~5.4.0",
"@repo/ts-config": "0.0.0"

@@ -29,0 +29,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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