factory-girl
Advanced tools
Comparing version 4.0.0-beta.3 to 4.0.0-beta.4
@@ -1138,2 +1138,23 @@ import _slicedToArray from 'babel-runtime/helpers/slicedToArray'; | ||
var SequelizeAdapter = function (_DefaultAdapter) { | ||
_inherits(SequelizeAdapter, _DefaultAdapter); | ||
function SequelizeAdapter() { | ||
_classCallCheck(this, SequelizeAdapter); | ||
return _possibleConstructorReturn(this, _Object$getPrototypeOf(SequelizeAdapter).apply(this, arguments)); | ||
} | ||
_createClass(SequelizeAdapter, [{ | ||
key: 'build', | ||
value: function build(Model, props) { | ||
return Model.build(props); | ||
} | ||
}]); | ||
return SequelizeAdapter; | ||
}(DefaultAdapter); | ||
/* eslint-disable no-unused-vars */ | ||
var ObjectAdapter = function (_DefaultAdapter) { | ||
@@ -1221,3 +1242,3 @@ _inherits(ObjectAdapter, _DefaultAdapter); | ||
export { BookshelfAdapter, DefaultAdapter, MongooseAdapter, ObjectAdapter, factory };export default factory; | ||
export { BookshelfAdapter, DefaultAdapter, MongooseAdapter, SequelizeAdapter, ObjectAdapter, factory };export default factory; | ||
//# sourceMappingURL=index.es6.js.map |
22
index.js
@@ -1144,2 +1144,23 @@ 'use strict'; | ||
var SequelizeAdapter = function (_DefaultAdapter) { | ||
_inherits(SequelizeAdapter, _DefaultAdapter); | ||
function SequelizeAdapter() { | ||
_classCallCheck(this, SequelizeAdapter); | ||
return _possibleConstructorReturn(this, _Object$getPrototypeOf(SequelizeAdapter).apply(this, arguments)); | ||
} | ||
_createClass(SequelizeAdapter, [{ | ||
key: 'build', | ||
value: function build(Model, props) { | ||
return Model.build(props); | ||
} | ||
}]); | ||
return SequelizeAdapter; | ||
}(DefaultAdapter); | ||
/* eslint-disable no-unused-vars */ | ||
var ObjectAdapter = function (_DefaultAdapter) { | ||
@@ -1230,2 +1251,3 @@ _inherits(ObjectAdapter, _DefaultAdapter); | ||
exports.MongooseAdapter = MongooseAdapter; | ||
exports.SequelizeAdapter = SequelizeAdapter; | ||
exports.ObjectAdapter = ObjectAdapter; | ||
@@ -1232,0 +1254,0 @@ exports.factory = factory; |
@@ -1144,2 +1144,23 @@ (function (global, factory) { | ||
var SequelizeAdapter = function (_DefaultAdapter) { | ||
_inherits(SequelizeAdapter, _DefaultAdapter); | ||
function SequelizeAdapter() { | ||
_classCallCheck(this, SequelizeAdapter); | ||
return _possibleConstructorReturn(this, _Object$getPrototypeOf(SequelizeAdapter).apply(this, arguments)); | ||
} | ||
_createClass(SequelizeAdapter, [{ | ||
key: 'build', | ||
value: function build(Model, props) { | ||
return Model.build(props); | ||
} | ||
}]); | ||
return SequelizeAdapter; | ||
}(DefaultAdapter); | ||
/* eslint-disable no-unused-vars */ | ||
var ObjectAdapter = function (_DefaultAdapter) { | ||
@@ -1230,2 +1251,3 @@ _inherits(ObjectAdapter, _DefaultAdapter); | ||
exports.MongooseAdapter = MongooseAdapter; | ||
exports.SequelizeAdapter = SequelizeAdapter; | ||
exports.ObjectAdapter = ObjectAdapter; | ||
@@ -1232,0 +1254,0 @@ exports.factory = factory; |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "4.0.0-beta.3", | ||
"version": "4.0.0-beta.4", | ||
"keywords": [ | ||
@@ -12,0 +12,0 @@ "factory", |
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
682737
13882
2