Socket
Socket
Sign inDemoInstall

@simplysm/sd-orm-common

Package Overview
Dependencies
Maintainers
1
Versions
584
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simplysm/sd-orm-common - npm Package Compare versions

Comparing version 4.0.1 to 4.0.3

dist-browser/CaseQueryHelper.js

10

package.json
{
"name": "@simplysm/sd-orm-common",
"version": "4.0.1",
"version": "4.0.3",
"description": "심플리즘 패키지 - ORM 모듈 (browser/node)",

@@ -8,9 +8,9 @@ "author": "김석래",

"license": "MIT",
"main": "./dist/node/index.js",
"browser": "./dist/browser/index.js",
"types": "./dist/types/index.d.ts",
"main": "./dist-node/index.js",
"browser": "./dist-browser/index.js",
"types": "./dist-types/index.d.ts",
"sideEffects": false,
"dependencies": {
"@simplysm/sd-core-common": "4.0.1"
"@simplysm/sd-core-common": "4.0.3"
}
}

@@ -179,3 +179,3 @@ import { DateOnly, DateTime, Time, Type, UnwrappedType, Uuid, WrappedType } from "@simplysm/sd-core-common";

select?: { [key: string]: TQueryBuilderValue };
select?: Record<string, TQueryBuilderValue>;
}

@@ -189,3 +189,3 @@

from: string;
record: { [key: string]: string };
record: Record<string, string>;
output?: string[];

@@ -196,3 +196,3 @@ }

from: string;
record: { [key: string]: string };
record: Record<string, string>;
output?: string[];

@@ -204,4 +204,4 @@ }

as: string;
updateRecord: { [key: string]: string };
insertRecord: { [key: string]: string };
updateRecord: Record<string, string>;
insertRecord: Record<string, string>;
where: TQueryBuilderValue[];

@@ -221,4 +221,4 @@ output?: string[];

export interface IQueryResultParseOption {
columns?: { [name: string]: { dataType: string | undefined } };
joins?: { [as: string]: { isSingle: boolean } };
columns?: Record<string, { dataType: string | undefined }>;
joins?: Record<string, { isSingle: boolean }>;
}

@@ -225,0 +225,0 @@

@@ -138,3 +138,3 @@ import { QueryBuilder } from "./QueryBuilder";

public async bulkInsertAsync(tableName: string, columnDefs: IQueryColumnDef[], ...records: { [key: string]: any }[]): Promise<void> {
public async bulkInsertAsync(tableName: string, columnDefs: IQueryColumnDef[], ...records: Record<string, any>[]): Promise<void> {
return await this._executor.bulkInsertAsync(tableName, columnDefs, ...records);

@@ -141,0 +141,0 @@ }

@@ -18,5 +18,5 @@ import { IQueryColumnDef, IQueryResultParseOption, TQueryDef } from "./commons";

bulkInsertAsync(tableName: string, columnDefs: IQueryColumnDef[], ...records: { [key: string]: any }[]): Promise<void>;
bulkInsertAsync(tableName: string, columnDefs: IQueryColumnDef[], ...records: Record<string, any>[]): Promise<void>;
closeAsync(): Promise<void>;
}

@@ -469,4 +469,4 @@ import { DbContext } from "./DbContext";

public getSelectDef(): ISelectQueryDef & { select: { [key: string]: TQueryBuilderValue } } {
const result: ISelectQueryDef & { select: { [key: string]: TQueryBuilderValue } } = {} as any;
public getSelectDef(): ISelectQueryDef & { select: Record<string, TQueryBuilderValue> } {
const result: ISelectQueryDef & { select: Record<string, TQueryBuilderValue> } = {} as any;

@@ -473,0 +473,0 @@ // FROM 구성

@@ -9,3 +9,3 @@ {

],
"outDir": "dist/browser",
"outDir": "dist-browser",
"declaration": false

@@ -12,0 +12,0 @@ },

@@ -9,5 +9,5 @@ {

],
"outDir": "dist/node",
"outDir": "dist-node",
"declaration": true,
"declarationDir": "dist/types"
"declarationDir": "dist-types"
},

@@ -14,0 +14,0 @@ "files": [

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