mevn-orm 2.3.1 → 2.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 StanoJs
3
+ Copyright (c) 2021 Stanley Masinde
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/initDb CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/bin/env node
2
2
  require('dotenv').config()
3
3
  const Knex = require('knex')
4
- const { development, staging, production } = require('./knexfile.cjs')
4
+ const { development, staging, production } = require('./knexfile.js')
5
5
  let config
6
6
 
7
7
  switch (process.env.NODE_ENV) {
File without changes
package/lib/model.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const knex = require('knex').knex
2
- const { development, staging, production } = require(process.cwd() + '/knexfile.cjs')
2
+ const { development, staging, production } = require(process.cwd() + '/knexfile.js')
3
3
  const pluralize = require('pluralize')
4
4
  let config
5
5
  switch (process.env.NODE_ENV) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mevn-orm",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "simple ORM for express js",
5
5
  "type": "commonjs",
6
6
  "scripts": {
@@ -37,7 +37,7 @@
37
37
  "@babel/plugin-proposal-class-properties": "^7.14.5",
38
38
  "@vscode/sqlite3": "^5.0.7",
39
39
  "chai": "^4.2.0",
40
- "dotenv": "^8.6.0",
40
+ "dotenv": "^15.0.0",
41
41
  "eslint": "^7.25.0",
42
42
  "faker": "^5.5.3",
43
43
  "knex": "^1.0.1",