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

@vizzly/sqlbuilder-public

Package Overview
Dependencies
Maintainers
0
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vizzly/sqlbuilder-public - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

3

dist/index.d.ts

@@ -1,2 +0,2 @@

import { NormalizedDataType } from "./types";
import { Client, NormalizedDataType } from "./types";
export * from "./nativeDataTypeDatabase";

@@ -6,1 +6,2 @@ export * from "./types";

export declare const DATE_MATHS_OPERATORS: string[];
export declare const getNativeDataTypesOfNormalizedType: (client: Client, normalizedDataType: NormalizedDataType) => string[];

@@ -17,3 +17,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.DATE_MATHS_OPERATORS = exports.NORMALIZED_DATA_TYPES = void 0;
exports.getNativeDataTypesOfNormalizedType = exports.DATE_MATHS_OPERATORS = exports.NORMALIZED_DATA_TYPES = void 0;
const nativeDataTypeDatabase_1 = require("./nativeDataTypeDatabase");
__exportStar(require("./nativeDataTypeDatabase"), exports);

@@ -34,1 +35,10 @@ __exportStar(require("./types"), exports);

];
const getNativeDataTypesOfNormalizedType = (client, normalizedDataType) => {
const allTypes = Object.keys(nativeDataTypeDatabase_1.NATIVE_DATA_TYPES_DATABASE[client]);
// Only keep native data types that are of the normalized data type.
return allTypes.filter((nativeDataType) => {
return (nativeDataTypeDatabase_1.NATIVE_DATA_TYPES_DATABASE[client][nativeDataType].normalizedType ===
normalizedDataType);
});
};
exports.getNativeDataTypesOfNormalizedType = getNativeDataTypesOfNormalizedType;
{
"name": "@vizzly/sqlbuilder-public",
"version": "0.1.1",
"version": "0.1.2",
"source": "src/index.ts",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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