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.5 to 1.0.6

12

index.js

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

factory.adapterFor = function (name) {
return adapters[name] || defaultAdapter;
if (adapters[name] !== undefined) {
return adapters[name];
} else if (adapters.length > 0) {
return adapters[0];
} else {
return defaultAdapter;
}
};

@@ -340,2 +346,6 @@

var model = factories[name].model;
console.log('===========');
console.log('factory name!');
console.log(factories[name]);
attrs = merge(copy(factories[name].attributes), attrs);

@@ -342,0 +352,0 @@ var names = keys(attrs);

2

package.json

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

"author": "Gonzalo Santome",
"version": "1.0.5",
"version": "1.0.6",
"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