oc 0.50.64-beta.0 → 0.50.65

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 (84) hide show
  1. package/.turbo/turbo-build.log +18 -16
  2. package/.turbo/turbo-lint.log +3 -3
  3. package/.turbo/turbo-test-silent.log +6 -12
  4. package/CHANGELOG.md +30 -0
  5. package/dist/cli/domain/get-mocked-plugins.js +1 -3
  6. package/dist/cli/domain/handle-dependencies/index.js +2 -2
  7. package/dist/cli/domain/init-template/install-template.js +1 -1
  8. package/dist/cli/domain/local.js +2 -11
  9. package/dist/cli/domain/url-parser.js +3 -4
  10. package/dist/cli/facade/clean.d.ts +1 -1
  11. package/dist/cli/facade/clean.js +1 -1
  12. package/dist/cli/facade/dev.d.ts +1 -1
  13. package/dist/cli/facade/dev.js +4 -5
  14. package/dist/cli/facade/init.d.ts +1 -1
  15. package/dist/cli/facade/init.js +1 -1
  16. package/dist/cli/facade/mock.d.ts +1 -1
  17. package/dist/cli/facade/mock.js +1 -1
  18. package/dist/cli/facade/package.d.ts +1 -1
  19. package/dist/cli/facade/package.js +1 -1
  20. package/dist/cli/facade/preview.d.ts +1 -1
  21. package/dist/cli/facade/preview.js +1 -1
  22. package/dist/cli/facade/publish.d.ts +1 -1
  23. package/dist/cli/facade/publish.js +1 -1
  24. package/dist/cli/facade/registry-add.d.ts +1 -1
  25. package/dist/cli/facade/registry-add.js +1 -1
  26. package/dist/cli/facade/registry-ls.d.ts +1 -1
  27. package/dist/cli/facade/registry-ls.js +1 -1
  28. package/dist/cli/facade/registry-migrate-metadata.d.ts +1 -1
  29. package/dist/cli/facade/registry-migrate-metadata.js +1 -1
  30. package/dist/cli/facade/registry-remove.d.ts +1 -1
  31. package/dist/cli/facade/registry-remove.js +1 -1
  32. package/dist/cli/facade/registry.d.ts +1 -1
  33. package/dist/cli/facade/registry.js +1 -1
  34. package/dist/cli/facade/validate.d.ts +1 -1
  35. package/dist/cli/facade/validate.js +1 -1
  36. package/dist/components/oc-client/_package/package.json +5 -5
  37. package/dist/components/oc-client/_package/server.js +1 -1
  38. package/dist/components/oc-client/_package/src/oc-client.js +2 -2
  39. package/dist/components/oc-client/_package/src/oc-client.min.js +1 -1
  40. package/dist/components/oc-client/package-lock.json +34 -34
  41. package/dist/components/oc-client/package.json +1 -1
  42. package/dist/components/oc-client/src/oc-client.js +2 -2
  43. package/dist/components/oc-client/src/oc-client.min.js +1 -1
  44. package/dist/registry/domain/components-cache/components-list.js +3 -3
  45. package/dist/registry/domain/components-cache/index.js +4 -4
  46. package/dist/registry/domain/components-details.js +5 -5
  47. package/dist/registry/domain/extract-package.js +2 -11
  48. package/dist/registry/domain/metadata-index.js +1 -1
  49. package/dist/registry/domain/plugins-initialiser.js +18 -10
  50. package/dist/registry/domain/repository.js +2 -2
  51. package/dist/registry/domain/require-wrapper.js +5 -5
  52. package/dist/registry/domain/storage-adapter.js +1 -1
  53. package/dist/registry/domain/url-builder.js +21 -3
  54. package/dist/registry/domain/version-handler.js +1 -2
  55. package/dist/registry/routes/component-info.js +2 -2
  56. package/dist/registry/routes/component-preview.js +1 -1
  57. package/dist/registry/routes/component.js +2 -2
  58. package/dist/registry/routes/helpers/get-available-dependencies.js +2 -2
  59. package/dist/registry/routes/helpers/get-component.js +5 -4
  60. package/dist/registry/routes/index.js +1 -1
  61. package/dist/utils/accept-language.d.ts +7 -0
  62. package/dist/utils/accept-language.js +21 -0
  63. package/dist/utils/clean-require.js +3 -5
  64. package/dist/utils/core-modules.d.ts +2 -0
  65. package/dist/utils/core-modules.js +7 -0
  66. package/dist/utils/get-port.d.ts +1 -0
  67. package/dist/utils/get-port.js +21 -0
  68. package/dist/utils/is-equal.d.ts +1 -0
  69. package/dist/utils/is-equal.js +17 -0
  70. package/dist/utils/module-exists.js +1 -1
  71. package/dist/utils/parse-author.d.ts +6 -0
  72. package/dist/utils/parse-author.js +27 -0
  73. package/dist/utils/put.js +4 -5
  74. package/dist/utils/serialize-error.d.ts +1 -0
  75. package/dist/utils/serialize-error.js +66 -0
  76. package/dist/utils/targz.d.ts +2 -0
  77. package/dist/utils/targz.js +56 -0
  78. package/dist/utils/try-require.d.ts +5 -0
  79. package/dist/utils/try-require.js +16 -0
  80. package/dist/utils/universalify.d.ts +10 -0
  81. package/dist/utils/universalify.js +25 -0
  82. package/dist/utils/unix-utc-timestamp.d.ts +1 -0
  83. package/dist/utils/unix-utc-timestamp.js +7 -0
  84. package/package.json +23 -45
