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

@berish/orm

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@berish/orm - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

2

build/plain/queueActions/save.d.ts
import { QueueAction } from '../../utils';
import { IPlainQueueActionData, IPlainRaw } from '../plain';
export declare function generateId(src: string, dst: string, parent: string, level: number): any;
export declare function generateId(src: string, dst: string, parent: string, level: number): string;
export declare function generateElement(src: string, dst: string, parent: string, level: number): IPlainRaw;
export declare const saveAction: QueueAction<IPlainQueueActionData>;

@@ -45,6 +45,6 @@ import { Entity } from '../entity';

static fromJSON<T extends Entity = Entity>(queryData: QueryData<QueryDataSchema>): Query<T>;
static getHash(queryData: QueryData<QueryDataSchema>): any;
static getHash(queryData: QueryData<QueryDataSchema>): string;
constructor(ctor: string | (new () => T));
get json(): QueryData<QueryDataSchema>;
get hash(): any;
get hash(): string;
get className(): string;

@@ -51,0 +51,0 @@ append<TKey extends keyof QueryDataSchema>(key: TKey, value: QueryDataSchema[TKey]): this;

export declare function getHash(obj: {
[key: string]: any;
}): any;
}): string;

@@ -7,3 +7,3 @@ "use strict";

const strJSON = JSON.stringify(obj || {});
const words = crypto.SHA256(strJSON, strJSON);
const words = crypto.SHA256(strJSON);
return words.toString();

@@ -10,0 +10,0 @@ }

{
"name": "@berish/orm",
"version": "0.9.0",
"version": "0.9.1",
"description": "ORM",

@@ -46,2 +46,3 @@ "main": "build/index.js",

"devDependencies": {
"@types/crypto-js": "^4.0.1",
"@types/faker": "^5.1.3",

@@ -48,0 +49,0 @@ "@types/jest": "^26.0.15",

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