mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
Merge branch '4.x' into fix-492
This commit is contained in:
commit
1984f04c99
4 changed files with 28 additions and 25 deletions
|
@ -66,6 +66,15 @@ All notable changes to this project will be documented in this file. See [standa
|
|||
* replaced lunr by lunr-mutable ([#915](https://github.com/verdaccio/verdaccio/issues/915)) ([1602840](https://github.com/verdaccio/verdaccio/commit/1602840))
|
||||
* verdaccio update notification on CLI ([#988](https://github.com/verdaccio/verdaccio/issues/988)) ([#998](https://github.com/verdaccio/verdaccio/issues/998)) ([bc04703](https://github.com/verdaccio/verdaccio/commit/bc04703))
|
||||
|
||||
<a name="3.11.5"></a>
|
||||
## [3.11.5](https://github.com/verdaccio/verdaccio/compare/v3.11.4...v3.11.5) (2019-02-21)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* debugging with all ports ([c7789f1](https://github.com/verdaccio/verdaccio/commit/c7789f1))
|
||||
* package.json to reduce vulnerabilities ([5fdf678](https://github.com/verdaccio/verdaccio/commit/5fdf678))
|
||||
|
||||
|
||||
<a name="3.11.4"></a>
|
||||
## [3.11.4](https://github.com/verdaccio/verdaccio/compare/v3.11.3...v3.11.4) (2019-02-11)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@verdaccio/file-locking": "0.0.8",
|
||||
"@verdaccio/local-storage": "2.0.0-beta.1",
|
||||
"@verdaccio/local-storage": "2.0.0-beta.2",
|
||||
"@verdaccio/streams": "2.0.0-beta.0",
|
||||
"JSONStream": "1.3.5",
|
||||
"async": "3.0.1-0",
|
||||
|
@ -39,7 +39,7 @@
|
|||
"lockfile": "1.0.4",
|
||||
"lodash": "4.17.11",
|
||||
"lunr-mutable-indexes": "2.3.2",
|
||||
"marked": "0.6.0",
|
||||
"marked": "0.6.1",
|
||||
"mime": "2.4.0",
|
||||
"minimatch": "3.0.4",
|
||||
"mkdirp": "0.5.1",
|
||||
|
|
|
@ -363,16 +363,10 @@ describe('LocalStorage', () => {
|
|||
test('should fails on add a duplicated new tarball ', (done) => {
|
||||
const tarballData = JSON.parse(readMetadata('addTarball'));
|
||||
const stream = storage.addTarball(pkgName, tarballName);
|
||||
let spy;
|
||||
// $FlowFixMe
|
||||
spy = jest.spyOn(stream && stream._readableState && stream._readableState.pipes, 'abort');
|
||||
stream.on('error', (err) => {
|
||||
expect(err).not.toBeNull();
|
||||
expect(err.statusCode).toEqual(HTTP_STATUS.CONFLICT);
|
||||
expect(err.message).toMatch(/this package is already present/);
|
||||
});
|
||||
stream.on('success', function(){
|
||||
expect(spy).toHaveBeenCalled();
|
||||
done();
|
||||
});
|
||||
stream.end(new Buffer(tarballData.data, 'base64'));
|
||||
|
|
34
yarn.lock
34
yarn.lock
|
@ -1238,14 +1238,14 @@
|
|||
lockfile "1.0.4"
|
||||
lodash "4.17.11"
|
||||
|
||||
"@verdaccio/local-storage@2.0.0-beta.1":
|
||||
version "2.0.0-beta.1"
|
||||
resolved "https://registry.verdaccio.org/@verdaccio%2flocal-storage/-/local-storage-2.0.0-beta.1.tgz#1aa602b24fa2f6b02d682e5e56b4894112e198e6"
|
||||
integrity sha512-JpuO0e9DLFItagUqq6EbiaHpbGAql4IREu3ntprfYVrWgdypgcYWS5iwp+Py1Not/Ahv4cYXi+cQ5HMs4SOZBw==
|
||||
"@verdaccio/local-storage@2.0.0-beta.2":
|
||||
version "2.0.0-beta.2"
|
||||
resolved "https://registry.verdaccio.org/@verdaccio%2flocal-storage/-/local-storage-2.0.0-beta.2.tgz#fff60cdabc847ec9b125a3c2bf51786da6926d45"
|
||||
integrity sha512-OZrKWe04kBSuqHfPCRCPv7QBA2Lz5+jtPChirHhvSaguZ+a8UqxVgn7lLUNsvchKBQan4r5+4VJKXAh+JicrMg==
|
||||
dependencies:
|
||||
"@verdaccio/file-locking" "0.0.7"
|
||||
"@verdaccio/file-locking" "0.0.8"
|
||||
"@verdaccio/streams" "2.0.0-beta.0"
|
||||
async "2.6.1"
|
||||
async "3.0.1-0"
|
||||
http-errors "1.7.1"
|
||||
lodash "4.17.11"
|
||||
mkdirp "0.5.1"
|
||||
|
@ -1793,13 +1793,6 @@ async-limiter@~1.0.0:
|
|||
resolved "https://registry.verdaccio.org/async-limiter/-/async-limiter-1.0.0.tgz#78faed8c3d074ab81f22b4e985d79e8738f720f8"
|
||||
integrity sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==
|
||||
|
||||
async@2.6.1, async@^2.1.4, async@^2.5.0:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.verdaccio.org/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610"
|
||||
integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==
|
||||
dependencies:
|
||||
lodash "^4.17.10"
|
||||
|
||||
async@3.0.1-0:
|
||||
version "3.0.1-0"
|
||||
resolved "https://registry.verdaccio.org/async/-/async-3.0.1-0.tgz#ca06713f91c3d9eea3e966ace4093f41ef89f200"
|
||||
|
@ -1810,6 +1803,13 @@ async@^1.5.2:
|
|||
resolved "https://registry.verdaccio.org/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
|
||||
integrity sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=
|
||||
|
||||
async@^2.1.4, async@^2.5.0:
|
||||
version "2.6.1"
|
||||
resolved "https://registry.verdaccio.org/async/-/async-2.6.1.tgz#b245a23ca71930044ec53fa46aa00a3e87c6a610"
|
||||
integrity sha512-fNEiL2+AZt6AlAw/29Cr0UDe4sRAHCpEHh54WMz+Bb7QfNcFw4h3loofyJpLeQs4Yx7yuqu/2dLgM5hKOs6HlQ==
|
||||
dependencies:
|
||||
lodash "^4.17.10"
|
||||
|
||||
asynckit@^0.4.0:
|
||||
version "0.4.0"
|
||||
resolved "https://registry.verdaccio.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
|
||||
|
@ -8061,10 +8061,10 @@ markdown-table@^1.1.0:
|
|||
resolved "https://registry.verdaccio.org/markdown-table/-/markdown-table-1.1.2.tgz#c78db948fa879903a41bce522e3b96f801c63786"
|
||||
integrity sha512-NcWuJFHDA8V3wkDgR/j4+gZx+YQwstPgfQDV8ndUeWWzta3dnDTBxpVzqS9lkmJAuV5YX35lmyojl6HO5JXAgw==
|
||||
|
||||
marked@0.6.0:
|
||||
version "0.6.0"
|
||||
resolved "https://registry.verdaccio.org/marked/-/marked-0.6.0.tgz#a18d01cfdcf8d15c3c455b71c8329e5e0f01faa1"
|
||||
integrity sha512-HduzIW2xApSXKXJSpCipSxKyvMbwRRa/TwMbepmlZziKdH8548WSoDP4SxzulEKjlo8BE39l+2fwJZuRKOln6g==
|
||||
marked@0.6.1:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.verdaccio.org/marked/-/marked-0.6.1.tgz#a63addde477bca9613028de4b2bc3629e53a0562"
|
||||
integrity sha512-+H0L3ibcWhAZE02SKMqmvYsErLo4EAVJxu5h3bHBBDvvjeWXtl92rGUSBYHL2++5Y+RSNgl8dYOAXcYe7lp1fA==
|
||||
|
||||
math-expression-evaluator@^1.2.14:
|
||||
version "1.2.17"
|
||||
|
|
Loading…
Add table
Reference in a new issue