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

sequelize-fixtures

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sequelize-fixtures - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

2

package.json
{
"name": "sequelize-fixtures",
"version": "0.5.2",
"version": "0.5.3",
"description": "sequelize fixture loader",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,7 +25,9 @@ [![Build Status](https://travis-ci.org/domasx2/sequelize-fixtures.svg?branch=master)](https://travis-ci.org/domasx2/sequelize-fixtures)

```javascript
var sequelize_fixtures = require('sequelize-fixtures'),
models = {
Foo: require('./models/Foo')
};
const sequelize_fixtures = require('sequelize-fixtures');
//a map of [model name] : model
//see offical example on how to load models
//https://github.com/sequelize/express-example/blob/master/models/index.js
const models = require('./models');
//from file

@@ -32,0 +34,0 @@ sequelize_fixtures.loadFile('fixtures/test_data.json', models).then(function(){

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