@superhero/db 1.0.1-rc.2.0 → 1.0.1-rc.3.0

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const
2
2
  util = require('util'),
3
3
  fs = require('fs'),
4
- os = require('os'),
4
+ path = require('path'),
5
5
  promisify = util.promisify,
6
6
  readFile = promisify(fs.readFile)
7
7
 
@@ -10,7 +10,7 @@ class Db
10
10
  constructor(adaptor, queryPath, fileSuffix = '')
11
11
  {
12
12
  this.adaptor = adaptor
13
- this.queryPath = require('path').normalize(queryPath) + os.EOL
13
+ this.queryPath = path.normalize(queryPath) + path.sep
14
14
  this.fileSuffix = fileSuffix
15
15
  this.queries = {}
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superhero/db",
3
- "version": "1.0.1-rc.2.0",
3
+ "version": "1.0.1-rc.3.0",
4
4
  "description": "Db interaction, designed to separate queries from the source code",
5
5
  "repository": {
6
6
  "type": "git",