@verdaccio/server 6.0.0-6-next.29 → 6.0.0-6-next.32

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 (73) hide show
  1. package/.babelrc +1 -1
  2. package/CHANGELOG.md +91 -0
  3. package/build/debug/index.d.ts +1 -1
  4. package/build/debug/index.js +1 -1
  5. package/build/debug/index.js.map +1 -1
  6. package/build/env.js.map +1 -1
  7. package/build/index.js.map +1 -1
  8. package/build/server.d.ts +2 -2
  9. package/build/server.js +5 -3
  10. package/build/server.js.map +1 -1
  11. package/build/utils.d.ts +1 -0
  12. package/build/utils.js +19 -0
  13. package/build/utils.js.map +1 -0
  14. package/jest.config.js +7 -2
  15. package/package.json +70 -71
  16. package/src/debug/index.ts +2 -2
  17. package/src/server.ts +8 -7
  18. package/src/utils.ts +11 -0
  19. package/test/_helper.ts +29 -0
  20. package/test/config/conf.yaml +28 -0
  21. package/test/config/no_debug.yaml +26 -0
  22. package/test/config/powered-custom.yaml +29 -0
  23. package/test/config/powered-disabled.yaml +29 -0
  24. package/test/config/web-disabled.yaml +27 -0
  25. package/test/server.spec.ts +113 -0
  26. package/tsconfig.build.json +1 -1
  27. package/tsconfig.json +14 -14
  28. package/jest.setup.js +0 -1
  29. package/test/.eslintrc +0 -8
  30. package/test/README.md +0 -12
  31. package/test/api/api.spec.yaml +0 -87
  32. package/test/api/helpers/publish-api.js +0 -60
  33. package/test/api/helpers/utils.ts +0 -149
  34. package/test/api/htpasswd +0 -10
  35. package/test/api/index.spec.ts +0 -862
  36. package/test/api/mock/store/@jquery/jquery/jquery-1.5.1.tgz +0 -0
  37. package/test/api/mock/store/@jquery/jquery/package.json +0 -76
  38. package/test/api/mock/store/corrupted-package/package.json +0 -12
  39. package/test/api/mock/store/jquery/jquery-1.5.1.tgz +0 -0
  40. package/test/api/mock/store/jquery/package.json +0 -4919
  41. package/test/api/mock/store/npm_test/package.json +0 -75
  42. package/test/api/mock/store/vue/package.json +0 -25169
  43. package/test/api/plugin/filter.ts +0 -25
  44. package/test/basic/basic.yaml +0 -14
  45. package/test/basic/index.spec.ts +0 -64
  46. package/test/jwt/index.spec.ts +0 -163
  47. package/test/jwt/jwt.yaml +0 -35
  48. package/test/jwt/mock/store/vue/package.json +0 -25169
  49. package/test/package-access/index.spec.ts +0 -100
  50. package/test/package-access/mock/store/.gitkeep +0 -0
  51. package/test/package-access/mock/store/jquery/jquery-1.5.1.tgz +0 -0
  52. package/test/package-access/mock/store/jquery/package.json +0 -4919
  53. package/test/package-access/mock/store/vue/package.json +0 -25169
  54. package/test/package-access/pkg.access.yaml +0 -12
  55. package/test/profile/index.spec.ts +0 -129
  56. package/test/profile/mock/store/.gitkeep +0 -0
  57. package/test/profile/profile.yaml +0 -21
  58. package/test/storage/index.spec.ts +0 -219
  59. package/test/storage/mock/store/@jquery/jquery/jquery-1.5.1.tgz +0 -0
  60. package/test/storage/mock/store/@jquery/jquery/package.json +0 -76
  61. package/test/storage/mock/store/corrupted-package/package.json +0 -12
  62. package/test/storage/mock/store/jquery/jquery-1.5.1.tgz +0 -0
  63. package/test/storage/mock/store/jquery/package.json +0 -4919
  64. package/test/storage/mock/store/npm_test/package.json +0 -75
  65. package/test/storage/store.spec.yaml +0 -24
  66. package/test/token/index.spec.ts +0 -227
  67. package/test/token/mock/store/.gitkeep +0 -0
  68. package/test/token/token.spec.yaml +0 -26
  69. package/test/web/index.spec.ts +0 -157
  70. package/test/web/mock/store/.gitkeep +0 -0
  71. package/test/web/partials/forbidden-place.js +0 -50
  72. package/test/web/partials/publish-api.js +0 -50
  73. package/test/web/web.yaml +0 -20
