@verdaccio/local-storage
Advanced tools
Comparing version 1.1.3 to 1.2.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/verdaccio/local-storage/compare/v1.1.3...v1.2.0) (2018-08-25) | ||
### Features | ||
* change new db name to verdaccio ([#83](https://github.com/verdaccio/local-storage/issues/83)) ([143977d](https://github.com/verdaccio/local-storage/commit/143977d)) | ||
<a name="1.1.3"></a> | ||
@@ -7,0 +17,0 @@ ## [1.1.3](https://github.com/verdaccio/local-storage/compare/v1.1.2...v1.1.3) (2018-07-15) |
@@ -252,3 +252,12 @@ 'use strict'; | ||
_buildStoragePath(config) { | ||
return _path2.default.join(_path2.default.resolve(_path2.default.dirname(config.self_path || ''), config.storage, '.sinopia-db.json')); | ||
const dbGenPath = function dbGenPath(dbName) { | ||
return _path2.default.join(_path2.default.resolve(_path2.default.dirname(config.self_path || ''), config.storage, dbName)); | ||
}; | ||
const sinopiadbPath = dbGenPath('.sinopia-db.json'); | ||
if (_fs2.default.existsSync(sinopiadbPath)) { | ||
return sinopiadbPath; | ||
} | ||
return dbGenPath('.verdaccio-db.json'); | ||
} | ||
@@ -255,0 +264,0 @@ |
{ | ||
"name": "@verdaccio/local-storage", | ||
"version": "1.1.3", | ||
"version": "1.2.0", | ||
"description": "local storage implementation", | ||
@@ -15,3 +15,3 @@ "main": "lib/index.js", | ||
"format": "prettier --single-quote --trailing-comma none --write \"{src,test}/**/*.js\"", | ||
"cover": "cross-env NODE_ENV=test nyc npm t" | ||
"coverage:publish": "codecov" | ||
}, | ||
@@ -22,3 +22,3 @@ "dependencies": { | ||
"async": "2.6.1", | ||
"http-errors": "1.6.2", | ||
"http-errors": "1.7.0", | ||
"lodash": "4.17.10", | ||
@@ -28,26 +28,27 @@ "mkdirp": "0.5.1" | ||
"devDependencies": { | ||
"@commitlint/cli": "6.1.3", | ||
"@commitlint/config-conventional": "6.1.3", | ||
"@verdaccio/types": "3.0.0", | ||
"@commitlint/cli": "7.0.0", | ||
"@commitlint/config-conventional": "7.0.1", | ||
"@verdaccio/types": "3.7.1", | ||
"babel-cli": "6.26.0", | ||
"babel-core": "6.26.0", | ||
"babel-eslint": "8.2.3", | ||
"babel-jest": "22.4.3", | ||
"babel-core": "6.26.3", | ||
"babel-eslint": "8.2.6", | ||
"babel-jest": "23.4.2", | ||
"babel-plugin-flow-runtime": "0.17.0", | ||
"babel-preset-env": "1.6.1", | ||
"babel-preset-env": "1.7.0", | ||
"babel-preset-flow": "6.23.0", | ||
"cross-env": "5.1.4", | ||
"eslint": "4.19.1", | ||
"codecov": "3.0.4", | ||
"cross-env": "5.2.0", | ||
"eslint": "5.4.0", | ||
"eslint-config-google": "0.9.1", | ||
"eslint-config-prettier": "2.9.0", | ||
"eslint-plugin-flowtype": "2.46.3", | ||
"eslint-plugin-jest": "21.15.1", | ||
"eslint-plugin-prettier": "2.6.0", | ||
"flow-bin": "0.70.0", | ||
"eslint-config-prettier": "3.0.1", | ||
"eslint-plugin-flowtype": "2.50.0", | ||
"eslint-plugin-jest": "21.22.0", | ||
"eslint-plugin-prettier": "2.6.2", | ||
"flow-bin": "0.79.1", | ||
"flow-runtime": "0.17.0", | ||
"husky": "0.14.3", | ||
"jest": "22.4.3", | ||
"prettier": "1.12.1", | ||
"jest": "23.5.0", | ||
"prettier": "1.14.2", | ||
"rmdir-sync": "1.0.1", | ||
"standard-version": "4.3.0" | ||
"standard-version": "4.4.0" | ||
}, | ||
@@ -54,0 +55,0 @@ "publishConfig": { |
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
29736
12
592
25
+ Addeddepd@1.1.2(transitive)
+ Addedhttp-errors@1.7.0(transitive)
+ Addedsetprototypeof@1.1.0(transitive)
+ Addedtoidentifier@1.0.0(transitive)
- Removeddepd@1.1.1(transitive)
- Removedhttp-errors@1.6.2(transitive)
- Removedsetprototypeof@1.0.3(transitive)
Updatedhttp-errors@1.7.0