Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@borodindmitriy/base-code

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@borodindmitriy/base-code - npm Package Compare versions

Comparing version
3.0.1
to
3.0.2
+1
-1
lib/back/toMongo.d.ts
import { ObjectId } from "bson";
import { IInsert } from "interfaces/IInsert";
import { IInsert } from "../interfaces/IInsert";
export declare function toMongo<T extends IInsert>(instance: T): {

@@ -4,0 +4,0 @@ [key: string]: any;

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

const bson_1 = require("bson");
const isType_1 = require("utils/isType");
const isType_1 = require("../utils/isType");
function toMongo(instance) {

@@ -8,0 +8,0 @@ const _a = instance.toJS(), { id } = _a, data = tslib_1.__rest(_a, ["id"]);

{
"name": "@borodindmitriy/base-code",
"description": "Common classes's library.",
"version": "3.0.1",
"version": "3.0.2",
"engines": {

@@ -11,3 +11,5 @@ "node": ">=8",

"types": "lib",
"files": ["lib"],
"files": [
"lib"
],
"publishConfig": {

@@ -14,0 +16,0 @@ "registry": "https://registry.npmjs.org/",