@@ -1,76 +0,0 @@
1
- {
2
- "name": "@jquery/jquery",
3
- "versions": {
4
- "1.5.1": {
5
- "name": "@jquery/jquery",
6
- "description": "jQuery: The Write Less, Do More, JavaScript Library",
7
- "url": "jquery.com",
8
- "keywords": [
9
- "util",
10
- "dom",
11
- "jquery"
12
- ],
13
- "author": {
14
- "name": "John Resig",
15
- "email": "jeresig@gmail.com"
16
- },
17
- "contributors": [],
18
- "dependencies": {
19
- "jsdom": "=0.1.20",
20
- "htmlparser": ">= 1.7.3"
21
- },
22
- "lib": "lib",
23
- "main": "./dist/node-jquery.js",
24
- "version": "1.5.1",
25
- "_id": "@jquery/jquery@1.5.1",
26
- "engines": {
27
- "node": "*"
28
- },
29
- "_engineSupported": true,
30
- "_npmVersion": "0.3.15",
31
- "_nodeVersion": "v0.4.2",
32
- "directories": {
33
- "lib": "./lib"
34
- },
35
- "files": [
36
- ""
37
- ],
38
- "_defaultsLoaded": true,
39
- "dist": {
40
- "shasum": "2ae2d661e906c1a01e044a71bb5b2743942183e5",
41
- "tarball": "https://registry.npmjs.org/@jquery%2jquery/-/jquery-1.5.1.tgz"
42
- },
43
- "deprecated": "Versions of the jquery npm package older than 1.9.0 are patched versions that don't work in web browsers. Please upgrade to >=1.11.0."
44
- }
45
- },
46
- "time": {
47
- "modified": "2018-05-21T21:39:54.702Z",
48
- "created": "2011-03-19T07:19:56.392Z",
49
- "1.5.1": "2011-03-19T07:19:56.956Z"
50
- },
51
- "dist-tags": {
52
- "beta": "3.0.0",
53
- "latest": "3.3.1",
54
- "jota": "1.6.3"
55
- },
56
- "_uplinks": {
57
- "npmjs": {
58
- "etag": "W/\"252f0a131cedd3ea82dfefd6fa049558\"",
59
- "fetched": 1529779934081
60
- }
61
- },
62
- "_distfiles": {
63
- "jquery-1.5.1.tgz": {
64
- "url": "https://registry.npmjs.org/@jquery%2jquery/-/jquery-1.5.1.tgz",
65
- "sha": "2ae2d661e906c1a01e044a71bb5b2743942183e5",
66
- "registry": "npmjs"
67
- }
68
- },
69
- "_attachments": {
70
- "jquery-1.5.1.tgz": {
71
- "shasum": "2ae2d661e906c1a01e044a71bb5b2743942183e5"
72
- }
73
- },
74
- "_rev": "60-fed4915c27b9c1e6",
75
- "readme": "# jQuery\n\n> jQuery is a fast, small, and feature-rich JavaScript library.\n\nFor information on how to get started and how to use jQuery, please see [jQuery's documentation](http://api.jquery.com/).\nFor source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).\n\nIf upgrading, please see the [blog post for 3.3.1](https://blog.jquery.com/2017/03/20/jquery-3.3.1-now-available/). This includes notable differences from the previous version and a more readable changelog.\n\n## Including jQuery\n\nBelow are some of the most common ways to include jQuery.\n\n### Browser\n\n#### Script tag\n\n```html\n<script src=\"https://code.jquery.com/jquery-3.3.1.min.js\"></script>\n```\n\n#### Babel\n\n[Babel](http://babeljs.io/) is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.\n\n```js\nimport $ from \"jquery\";\n```\n\n#### Browserify/Webpack\n\nThere are several ways to use [Browserify](http://browserify.org/) and [Webpack](https://webpack.github.io/). For more information on using these tools, please refer to the corresponding project's documention. In the script, including jQuery will usually look like this...\n\n```js\nvar $ = require(\"jquery\");\n```\n\n#### AMD (Asynchronous Module Definition)\n\nAMD is a module format built for the browser. For more information, we recommend [require.js' documentation](http://requirejs.org/docs/whyamd.html).\n\n```js\ndefine([\"jquery\"], function($) {\n\n});\n```\n\n### Node\n\nTo include jQuery in [Node](nodejs.org), first install with npm.\n\n```sh\nnpm install jquery\n```\n\nFor jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as [jsdom](https://github.com/tmpvar/jsdom). This can be useful for testing purposes.\n\n```js\nrequire(\"jsdom\").env(\"\", function(err, window) {\n\tif (err) {\n\t\tconsole.error(err);\n\t\treturn;\n\t}\n\n\tvar $ = require(\"jquery\")(window);\n});\n```"
76
- }
@@ -1,12 +0,0 @@
1
- {
2
- "name": "corrupted-package"
3
- "version": {},
4
- "dist-tags": {},
5
- "_distfiles": {},
6
- "_attachments": {},
7
- "_uplinks": {},
8
- "time": {},
9
- "_rev": "0-0000000000000000",
10
- "readme": "",
11
- "versions": {}
12
- }