verdaccio-memory
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -25,7 +25,10 @@ 'use strict'; | ||
getSecret() { | ||
return this.data.secret; | ||
return Promise.resolve(this.data.secret); | ||
} | ||
setSecret(secret) { | ||
this.data.secret = secret; | ||
return new Promise((resolve, reject) => { | ||
this.data.secret = secret; | ||
resolve(null); | ||
}); | ||
} | ||
@@ -32,0 +35,0 @@ |
{ | ||
"name": "verdaccio-memory", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "storage implementation in memory", | ||
@@ -26,3 +26,3 @@ "main": "lib/index.js", | ||
"@commitlint/travis-cli": "6.0.2", | ||
"@verdaccio/types": "2.1.0", | ||
"@verdaccio/types": "2.2.0", | ||
"babel-cli": "6.26.0", | ||
@@ -29,0 +29,0 @@ "babel-core": "6.26.0", |
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
10285
209