Socket
Socket
Sign inDemoInstall

iridium

Package Overview
Dependencies
26
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.1.3 to 7.1.5

1

dist/benchmarks/mongodb.js

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -10,0 +11,0 @@ const Bluebird = require("bluebird");

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -10,0 +11,0 @@ let User = class User extends Iridium.Instance {

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const _ = require("lodash");

@@ -10,0 +11,0 @@ const Promise = require("bluebird");

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

}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./lib/Core"));

@@ -7,0 +8,0 @@ __export(require("./lib/Model"));

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Aggregate.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var mongodb_1 = require("mongodb");

@@ -3,0 +4,0 @@ exports.ObjectID = mongodb_1.ObjectID;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Cache.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MongoDB = require("mongodb");

@@ -3,0 +4,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CacheDirector.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Bluebird = require("bluebird");

@@ -3,0 +4,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Bluebird = require("bluebird");

@@ -3,0 +4,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Changes.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Conditions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Configuration.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Bluebird = require("bluebird");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Bluebird = require("bluebird");

@@ -3,0 +4,0 @@ /**

2

dist/lib/Decorators.d.ts

@@ -72,3 +72,3 @@ import * as MongoDB from "mongodb";

*/
export declare function Transform(fromDB: (value: any, property: string, model: Model<any, any>) => any, toDB: (value: any, property: string, model: Model<any, any>) => any): (target: Instance<any, any>, property?: string) => void;
export declare function Transform(fromDB: (value: any, property: string, model: Model<any, any>) => any, toDB: (value: any, property: string, model: Model<any, any>) => any): (target: InstanceImplementation<any, any> | Instance<any, any>, property?: string) => void;
/**

@@ -75,0 +75,0 @@ * Specifies that this property should be treated as an ObjectID, with the requisite validator and transforms.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MongoDB = require("mongodb");

@@ -3,0 +4,0 @@ const _ = require("lodash");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=General.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Hooks.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Validators_1 = require("./Validators");

@@ -3,0 +4,0 @@ const _ = require("lodash");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=InstanceInterface.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Middleware.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**

@@ -3,0 +4,0 @@ * A factory method which creates Express/Connect compatible middleware functions to inject

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MongoDB = require("mongodb");

@@ -3,0 +4,0 @@ const Bluebird = require("bluebird");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Bluebird = require("bluebird");

@@ -3,0 +4,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _ = require("lodash");

@@ -3,0 +4,0 @@ const Bluebird = require("bluebird");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MongoDB = require("mongodb");

@@ -3,0 +4,0 @@ const Skmatc = require("skmatc");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ModelInterfaces.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ModelOptions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _ = require("lodash");

@@ -3,0 +4,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Plugins.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Schema.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const BSON_1 = require("./BSON");

@@ -3,0 +4,0 @@ exports.DefaultTransforms = {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MongoDB = require("mongodb");

@@ -3,0 +4,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const _ = require("lodash");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const lodash_1 = require("lodash");

@@ -3,0 +4,0 @@ function BuildUrl(config) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const MongoDB = require("mongodb");

@@ -3,0 +4,0 @@ const Skmatc = require("skmatc");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const chai = require("chai");

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -10,0 +11,0 @@ let Instance = class Instance extends Iridium.Instance {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const events = require("events");

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -39,3 +40,4 @@ const skmatc = require("skmatc");

Iridium.Property("version", "version"),
Iridium.Property("optional2", Boolean, false)
Iridium.Property("optional2", Boolean, false),
Iridium.Transform(doc => doc, doc => doc)
], Test);

@@ -42,0 +44,0 @@ describe("Decorators", () => {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const Events = require("events");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const chai = require("chai");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const chai = require("chai");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Omnom_1 = require("../lib/utils/Omnom");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const Skmatc = require("skmatc");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const chai = require("chai");

@@ -3,0 +4,0 @@ const chaiAsPromised = require("chai-as-promised");

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -10,0 +11,0 @@ const MongoDB = require("mongodb");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const UrlBuilder_1 = require("../lib/utils/UrlBuilder");

@@ -3,0 +4,0 @@ const chai = require("chai");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -3,0 +4,0 @@ const MongoDB = require("mongodb");

@@ -8,2 +8,3 @@ "use strict";

};
Object.defineProperty(exports, "__esModule", { value: true });
const Iridium = require("../iridium");

@@ -10,0 +11,0 @@ const MongoDB = require("mongodb");

{
"name": "iridium",
"version": "7.1.3",
"version": "7.1.5",
"author": "Benjamin Pannell <admin@sierrasoftworks.com>",

@@ -53,16 +53,16 @@ "description": "A custom lightweight ORM for MongoDB designed for power-users",

"dependencies": {
"@types/bluebird": "^3.0.37",
"@types/lodash": "^4.14.52",
"@types/mongodb": "^2.1.38",
"@types/chai": "^3.4.34",
"bluebird": "^3.4.6",
"lodash": "^4.16.2",
"mongodb": "^2.2.11",
"@types/bluebird": "^3.5.2",
"@types/lodash": "^4.14.58",
"@types/mongodb": "^2.1.41",
"@types/chai": "^3.4.35",
"bluebird": "^3.5.0",
"lodash": "^4.17.4",
"mongodb": "^2.2.25",
"skmatc": "~1.2.2"
},
"peerDependencies": {
"@types/bluebird": "^3.0.37",
"@types/lodash": "^4.14.52",
"@types/mongodb": "^2.1.38",
"@types/chai": "^3.4.34"
"@types/bluebird": "^3.5.2",
"@types/lodash": "^4.14.58",
"@types/mongodb": "^2.1.41",
"@types/chai": "^3.4.35"
},

@@ -85,3 +85,3 @@ "devDependencies": {

"typedoc": "~0.5.1",
"typescript": "~2.1.4"
"typescript": "~2.2.1"
},

@@ -88,0 +88,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc