@vizzly/semantic-layer-public
Advanced tools
Comparing version 0.0.109 to 0.0.110
@@ -5,5 +5,9 @@ "use strict"; | ||
const support_1 = require("./support"); | ||
const sqldialects_1 = require("@vizzly/sqldialects"); | ||
const isKustoFlavor = () => { | ||
var _a; | ||
if (typeof process === 'undefined') | ||
return false; | ||
return ((_a = process.env['VIZZLY_MICROSOFT_FLAVOR']) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === 'KUSTO'; | ||
}; | ||
const queryEngineConfig = () => { | ||
const dialect = (0, sqldialects_1.getDialect)({ type: 'microsoftSQLServer' }); | ||
return { | ||
@@ -31,3 +35,3 @@ origin: 'query-engine', | ||
'minute', | ||
...(dialect.context.flavour === 'kusto' ? [] : ['second']), | ||
...(isKustoFlavor() ? [] : ['second']), | ||
]), | ||
@@ -34,0 +38,0 @@ supportedAggregates: (0, support_1.supportedAggregates)(['sum', 'mean', 'min', 'max', 'count', 'countDistinct']), |
{ | ||
"name": "@vizzly/semantic-layer-public", | ||
"version": "0.0.109", | ||
"version": "0.0.110", | ||
"source": "src/index.ts", | ||
@@ -27,7 +27,7 @@ "main": "dist/index.js", | ||
"uuid": "^9.0.1", | ||
"@vizzly/sqlbuilder-public": "0.1.1" | ||
"@vizzly/sqlbuilder-public": "0.1.7" | ||
}, | ||
"peerDependencies": { | ||
"@vizzly/sqlbuilder-public": "0.1.1" | ||
"@vizzly/sqlbuilder-public": "0.1.7" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67284
1783
2