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

factory-girl-default

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

factory-girl-default - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

14

index.js

@@ -145,9 +145,17 @@ /* global window, define */

factory.adapterFor = function (name) {
console.log('=============== START: adapterFor ===============');
let adapter;
if (adapters[name] !== undefined) {
return adapters[name];
console.log('1 - ', adapters[name]);
adapter = adapters[name];
} else if (adapters.length > 0) {
return adapters[0];
console.log('2 - ', adapters[0], adapters);
adapter = adapters[0];
} else {
return defaultAdapter;
console.log('3 - ', defaultAdapter);
adapter = defaultAdapter;
}
console.log('=============== END: adapterFor ===============');
return adapter;
};

@@ -154,0 +162,0 @@

@@ -6,3 +6,3 @@ {

"author": "Gonzalo Santome",
"version": "1.0.6",
"version": "1.0.7",
"keywords": [

@@ -9,0 +9,0 @@ "factory",

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