@@ -1,16 +1,18 @@
1
-
2
- > oc@0.50.63 prebuild
3
- > rimraf dist
4
-
5
-
6
- > oc@0.50.63 build
7
- > npm run lint && tsc && tsc --project tsconfig.types.json && node tasks/build.js
8
-
9
-
10
- > oc@0.50.63 lint
11
- > npx @biomejs/biome check preview src test tasks
12
-
13
- Checked 137 files in 49ms. No fixes applied.
14
- Building client
15
- compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/src/components/oc-client/
16
- Client has been built and packaged 👍
1
+
2
+ 
3
+ > oc@0.50.65 prebuild
4
+ > node -e "require('node:fs').rmSync('dist', { recursive: true, force: true })"
5
+
6
+ ⠙
7
+ > oc@0.50.65 build
8
+ > npm run lint && tsc && tsc --project tsconfig.types.json && node tasks/build.js
9
+
10
+ ⠙
11
+ > oc@0.50.65 lint
12
+ > npx @biomejs/biome check preview src test tasks
13
+
14
+ ⠙⠹⠸Checked 148 files in 76ms. No fixes applied.
15
+ ⠙⠙Building client
16
+ compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/src/components/oc-client/
17
+ Client has been built and packaged 👍
18
+ ⠙
@@ -1,5 +1,5 @@
1
1
 
2
- > oc@0.50.63 lint
3
- > npx @biomejs/biome check preview src test tasks
2
+ > oc@0.50.64 lint
3
+ > npx @biomejs/biome check src test tasks
4
4
 
5
- Checked 137 files in 137ms. No fixes applied.
5
+ Checked 3 files in 75ms. No fixes applied.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > oc@0.50.63 test-silent
3
+ > oc@0.50.65 test-silent
4
4
  > node tasks/mochaTest.js --silent
5
5
 
6
6
  compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/test/fixtures/components/circular-json-error
@@ -18,17 +18,11 @@ compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/tes
18
18
  compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/test/fixtures/components/welcome-with-optional-parameters
19
19
  Test components packaged 👍
20
20
 
