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

@synconset/factory-girl-typeorm

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@synconset/factory-girl-typeorm - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

index.js

@@ -20,3 +20,3 @@ class TypeOrmAdapter {

return manager.transaction(async (tm) => {
if (this.connection.type === 'sqlite') {
if (this.connection.options.type === 'sqlite') {
await tm.query('PRAGMA foreign_keys = OFF;');

@@ -27,3 +27,3 @@ } else {

await tm.delete(Model, model.id);
if (this.connection.type === 'sqlite') {
if (this.connection.options.type === 'sqlite') {
return tm.query('PRAGMA foreign_keys = ON;');

@@ -30,0 +30,0 @@ } else {

{
"name": "@synconset/factory-girl-typeorm",
"version": "2.0.0",
"version": "2.0.1",
"description": "Typeorm adapter for factory-girl",

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

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