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

xpress-mongo

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpress-mongo - npm Package Compare versions

Comparing version 0.0.55 to 0.0.56

js/src/SchemaBuilder.js

2

index.ts
import {MongoClient, MongoClientOptions} from "mongodb";
import is = require('./src/XMongoSchemaBuilder');
import is = require('./src/SchemaBuilder');
import Projectors = require('./fn/projection');

@@ -4,0 +4,0 @@ import XMongoDataType = require('./src/XMongoDataType');

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

const mongodb_1 = require("mongodb");
const is = require("./src/XMongoSchemaBuilder");
const is = require("./src/SchemaBuilder");
exports.is = is;

@@ -8,0 +8,0 @@ const Projectors = require("./fn/projection");

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

const mongodb_1 = require("mongodb");
const XMongoSchemaBuilder_1 = __importDefault(require("./XMongoSchemaBuilder"));
const SchemaBuilder_1 = __importDefault(require("./SchemaBuilder"));
const deep_object_diff_1 = require("deep-object-diff");

@@ -315,3 +315,3 @@ const inbuilt_1 = require("../fn/inbuilt");

if (typeof schema === "function") {
schema = schema(XMongoSchemaBuilder_1.default);
schema = schema(SchemaBuilder_1.default);
}

@@ -318,0 +318,0 @@ if (typeof schema === 'object') {

{
"name": "xpress-mongo",
"version": "0.0.55",
"version": "0.0.56",
"description": "Light Weight ODM for mongoDb",

@@ -5,0 +5,0 @@ "main": "js/index.js",

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

import XMongoDataType from "./XMongoDataType";
import XMongoDataType = require("./XMongoDataType");

@@ -3,0 +3,0 @@ export type FunctionReturnsBoolean = (...args: any[]) => boolean;

@@ -17,3 +17,3 @@ import ObjectCollection = require('object-collection');

import is from './XMongoSchemaBuilder';
import is from './SchemaBuilder';
import {diff} from 'deep-object-diff';

@@ -20,0 +20,0 @@ import {defaultValue, runOrValidation, runAndValidation, RunOnEvent} from '../fn/inbuilt';

import { MongoClient, MongoClientOptions } from "mongodb";
import is = require('./src/XMongoSchemaBuilder');
import is = require('./src/SchemaBuilder');
import XMongoDataType = require('./src/XMongoDataType');

@@ -4,0 +4,0 @@ import XMongoClient = require('./src/XMongoClient');

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

import XMongoDataType from "./XMongoDataType";
import XMongoDataType = require("./XMongoDataType");
export declare type FunctionReturnsBoolean = (...args: any[]) => boolean;

@@ -3,0 +3,0 @@ export declare type FunctionReturnsVoidOrBoolean = (...args: any[]) => (boolean | void);

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