21
- [?25l(node:16417) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
22
- (Use `node --trace-warnings ...` to show where the warning was created)
23
-  [.....................................................................................................] [....................................................................................................] [▬...................................................................................................] [▬▬..................................................................................................] [▬▬▬.................................................................................................] [▬▬▬▬................................................................................................] [▬▬▬▬▬...............................................................................................] [▬▬▬▬▬▬..............................................................................................] [▬▬▬▬▬▬▬.............................................................................................] [▬▬▬▬▬▬▬▬............................................................................................] [▬▬▬▬▬▬▬▬▬...........................................................................................] [▬▬▬▬▬▬▬▬▬▬..........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬.........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................................................................](node:16417) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
24
-  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................................................................]compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/test/fixtures/components/hello-world
25
-  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................................](node:16417) DeprecationWarning: The `s3` config shortcut is deprecated and will be removed in OpenComponents v1 - use explicit `storage.adapter`/`storage.options` instead.
26
-  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................................](node:16417) DeprecationWarning: The `refreshInterval` option is deprecated and will be removed in OpenComponents v1 - use `pollingInterval` instead.
27
- (node:16417) DeprecationWarning: Plugin register callbacks is deprecated and will be removed in OpenComponents v1 - use an async register(options, dependencies) function instead.
28
-  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................](node:16417) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead. (Triggered by calling processImmediate on process.)
29
-  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........](node:16417) DeprecationWarning: The boolean form of the `discovery` option is deprecated and will be removed in OpenComponents v1 - use the object form (`discovery: { ui, api, ... }`) instead.
30
-  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬][?25h
21
+ [?25l [..........................................................................................................] [.........................................................................................................] [▬........................................................................................................] [▬▬.......................................................................................................] [▬▬▬......................................................................................................] [▬▬▬▬.....................................................................................................] [▬▬▬▬▬....................................................................................................] [▬▬▬▬▬▬...................................................................................................] [▬▬▬▬▬▬▬..................................................................................................] [▬▬▬▬▬▬▬▬.................................................................................................] [▬▬▬▬▬▬▬▬▬................................................................................................] [▬▬▬▬▬▬▬▬▬▬...............................................................................................] [▬▬▬▬▬▬▬▬▬▬▬..............................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬.............................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬............................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................................................................]compiling component /Users/Ricardo.Agullo/Work/opencomponents/oc/packages/oc/test/fixtures/components/hello-world
22
+  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................................](node:79872) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead. (Triggered by calling processImmediate on process.)
23
+ (Use `node --trace-deprecation ...` to show where the warning was created)
24
+  [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬................] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬............] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬........] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.......] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬......] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.....] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬....] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬...] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬..] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬.] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬] [▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬][?25h
31
25
 
32
-   1037 passing (12s)
26
+   1158 passing (13s)
33
27
 
34
28
  ⠙
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  ## Change Log
2
2
 
3
+ ## 0.50.65
4
+
5
+ ### Patch Changes
6
+
7
+ - 753467e: Use the `statusCode` of a data provider error when it has no `status`. `ServerError` from `oc-server` sets `statusCode`, so errors like `new ServerError(401, '...')` were returned as 500.
8
+ - 1bdbadf: Reduce the dependency footprint to lower the exposure to vulnerable or compromised packages.
9
+
10
+ - `oc`: replace small helper packages (`accept-language-parser`, `builtin-modules`, `dependency-graph`, `getport`, `lodash.isequal`, `oc-get-unix-utc-timestamp`, `parse-author`, `require-package-name`, `semver-extra`, `serialize-error`, `try-require`, `universalify`) with internal code or Node built-ins; replace `form-data` with undici's `FormData` and `fs.openAsBlob`; replace `targz` (`tar-fs@1`) with `tar`. Move `@kitajs/ts-html-plugin` to dev dependencies and drop the unused `esbuild` dependency. Keep the existing CLI parser, HTTP/authentication middleware, live reload, prompts, browser opening and cross-platform process spawning.
11
+ - `oc-client-browser`: drop `universalify` and the `fs-extra` dev dependency; keep `serve` for development.
12
+ - `oc-storage-adapters-utils`: add a `listFiles` helper that follows symlinked files and directories, preserving upload behavior.
13
+ - Storage adapters: drop `fs-extra`, `lodash`, `nice-cache`, `node-dir` and `tmp`. The per-adapter file cache no longer schedules background refreshes, which previously re-downloaded files without ever updating the cache.
14
+
15
+ - 1450b36: Raise compatible dependency version ranges.
16
+ - Updated dependencies [1bdbadf]
17
+ - Updated dependencies [1450b36]
18
+ - oc-client-browser@2.1.13
19
+ - oc-storage-adapters-utils@2.2.0
20
+ - oc-s3-storage-adapter@2.2.6
21
+
22
+ ## 0.50.64
23
+
24
+ ### Patch Changes
25
+
26
+ - Add hosted semver static redirect route that resolves `:componentVersion` with the same version-handler used for rendering and 302-redirects `:name/:version/static/*` to the CDN file.
27
+ - 9f7ccdf: Move OC component privacy classification out of the storage adapters.
28
+ - a51a876: Keep the warm component render path synchronous and allocation-light: cached environment lookups no longer suspend through a promise, nested-renderer and repository callback adapters are created once per registry instead of per render, and `component-retrieved` telemetry payloads are built only when a listener exists at completion.
29
+ - Updated dependencies [9f7ccdf]
30
+ - oc-s3-storage-adapter@2.2.5
31
+ - oc-storage-adapters-utils@2.1.3
32
+
3
33
  ## 0.50.63
4
34
 
5
35
  ### Patch Changes
@@ -15,9 +15,7 @@ const isMockValid = (plugin) => {
15
15
  typeof plugin.execute === 'function';
16
16
  return isFunction || isValidObject;
17
17
  };
18
- const defaultRegister = (_options, _dependencies, next) => {
19
- next();
20
- };
18
+ const defaultRegister = async () => { };
21
19
  const registerStaticMocks = (mocks, logger) => Object.entries(mocks).map(([pluginName, mockedValue]) => {
22
20
  logger.ok(`├── ${pluginName} () => ${mockedValue}`);
23
21
  return {
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = handleDependencies;
7
7
  const node_path_1 = __importDefault(require("node:path"));
8
- const builtin_modules_1 = __importDefault(require("builtin-modules"));
9
8
  const fs_extra_1 = __importDefault(require("fs-extra"));
10
9
  const resources_1 = __importDefault(require("../../../resources"));
10
+ const core_modules_1 = __importDefault(require("../../../utils/core-modules"));
11
11
  const is_template_legacy_1 = __importDefault(require("../../../utils/is-template-legacy"));
12
12
  const ensure_compiler_is_declared_as_devDependency_1 = __importDefault(require("./ensure-compiler-is-declared-as-devDependency"));
13
13
  const get_compiler_1 = __importDefault(require("./get-compiler"));
@@ -55,7 +55,7 @@ async function handleDependencies(options) {
55
55
  await setupComponentDependencies(component);
56
56
  }
57
57
  const result = {
58
- modules: union(builtin_modules_1.default, Object.keys(dependencies)).sort(),
58
+ modules: union(core_modules_1.default, Object.keys(dependencies)).sort(),
59
59
  templates: Object.values(templates)
60
60
  };
61
61
  if (options.install) {
@@ -37,10 +37,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.default = installTemplate;
40
- const try_require_1 = __importDefault(require("try-require"));
41
40
  const resources_1 = __importDefault(require("../../../resources"));
42
41
  const is_template_valid_1 = __importDefault(require("../../../utils/is-template-valid"));
43
42
  const npm = __importStar(require("../../../utils/npm-utils"));
43
+ const try_require_1 = __importDefault(require("../../../utils/try-require"));
44
44
  async function installTemplate(options) {
45
45
  const { compiler, componentPath, logger, templateType } = options;
46
46
  const errorMessage = 'template type not valid';
@@ -37,12 +37,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.default = local;
40
- const node_util_1 = require("node:util");
41
40
  const fs_extra_1 = __importDefault(require("fs-extra"));
42
- const targz_1 = __importDefault(require("targz"));
43
41
  const validator = __importStar(require("../../registry/domain/validators"));
44
42
  const deprecate_1 = __importDefault(require("../../utils/deprecate"));
45
43
  const is_template_legacy_1 = __importDefault(require("../../utils/is-template-legacy"));
44
+ const targz = __importStar(require("../../utils/targz"));
46
45
  const clean = __importStar(require("./clean"));
47
46
  const get_components_by_dir_1 = __importDefault(require("./get-components-by-dir"));
48
47
  const init_template_1 = __importDefault(require("./init-template"));
@@ -55,15 +54,7 @@ function local() {
55
54
  return fs_extra_1.default.unlink(compressedPackagePath);
56
55
  },
57
56
  compress(input, output) {
58
- return (0, node_util_1.promisify)(targz_1.default.compress)({
59
- src: input,
60
- dest: output,
61
- tar: {
62
- map: (file) => Object.assign(file, {
63
- name: `_package/${file.name}`
64
- })
65
- }
66
- });
57
+ return targz.compress(input, output, '_package');
67
58
  },
68
59
  getComponentsByDir: (0, get_components_by_dir_1.default)(),
69
60
  async init(options) {
@@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.parse = parse;
7
7
  const node_querystring_1 = __importDefault(require("node:querystring"));
8
- const node_url_1 = __importDefault(require("node:url"));
9
8
  const removeFinalSlashes = (s) => {
10
9
  while (s.slice(-1) === '/') {
11
10
  s = s.slice(0, -1);
@@ -14,8 +13,8 @@ const removeFinalSlashes = (s) => {
14
13
  };
15
14
  function parse(parsed) {
16
15
  const requestedVersion = parsed.requestVersion;
17
- const href = node_url_1.default.parse(parsed.href);
18
- const relativePath = removeFinalSlashes(href.pathname || '');
16
+ const href = new URL(parsed.href);
17
+ const relativePath = removeFinalSlashes(href.pathname);
19
18
  const withoutVersion = removeFinalSlashes(relativePath.replace(requestedVersion, ''));
20
19
  const componentName = withoutVersion.substr(withoutVersion.lastIndexOf('/') + 1);
21
20
  const withoutComponent = removeFinalSlashes(withoutVersion.replace(componentName, ''));
@@ -23,7 +22,7 @@ function parse(parsed) {
23
22
  return {
24
23
  clientHref: registryUrl + 'oc-client/client.js',
25
24
  name: componentName,
26
- parameters: node_querystring_1.default.parse(href.query || ''),
25
+ parameters: node_querystring_1.default.parse(href.search.slice(1)),
27
26
  registryUrl: registryUrl,
28
27
  version: requestedVersion
29
28
  };
@@ -11,6 +11,6 @@ declare const clean: ({ local: { clean: { fetchList, remove } }, logger }: {
11
11
  (opts: {
12
12
  dirPath: string;
13
13
  yes: boolean;
14
- }, arguments__1: (error: unknown, value: void) => void): void;
14
+ }, args_1: (error: any, value: void) => void): void;
15
15
  };
16
16
  export default clean;
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const node_util_1 = require("node:util");
7
7
  const read_1 = __importDefault(require("read"));
8
- const universalify_1 = require("universalify");
9
8
  const index_1 = __importDefault(require("../../resources/index"));
9
+ const universalify_1 = require("../../utils/universalify");
10
10
  const read = (0, node_util_1.promisify)(read_1.default);
11
11
  const clean = ({ local: { clean: { fetchList, remove } }, logger }) => {
12
12
  const { cleanAlreadyClean, cleanList, cleanPrompt, cleanPromptDefault, cleanSuccess } = index_1.default.messages.cli;
@@ -30,6 +30,6 @@ declare const dev: ({ local, logger }: {
30
30
  watch?: boolean;
31
31
  verbose?: boolean;
32
32
  production?: boolean;
33
- }, arguments__1: (error: unknown, value: oc.RegistryType<unknown>) => void): void;
33
+ }, args_1: (error: any, value: oc.RegistryType<unknown>) => void): void;
34
34
  };
35
35
  export default dev;
@@ -38,12 +38,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  const node_path_1 = __importDefault(require("node:path"));
40
40
  const node_util_1 = require("node:util");
41
- const getport_1 = __importDefault(require("getport"));
42
41
  const livereload_1 = __importDefault(require("livereload"));
43
- const universalify_1 = require("universalify");
44
42
  const oc = __importStar(require("../../index"));
45
43
  const index_1 = __importDefault(require("../../resources/index"));
46
44
  const colors_1 = __importDefault(require("../../utils/colors"));
45
+ const get_port_1 = __importDefault(require("../../utils/get-port"));
46
+ const universalify_1 = require("../../utils/universalify");
47
47
  const get_mocked_plugins_1 = __importDefault(require("../domain/get-mocked-plugins"));
48
48
  const handle_dependencies_1 = __importDefault(require("../domain/handle-dependencies"));
49
49
  const ocConfig_1 = require("../domain/ocConfig");
@@ -51,7 +51,6 @@ const watch_1 = __importDefault(require("../domain/watch"));
51
51
  const cliMessages = index_1.default.messages.cli;
52
52
  const cliErrors = index_1.default.errors.cli;
53
53
  const delay = (time = 0) => new Promise((res) => setTimeout(res, time));
54
- const getPort = (0, node_util_1.promisify)(getport_1.default);
55
54
  const dev = ({ local, logger }) => (0, universalify_1.fromPromise)(async (opts) => {
56
55
  const componentsDir = opts.dirPath;
57
56
  const port = opts.port || 3000;
@@ -164,7 +163,7 @@ const dev = ({ local, logger }) => (0, universalify_1.fromPromise)(async (opts)
164
163
  port: undefined
165
164
  };
166
165
  if (hotReloading) {
167
- const otherPort = await getPort(port + 1).catch((err) => {
166
+ const otherPort = await (0, get_port_1.default)(port + 1).catch((err) => {
168
167
  logger.err(String(err));
169
168
  return Promise.reject(err);
170
169
  });
@@ -181,7 +180,7 @@ const dev = ({ local, logger }) => (0, universalify_1.fromPromise)(async (opts)
181
180
  prefix: opts.prefix || '',
182
181
  dependencies: dependencies.modules,
183
182
  compileClient: true,
184
- discovery: true,
183
+ discovery: { api: true, ui: true },
185
184
  env: { name: 'local' },
186
185
  fallbackRegistryUrl,
187
186
  fallbackClient,
@@ -13,6 +13,6 @@ declare const init: ({ local, logger }: {
13
13
  componentName: string;
14
14
  componentPath: string;
15
15
  templateType: string;
16
- }, arguments__1: (error: unknown, value: string) => void): void;
16
+ }, args_1: (error: any, value: string) => void): void;
17
17
  };
18
18
  export default init;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const node_path_1 = __importDefault(require("node:path"));
7
- const universalify_1 = require("universalify");
8
7
  const index_1 = __importDefault(require("../../resources/index"));
8
+ const universalify_1 = require("../../utils/universalify");
9
9
  const init = ({ local, logger }) => (0, universalify_1.fromPromise)(async (opts) => {
10
10
  const templateType = typeof opts.templateType === 'undefined'
11
11
  ? 'oc-template-es6'
@@ -13,6 +13,6 @@ declare const mock: ({ local, logger }: {
13
13
  targetType: "plugin";
14
14
  targetValue: string;
15
15
  targetName: string;
16
- }, arguments__1: (error: unknown, value: void) => void): void;
16
+ }, args_1: (error: any, value: void) => void): void;
17
17
  };
18
18
  export default mock;
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const universalify_1 = require("universalify");
7
6
  const index_1 = __importDefault(require("../../resources/index"));
7
+ const universalify_1 = require("../../utils/universalify");
8
8
  const mock = ({ local, logger }) => (0, universalify_1.fromPromise)(async (opts) => {
9
9
  if (opts.targetType !== 'plugin') {
10
10
  throw new Error('targetType must be "plugin"');
@@ -12,6 +12,6 @@ declare const cliPackage: ({ local, logger }: {
12
12
  (opts: {
13
13
  componentPath: string;
14
14
  compress?: boolean;
15
- }, arguments__1: (error: unknown, value: Component) => void): void;
15
+ }, args_1: (error: any, value: Component) => void): void;
16
16
  };
17
17
  export default cliPackage;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const node_path_1 = __importDefault(require("node:path"));
7
- const universalify_1 = require("universalify");
8
7
  const index_1 = __importDefault(require("../../resources/index"));
8
+ const universalify_1 = require("../../utils/universalify");
9
9
  const handle_dependencies_1 = __importDefault(require("../domain/handle-dependencies"));
10
10
  const cliPackage = ({ local, logger }) => (0, universalify_1.fromPromise)(async (opts) => {
11
11
  const componentPath = opts.componentPath;
@@ -9,6 +9,6 @@ declare const preview: ({ logger, registry }: {
9
9
  }): Promise<string>;
10
10
  (opts: {
11
11
  componentHref: string;
12
- }, arguments__1: (error: unknown, value: string) => void): void;
12
+ }, args_1: (error: any, value: string) => void): void;
13
13
  };
14
14
  export default preview;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const open_1 = __importDefault(require("open"));
7
- const universalify_1 = require("universalify");
8
7
  const index_1 = __importDefault(require("../../resources/index"));
8
+ const universalify_1 = require("../../utils/universalify");
9
9
  const preview = ({ logger, registry }) => (0, universalify_1.fromPromise)(async (opts) => {
10
10
  try {
11
11
  const href = await registry.getComponentPreviewUrlByUrl(opts.componentHref);
@@ -23,6 +23,6 @@ declare const publish: ({ logger, registry, local }: {
23
23
  password?: string;
24
24
  token?: string;
25
25
  registries?: string[];
26
- }, arguments__1: (error: unknown, value: void) => void): void;
26
+ }, args_1: (error: any, value: void) => void): void;
27
27
  };
28
28
  export default publish;
@@ -7,9 +7,9 @@ const node_path_1 = __importDefault(require("node:path"));
7
7
  const node_util_1 = require("node:util");
8
8
  const fs_extra_1 = __importDefault(require("fs-extra"));
9
9
  const read_1 = __importDefault(require("read"));
10
- const universalify_1 = require("universalify");
11
10
  const index_1 = __importDefault(require("../../resources/index"));
12
11
  const colors_1 = __importDefault(require("../../utils/colors"));
12
+ const universalify_1 = require("../../utils/universalify");
13
13
  const handle_dependencies_1 = __importDefault(require("../domain/handle-dependencies"));
14
14
  const read = (0, node_util_1.promisify)(read_1.default);
15
15
  const publish = ({ logger, registry, local }) => (0, universalify_1.fromPromise)(async (opts) => {
@@ -9,6 +9,6 @@ declare const registryAdd: ({ registry, logger }: {
9
9
  }): Promise<void>;
10
10
  (opts: {
11
11
  registryUrl: string;
12
- }, arguments__1: (error: unknown, value: void) => void): void;
12
+ }, args_1: (error: any, value: void) => void): void;
13
13
  };
14
14
  export default registryAdd;
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const universalify_1 = require("universalify");
7
6
  const index_1 = __importDefault(require("../../resources/index"));
7
+ const universalify_1 = require("../../utils/universalify");
8
8
  const registryAdd = ({ registry, logger }) => (0, universalify_1.fromPromise)(async (opts) => {
9
9
  try {
10
10
  await registry.add(opts.registryUrl);
@@ -5,6 +5,6 @@ declare const registryLs: ({ registry, logger }: {
5
5
  registry: RegistryCli;
6
6
  }) => {
7
7
  (_opts: unknown): Promise<string[]>;
8
- (_opts: unknown, arguments__1: (error: unknown, value: string[]) => void): void;
8
+ (_opts: unknown, args_1: (error: any, value: string[]) => void): void;
9
9
  };
10
10
  export default registryLs;
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const universalify_1 = require("universalify");
7
6
  const index_1 = __importDefault(require("../../resources/index"));
7
+ const universalify_1 = require("../../utils/universalify");
8
8
  const registryLs = ({ registry, logger }) => (0, universalify_1.fromPromise)(async (_opts) => {
9
9
  try {
10
10
  const registries = await registry.get();
@@ -11,7 +11,7 @@ declare const registryMigrateMetadata: ({ logger }: {
11
11
  }>;
12
12
  (opts: {
13
13
  configPath: string;
14
- }, arguments__1: (error: unknown, value: {
14
+ }, args_1: (error: any, value: {
15
15
  scanned: number;
16
16
  inserted: number;
17
17
  skipped: number;
@@ -38,12 +38,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  const node_path_1 = __importDefault(require("node:path"));
40
40
  const node_url_1 = require("node:url");
41
- const universalify_1 = require("universalify");
42
41
  const metadata_adapter_options_1 = __importDefault(require("../../registry/domain/metadata-adapter-options"));
43
42
  const metadata_migration_1 = require("../../registry/domain/metadata-migration");
44
43
  const options_sanitiser_1 = __importDefault(require("../../registry/domain/options-sanitiser"));
45
44
  const storage_adapter_1 = __importDefault(require("../../registry/domain/storage-adapter"));
46
45
  const validator = __importStar(require("../../registry/domain/validators"));
46
+ const universalify_1 = require("../../utils/universalify");
47
47
  const dynamicImport = new Function('specifier', 'return import(specifier)');
48
48
  const loadConfigModule = async (resolvedConfigPath) => {
49
49
  try {
@@ -9,6 +9,6 @@ declare const registryRemove: ({ registry, logger }: {
9
9
  }): Promise<void>;
10
10
  (opts: {
11
11
  registryUrl: string;
12
- }, arguments__1: (error: unknown, value: void) => void): void;
12
+ }, args_1: (error: any, value: void) => void): void;
13
13
  };
14
14
  export default registryRemove;
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const universalify_1 = require("universalify");
7
6
  const index_1 = __importDefault(require("../../resources/index"));
7
+ const universalify_1 = require("../../utils/universalify");
8
8
  const registryRemove = ({ registry, logger }) => (0, universalify_1.fromPromise)(async (opts) => {
9
9
  try {
10
10
  await registry.remove(opts.registryUrl);
@@ -1,5 +1,5 @@
1
1
  declare const registry: () => {
2
2
  (_opts: unknown): Promise<void>;
3
- (_opts: unknown, arguments__1: (error: unknown, value: void) => void): void;
3
+ (_opts: unknown, args_1: (error: any, value: void) => void): void;
4
4
  };
5
5
  export default registry;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const universalify_1 = require("universalify");
3
+ const universalify_1 = require("../../utils/universalify");
4
4
  const registry = () => (0, universalify_1.fromPromise)((_opts) => {
5
5
  return Promise.resolve();
6
6
  });