verdaccio-memory
Advanced tools
Comparing version 8.0.0-next.1 to 8.0.0-next.2
@@ -6,2 +6,10 @@ # Change Log | ||
# [8.0.0-next.2](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.1...v8.0.0-next.2) (2019-08-03) | ||
**Note:** Version bump only for package verdaccio-memory | ||
# [8.0.0-next.1](https://github.com/verdaccio/monorepo/compare/v8.0.0-next.0...v8.0.0-next.1) (2019-08-01) | ||
@@ -8,0 +16,0 @@ |
@@ -109,2 +109,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9sb2NhbC1tZW1vcnkudHMiXSwibmFtZXMiOlsiREVGQVVMVF9MSU1JVCIsIkxvY2FsTWVtb3J5IiwiY29uc3RydWN0b3IiLCJjb25maWciLCJvcHRpb25zIiwibGltaXQiLCJsb2dnZXIiLCJkYXRhIiwiX2NyZWF0ZUVtdHB5RGF0YWJhc2UiLCJwYXRoIiwiZ2V0U2VjcmV0IiwiUHJvbWlzZSIsInJlc29sdmUiLCJzZWNyZXQiLCJzZXRTZWNyZXQiLCJyZWplY3QiLCJhZGQiLCJuYW1lIiwiY2IiLCJsaXN0IiwibGVuZ3RoIiwiaW5kZXhPZiIsInB1c2giLCJpbmZvIiwiRXJyb3IiLCJzZWFyY2giLCJvblBhY2thZ2UiLCJvbkVuZCIsInZhbGlkYXRlTmFtZSIsInJlbW92ZSIsIml0ZW0iLCJzcGxpY2UiLCJnZXQiLCJzeW5jIiwiZ2V0UGFja2FnZVN0b3JhZ2UiLCJwYWNrYWdlSW5mbyIsIk1lbW9yeUhhbmRsZXIiLCJmaWxlcyIsImVtcHR5RGF0YWJhc2UiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFBQTs7Ozs7O0FBVUEsTUFBTUEsYUFBYSxHQUFHLElBQXRCOztBQUNBLE1BQU1DLFdBQU4sQ0FBMEQ7QUFPeERDLEV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HJlbW92ZShuYW1lOiBzdHJpbmcsIGNiOiBDYWxsYmFjaykge1xuICAgIGNvbnN0IHsgbGlzdCB9ID0gdGhpcy5kYXRhO1xuICAgIGNvbnN0IGl0ZW0gPSBsaXN0LmluZGV4T2YobmFtZSk7XG5cbiAgICBpZiAoaXRlbSAhPT0gLTEpIHtcbiAgICAgIGxpc3Quc3BsaWNlKGl0ZW0sIDEpO1xuICAgIH1cblxuICAgIGNiKG51bGwpO1xuICB9XG5cbiAgZ2V0KGNiOiBDYWxsYmFjaykge1xuICAgIGNiKG51bGwsIHRoaXMuZGF0YS5saXN0KTtcbiAgfVxuXG4gIHN5bmMoKSB7XG4gICAgLy8gbm90aGluZyB0byBkb1xuICB9XG5cbiAgZ2V0UGFja2FnZVN0b3JhZ2UocGFja2FnZUluZm86IHN0cmluZykge1xuICAgIHJldHVybiBuZXcgTWVtb3J5SGFuZGxlcihwYWNrYWdlSW5mbywgdGhpcy5kYXRhLmZpbGVzLCB0aGlzLmxvZ2dlcik7XG4gIH1cblxuICBfY3JlYXRlRW10cHlEYXRhYmFzZSgpOiBNZW1vcnlMb2NhbFN0b3JhZ2Uge1xuICAgIGNvbnN0IGxpc3Q6IGFueSA9IFtdO1xuICAgIGNvbnN0IGZpbGVzOiBhbnkgPSB7fTtcbiAgICBjb25zdCBlbXB0eURhdGFiYXNlID0ge1xuICAgICAgbGlzdCxcbiAgICAgIGZpbGVzLFxuICAgICAgc2VjcmV0OiAnJyxcbiAgICB9O1xuXG4gICAgcmV0dXJuIGVtcHR5RGF0YWJhc2U7XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTG9jYWxNZW1vcnk7XG4iXX0= |
@@ -180,2 +180,2 @@ "use strict"; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tZW1vcnktaGFuZGxlci50cyJdLCJuYW1lcyI6WyJub1N1Y2hGaWxlIiw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FnZUZvdW5kRXJyb3IoKSk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgY29uc3QgcmVhZFN0cmVhbSA9IGZzLmNyZWF0ZVJlYWRTdHJlYW0ocGF0aE5hbWUpO1xuXG4gICAgICAgICAgcmVhZFRhcmJhbGxTdHJlYW0uZW1pdCgnY29udGVudC1sZW5ndGgnLCBmcy5kYXRhW25hbWVdLmxlbmd0aCk7XG4gICAgICAgICAgcmVhZFRhcmJhbGxTdHJlYW0uZW1pdCgnb3BlbicpO1xuICAgICAgICAgIHJlYWRTdHJlYW0ucGlwZShyZWFkVGFyYmFsbFN0cmVhbSk7XG4gICAgICAgICAgcmVhZFN0cmVhbS5vbignZXJyb3InLCAoZXJyb3I6IGFueSkgPT4ge1xuICAgICAgICAgICAgcmVhZFRhcmJhbGxTdHJlYW0uZW1pdCgnZXJyb3InLCBlcnJvcik7XG4gICAgICAgICAgfSk7XG5cbiAgICAgICAgICByZWFkVGFyYmFsbFN0cmVhbS5hYm9ydCA9IGZ1bmN0aW9uKCkge1xuICAgICAgICAgICAgcmVhZFN0cmVhbS5kZXN0cm95KGZTRXJyb3IoJ3JlYWQgaGFzIGJlZW4gYWJvcnRlZCcsIDQwMCkpO1xuICAgICAgICAgIH07XG4gICAgICAgIH1cbiAgICAgIH0pO1xuICAgIH0pO1xuXG4gICAgcmV0dXJuIHJlYWRUYXJiYWxsU3RyZWFtO1xuICB9XG5cbiAgX2dldFN0b3JhZ2UobmFtZTogc3RyaW5nID0gJycpOiBzdHJpbmcge1xuICAgIHJldHVybiB0aGlzLmRhdGFbbmFtZV07XG4gIH1cbn1cblxuZXhwb3J0IGRlZmF1bHQgTWVtb3J5SGFuZGxlcjtcbiJdfQ== |
{ | ||
"name": "verdaccio-memory", | ||
"version": "8.0.0-next.1", | ||
"version": "8.0.0-next.2", | ||
"description": "Storage implementation in memory", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@verdaccio/streams": "^8.0.0-next.1", | ||
"@verdaccio/streams": "^8.0.0-next.2", | ||
"http-errors": "1.7.2", | ||
@@ -28,4 +28,4 @@ "memory-fs": "0.4.1" | ||
"devDependencies": { | ||
"@verdaccio/babel-preset": "^8.0.0-next.1", | ||
"@verdaccio/eslint-config": "^8.0.0-next.1", | ||
"@verdaccio/babel-preset": "^8.0.0-next.2", | ||
"@verdaccio/eslint-config": "^8.0.0-next.2", | ||
"@verdaccio/types": "^5.3.0" | ||
@@ -39,5 +39,4 @@ }, | ||
"format": "prettier --single-quote --trailing-comma none --write \"{src,test}/**/*.ts\"", | ||
"lint": "eslint . --ext .js,.ts", | ||
"lint": "eslint \"**/*.{js,ts}\"", | ||
"lint:stage": "lint-staged", | ||
"pretest": "npm run lint", | ||
"test": "jest", | ||
@@ -49,8 +48,7 @@ "type-check": "tsc --noEmit", | ||
"**/*.{js,ts}": [ | ||
"eslint .", | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
] | ||
}, | ||
"gitHead": "f8ed319778e95dff21aa6113be45300570d00de8" | ||
"gitHead": "91ffbef68827bb79d1240846c76327df89f97cad" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35669
1