New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uniqorm

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uniqorm - npm Package Compare versions

Comparing version 1.0.0-alpha.9 to 1.0.0-alpha.10

14

lib/Uniqorm.js

@@ -75,16 +75,8 @@ /* UNIQORM

*
* @param {string} [modelName]
* @param {string} [name]
* @return {Function|undefined}
* @public
*/
Uniqorm.prototype.get = function(modelName) {
if (!modelName)
return undefined;
const m = modelName.match(MODEL_NAME_PATTERN);
if (!m)
throw new ArgumentError('Invalid model modelName `%s`', modelName);
var o = this.models;
if (m[1])
o = o[m[1]];
return o && o[m[2]];
Uniqorm.prototype.get = function(name) {
return this.models[name];
};
{
"name": "uniqorm",
"description": "Easy to use, multi-dialect ORM framework for JavaScript",
"version": "1.0.0-alpha.9",
"version": "1.0.0-alpha.10",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

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