oc 0.50.49 → 0.50.51
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.
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-test.log +47 -36
- package/CHANGELOG.md +12 -0
- package/dist/cli/facade/dev.d.ts +12 -12
- package/dist/components/oc-client/_package/package.json +5 -5
- package/dist/components/oc-client/_package/server.js +1 -1
- package/dist/components/oc-client/_package/src/oc-client.js +54 -56
- package/dist/components/oc-client/_package/src/oc-client.min.js +1 -1
- package/dist/components/oc-client/_package/src/oc-client.min.map +1 -1
- package/dist/components/oc-client/package-lock.json +2635 -10333
- package/dist/components/oc-client/package.json +2 -2
- package/dist/components/oc-client/src/oc-client.js +54 -56
- package/dist/components/oc-client/src/oc-client.min.js +1 -1
- package/dist/components/oc-client/src/oc-client.min.map +1 -1
- package/dist/registry/domain/extract-package.d.ts +2 -0
- package/dist/registry/domain/extract-package.js +3 -1
- package/dist/registry/domain/repository.js +4 -2
- package/dist/registry/routes/components.js +2 -2
- package/dist/registry/routes/publish.js +7 -0
- package/dist/registry/views/index.js +2 -1
- package/dist/registry/views/info.js +4 -3
- package/dist/registry/views/partials/component-parameters.js +6 -2
- package/dist/registry/views/partials/components-dependencies.js +1 -1
- package/dist/registry/views/partials/components-list.js +1 -1
- package/dist/registry/views/partials/components-plugins.js +1 -1
- package/dist/registry/views/partials/components-templates.js +3 -3
- package/dist/registry/views/partials/icon.d.ts +6 -0
- package/dist/registry/views/partials/icon.js +22 -0
- package/dist/registry/views/partials/layout.js +8 -4
- package/dist/registry/views/static/index.d.ts +1 -1
- package/dist/registry/views/static/index.js +22 -4
- package/dist/registry/views/static/info.d.ts +1 -1
- package/dist/registry/views/static/info.js +29 -0
- package/dist/registry/views/static/style.d.ts +1 -1
- package/dist/registry/views/static/style.js +799 -962
- package/package.json +24 -23
- package/tsconfig.json +1 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> oc@0.50.
|
|
3
|
+
> oc@0.50.50 prebuild
|
|
4
4
|
> rimraf dist
|
|
5
5
|
|
|
6
6
|
⠙[1G[0K
|
|
7
|
-
> oc@0.50.
|
|
7
|
+
> oc@0.50.50 build
|
|
8
8
|
> npm run lint && tsc && node tasks/build.js
|
|
9
9
|
|
|
10
10
|
⠙[1G[0K
|
|
11
|
-
> oc@0.50.
|
|
11
|
+
> oc@0.50.50 lint
|
|
12
12
|
> npx @biomejs/biome check preview src test tasks
|
|
13
13
|
|
|
14
|
-
⠙[1G[0K⠹[1G[0K⠸[1G[0K⠼[1G[0K[0m[34mChecked
|
|
14
|
+
⠙[1G[0K⠹[1G[0K⠸[1G[0K⠼[1G[0K[0m[34mChecked 128 files in 36[0m[0m[2m[34mms[0m[0m[34m.[0m[0m[34m No fixes applied.[0m
|
|
15
15
|
⠙[1G[0K⠙[1G[0K[0m[32mBuilding client[39m[0m
|
|
16
16
|
compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/src/components/oc-client/
|
|
17
17
|
[0m[32mClient has been built and packaged[39m[0m 👍
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> oc@0.50.
|
|
3
|
+
> oc@0.50.50 test
|
|
4
4
|
> npm run build && node tasks/mochaTest.js
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
> oc@0.50.
|
|
7
|
+
> oc@0.50.50 prebuild
|
|
8
8
|
> rimraf dist
|
|
9
9
|
|
|
10
10
|
⠙[1G[0K
|
|
11
|
-
> oc@0.50.
|
|
11
|
+
> oc@0.50.50 build
|
|
12
12
|
> npm run lint && tsc && node tasks/build.js
|
|
13
13
|
|
|
14
14
|
⠙[1G[0K
|
|
15
|
-
> oc@0.50.
|
|
15
|
+
> oc@0.50.50 lint
|
|
16
16
|
> npx @biomejs/biome check preview src test tasks
|
|
17
17
|
|
|
18
|
-
⠙[1G[0K⠹[1G[0K
|
|
18
|
+
⠙[1G[0K⠹[1G[0K⠸[1G[0K[0m[34mChecked 128 files in 33[0m[0m[2m[34mms[0m[0m[34m.[0m[0m[34m No fixes applied.[0m
|
|
19
19
|
⠙[1G[0K⠙[1G[0K[0m[32mBuilding client[39m[0m
|
|
20
20
|
compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/src/components/oc-client/
|
|
21
21
|
[0m[32mClient has been built and packaged[39m[0m 👍
|
|
@@ -35,13 +35,6 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
35
35
|
[0m[32mTest components packaged[39m[0m 👍
|
|
36
36
|
|
|
37
37
|
[0m[0m
|
|
38
|
-
[0m The targz dependency[0m
|
|
39
|
-
[0m when compressing a folder with targz[0m
|
|
40
|
-
[32m [32m✔[39m[0m[90m should create the file[0m
|
|
41
|
-
[0m when decompressing the created file[0m
|
|
42
|
-
[32m [32m✔[39m[0m[90m should throw no error[0m
|
|
43
|
-
[32m [32m✔[39m[0m[90m should contain the files[0m
|
|
44
|
-
|
|
45
38
|
[0m cli : domain : clean[0m
|
|
46
39
|
[0m when fetching the list of folders to clean[0m
|
|
47
40
|
[0m happy path[0m
|
|
@@ -293,7 +286,7 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
293
286
|
[32m [32m✔[39m[0m[90m should show error message[0m
|
|
294
287
|
[0m when href = /component[0m
|
|
295
288
|
[32m [32m✔[39m[0m[90m href should be /component/~preview/[0m
|
|
296
|
-
(node:
|
|
289
|
+
(node:92394) [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.
|
|
297
290
|
(Use `node --trace-deprecation ...` to show where the warning was created)
|
|
298
291
|
[0m when href = /component/1.X.X[0m
|
|
299
292
|
[32m [32m✔[39m[0m[90m href should be /component/1.X.X/~preview/[0m
|
|
@@ -579,6 +572,7 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
579
572
|
[32m [32m✔[39m[0m[90m should not error[0m
|
|
580
573
|
[32m [32m✔[39m[0m[90m should return the details[0m
|
|
581
574
|
[32m [32m✔[39m[0m[90m should fetch the details from components-details.json[0m
|
|
575
|
+
[32m [32m✔[39m[0m[90m should cache the details after the first fetch[0m
|
|
582
576
|
[0m when details file does not exist on cdn[0m
|
|
583
577
|
[32m [32m✔[39m[0m[90m should return an error[0m
|
|
584
578
|
[0m refresh()[0m
|
|
@@ -596,6 +590,7 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
596
590
|
[0m when component details save succeeds[0m
|
|
597
591
|
[32m [32m✔[39m[0m[90m should not error[0m
|
|
598
592
|
[32m [32m✔[39m[0m[90m should return result[0m
|
|
593
|
+
[32m [32m✔[39m[0m[90m should cache the refreshed details[0m
|
|
599
594
|
[0m when details file is up-to-date on cdn[0m
|
|
600
595
|
[32m [32m✔[39m[0m[90m should not error[0m
|
|
601
596
|
[32m [32m✔[39m[0m[90m should not save it[0m
|
|
@@ -613,6 +608,13 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
613
608
|
[0m when component details save succeeds[0m
|
|
614
609
|
[32m [32m✔[39m[0m[90m should not error[0m
|
|
615
610
|
[32m [32m✔[39m[0m[90m should return result[0m
|
|
611
|
+
[0m polling[0m
|
|
612
|
+
[32m [32m✔[39m[0m[90m should start the polling loop using the configured interval[0m
|
|
613
|
+
[32m [32m✔[39m[0m[90m should clear the previous loop when refreshing again[0m
|
|
614
|
+
[32m [32m✔[39m[0m[90m should restart the loop after each poll[0m
|
|
615
|
+
[32m [32m✔[39m[0m[90m should update the cache when the polled data is newer[0m
|
|
616
|
+
[32m [32m✔[39m[0m[90m should keep the cached data when the polled data is not newer[0m
|
|
617
|
+
[32m [32m✔[39m[0m[90m should fire an error event when polling fails[0m
|
|
616
618
|
|
|
617
619
|
[0m registry : domain : events-handler[0m
|
|
618
620
|
[0m when requiring it multiple times[0m
|
|
@@ -673,57 +675,57 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
673
675
|
|
|
674
676
|
[0m registry : domain : options-sanitiser[0m
|
|
675
677
|
[0m when options is empty[0m
|
|
676
|
-
[32m [32m✔[39m[0m[90m should set prefix to "/"[0m[31m (
|
|
678
|
+
[32m [32m✔[39m[0m[90m should set prefix to "/"[0m[31m (192ms)[0m
|
|
677
679
|
[32m [32m✔[39m[0m[90m should set tempDir to "./temp/"[0m[31m (84ms)[0m
|
|
678
|
-
[32m [32m✔[39m[0m[90m should set hotReloading to false[0m[33m (
|
|
679
|
-
[32m [32m✔[39m[0m[90m should set verbosity to 0[0m[
|
|
680
|
-
[32m [32m✔[39m[0m[90m should set customHeadersToSkipOnWeakVersion to [][0m[33m (
|
|
681
|
-
[32m [32m✔[39m[0m[90m should set timeout to 120000[0m[
|
|
680
|
+
[32m [32m✔[39m[0m[90m should set hotReloading to false[0m[33m (69ms)[0m
|
|
681
|
+
[32m [32m✔[39m[0m[90m should set verbosity to 0[0m[31m (88ms)[0m
|
|
682
|
+
[32m [32m✔[39m[0m[90m should set customHeadersToSkipOnWeakVersion to [][0m[33m (68ms)[0m
|
|
683
|
+
[32m [32m✔[39m[0m[90m should set timeout to 120000[0m[33m (64ms)[0m
|
|
682
684
|
[0m when verbosity is provided[0m
|
|
683
|
-
[32m [32m✔[39m[0m[90m should leave value untouched[0m[33m (
|
|
685
|
+
[32m [32m✔[39m[0m[90m should leave value untouched[0m[33m (64ms)[0m
|
|
684
686
|
[0m customHeadersToSkipOnWeakVersion[0m
|
|
685
687
|
[0m when it contains valid elements[0m
|
|
686
|
-
[32m [32m✔[39m[0m[90m should convert the array elements to lower case[0m[33m (
|
|
688
|
+
[32m [32m✔[39m[0m[90m should convert the array elements to lower case[0m[33m (64ms)[0m
|
|
687
689
|
[0m fallbackRegistryUrl[0m
|
|
688
690
|
[0m when fallbackRegistryUrl doesn't contain / at the end of url[0m
|
|
689
|
-
[32m [32m✔[39m[0m[90m should add `/` at the end of url[0m[33m (
|
|
691
|
+
[32m [32m✔[39m[0m[90m should add `/` at the end of url[0m[33m (60ms)[0m
|
|
690
692
|
[0m when fallbackRegistryUrl contains `/` at the end of url[0m
|
|
691
|
-
[32m [32m✔[39m[0m[90m should not modify fallbackRegistryUrl url[0m[33m (
|
|
693
|
+
[32m [32m✔[39m[0m[90m should not modify fallbackRegistryUrl url[0m[33m (58ms)[0m
|
|
692
694
|
[0m prefix and baseUrl sanitization[0m
|
|
693
|
-
[32m [32m✔[39m[0m[90m should support various scenarios correctly[0m[31m (
|
|
695
|
+
[32m [32m✔[39m[0m[90m should support various scenarios correctly[0m[31m (901ms)[0m
|
|
694
696
|
[0m when pollingInterval[0m
|
|
695
697
|
[0m is provided[0m
|
|
696
|
-
[32m [32m✔[39m[0m[90m should not modify it[0m[33m (
|
|
698
|
+
[32m [32m✔[39m[0m[90m should not modify it[0m[33m (56ms)[0m
|
|
697
699
|
[0m is not provided[0m
|
|
698
|
-
[32m [32m✔[39m[0m[90m should initialize it as 5000[0m[33m (
|
|
700
|
+
[32m [32m✔[39m[0m[90m should initialize it as 5000[0m[33m (59ms)[0m
|
|
699
701
|
[0m when templates[0m
|
|
700
702
|
[0m is provided[0m
|
|
701
703
|
[32m [32m✔[39m[0m[90m should not modify it[0m
|
|
702
704
|
[0m is not provided[0m
|
|
703
|
-
[32m [32m✔[39m[0m[90m should initialize it as 5000[0m[33m (
|
|
705
|
+
[32m [32m✔[39m[0m[90m should initialize it as 5000[0m[33m (56ms)[0m
|
|
704
706
|
[0m when env[0m
|
|
705
707
|
[0m is provided[0m
|
|
706
|
-
[32m [32m✔[39m[0m[90m should not modify it[0m[33m (
|
|
708
|
+
[32m [32m✔[39m[0m[90m should not modify it[0m[33m (54ms)[0m
|
|
707
709
|
[0m is not provided[0m
|
|
708
|
-
[32m [32m✔[39m[0m[90m should initialize it as an empty {}[0m[33m (
|
|
710
|
+
[32m [32m✔[39m[0m[90m should initialize it as an empty {}[0m[33m (58ms)[0m
|
|
709
711
|
[0m storage adapter configuration[0m
|
|
710
712
|
[0m when legacy "s3" param[0m
|
|
711
713
|
[0m is provided[0m
|
|
712
|
-
[32m [32m✔[39m[0m[90m should create a storage.adapter configuration accordingly[0m[31m (
|
|
714
|
+
[32m [32m✔[39m[0m[90m should create a storage.adapter configuration accordingly[0m[31m (289ms)[0m
|
|
713
715
|
[0m when no storage adapter[0m
|
|
714
716
|
[0m is provided[0m
|
|
715
|
-
[32m [32m✔[39m[0m[90m should default to the oc-s3-storage-adapter[0m[33m (
|
|
717
|
+
[32m [32m✔[39m[0m[90m should default to the oc-s3-storage-adapter[0m[33m (63ms)[0m
|
|
716
718
|
[0m when refreshInterval[0m
|
|
717
719
|
[0m is provided[0m
|
|
718
|
-
[32m [32m✔[39m[0m[90m should pass the refreshInterval to the storage options[0m[33m (
|
|
720
|
+
[32m [32m✔[39m[0m[90m should pass the refreshInterval to the storage options[0m[33m (66ms)[0m
|
|
719
721
|
[0m when verbosity[0m
|
|
720
722
|
[0m is provided[0m
|
|
721
|
-
[32m [32m✔[39m[0m[90m should pass the verbosity to the storage options[0m[33m (
|
|
723
|
+
[32m [32m✔[39m[0m[90m should pass the verbosity to the storage options[0m[33m (60ms)[0m
|
|
722
724
|
[0m when storage.path[0m
|
|
723
725
|
[0m does not include a protocol[0m
|
|
724
|
-
[32m [32m✔[39m[0m[90m should sanitize the path to rely on the https protocol[0m[33m (
|
|
726
|
+
[32m [32m✔[39m[0m[90m should sanitize the path to rely on the https protocol[0m[33m (63ms)[0m
|
|
725
727
|
[0m does include a prefix[0m
|
|
726
|
-
[32m [32m✔[39m[0m[90m should not modify it[0m[33m (
|
|
728
|
+
[32m [32m✔[39m[0m[90m should not modify it[0m[33m (63ms)[0m
|
|
727
729
|
|
|
728
730
|
[0m registry : domain : plugins-initialiser[0m
|
|
729
731
|
[0m when initialising not valid plugins[0m
|
|
@@ -807,6 +809,8 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
807
809
|
[32m [32m✔[39m[0m[90m should refresh cached components list[0m
|
|
808
810
|
[32m [32m✔[39m[0m[90m should refresh componens details[0m
|
|
809
811
|
[32m [32m✔[39m[0m[90m should store the component in the correct directory[0m
|
|
812
|
+
[0m when refreshing details is slow[0m
|
|
813
|
+
[32m [32m✔[39m[0m[90m should resolve publish before details refresh finishes[0m
|
|
810
814
|
[0m when on local configuration[0m
|
|
811
815
|
[0m when getting the list of available components[0m
|
|
812
816
|
[32m [32m✔[39m[0m[90m should respond without an error[0m
|
|
@@ -1154,7 +1158,7 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
1154
1158
|
[32m [32m✔[39m[0m[90m should return component's name and request version for both requests[0m
|
|
1155
1159
|
[0m when getting a component that implements a plugin[0m
|
|
1156
1160
|
[0m when plugin not declared in package.json[0m
|
|
1157
|
-
(node:
|
|
1161
|
+
(node:92394) [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.)
|
|
1158
1162
|
[32m [32m✔[39m[0m[90m should return 500 status code[0m
|
|
1159
1163
|
[32m [32m✔[39m[0m[90m should respond with GENERIC_ERROR error code[0m
|
|
1160
1164
|
[32m [32m✔[39m[0m[90m should respond with error message including missing plugin[0m
|
|
@@ -1451,6 +1455,13 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
1451
1455
|
[0m when a version is not included[0m
|
|
1452
1456
|
[32m [32m✔[39m[0m[90m should return the unmodified dependency[0m
|
|
1453
1457
|
|
|
1458
|
+
[0m The targz dependency[0m
|
|
1459
|
+
[0m when compressing a folder with targz[0m
|
|
1460
|
+
[32m [32m✔[39m[0m[90m should create the file[0m
|
|
1461
|
+
[0m when decompressing the created file[0m
|
|
1462
|
+
[32m [32m✔[39m[0m[90m should throw no error[0m
|
|
1463
|
+
[32m [32m✔[39m[0m[90m should contain the files[0m
|
|
1464
|
+
|
|
1454
1465
|
[0m registry (ui interface)[0m
|
|
1455
1466
|
[0m GET / with Accept: text/html[0m
|
|
1456
1467
|
[32m [32m✔[39m[0m[90m should not error[0m
|
|
@@ -1607,6 +1618,6 @@ compiling component /Users/Ricardo.Agullo/Work/oc/packages/oc/test/fixtures/comp
|
|
|
1607
1618
|
[32m [32m✔[39m[0m[90m should respond with components parameters[0m
|
|
1608
1619
|
|
|
1609
1620
|
|
|
1610
|
-
[92m [0m[32m
|
|
1621
|
+
[92m [0m[32m 847 passing[0m[90m (10s)[0m
|
|
1611
1622
|
|
|
1612
1623
|
⠙[1G[0K
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## Change Log
|
|
2
2
|
|
|
3
|
+
## 0.50.51
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- improve UI. clean publish temp. improve perf
|
|
8
|
+
|
|
9
|
+
## 0.50.50
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Refresh component details on background after publish to not delay response to client
|
|
14
|
+
|
|
3
15
|
## 0.50.48
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cli/facade/dev.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare const dev: ({ local, logger }: {
|
|
|
18
18
|
verbose?: boolean;
|
|
19
19
|
production?: boolean;
|
|
20
20
|
}): Promise<{
|
|
21
|
-
close: (callback: (err?: Error | undefined | string) => void) => void | import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
|
|
21
|
+
close: (callback: (err?: Error | undefined | string) => void) => void | import("node:http").Server<typeof import("node:http").IncomingMessage, typeof import("node:http").ServerResponse>;
|
|
22
22
|
on: <T extends keyof {
|
|
23
23
|
error: {
|
|
24
24
|
code: string;
|
|
@@ -28,9 +28,9 @@ declare const dev: ({ local, logger }: {
|
|
|
28
28
|
'cache-poll': number;
|
|
29
29
|
request: import("../../registry/domain/events-handler").RequestData;
|
|
30
30
|
'component-retrieved': {
|
|
31
|
-
headers: import("http").IncomingHttpHeaders;
|
|
31
|
+
headers: import("node:http").IncomingHttpHeaders;
|
|
32
32
|
name: string;
|
|
33
|
-
parameters: import("http").IncomingHttpHeaders;
|
|
33
|
+
parameters: import("node:http").IncomingHttpHeaders;
|
|
34
34
|
requestVersion: string;
|
|
35
35
|
duration: number;
|
|
36
36
|
};
|
|
@@ -58,9 +58,9 @@ declare const dev: ({ local, logger }: {
|
|
|
58
58
|
'cache-poll': number;
|
|
59
59
|
request: import("../../registry/domain/events-handler").RequestData;
|
|
60
60
|
'component-retrieved': {
|
|
61
|
-
headers: import("http").IncomingHttpHeaders;
|
|
61
|
+
headers: import("node:http").IncomingHttpHeaders;
|
|
62
62
|
name: string;
|
|
63
|
-
parameters: import("http").IncomingHttpHeaders;
|
|
63
|
+
parameters: import("node:http").IncomingHttpHeaders;
|
|
64
64
|
requestVersion: string;
|
|
65
65
|
duration: number;
|
|
66
66
|
};
|
|
@@ -83,7 +83,7 @@ declare const dev: ({ local, logger }: {
|
|
|
83
83
|
register: <T = any>(plugin: oc.Plugin<T>, callback?: ((...args: any[]) => void) | undefined) => void;
|
|
84
84
|
start: (callback: (err: unknown, data?: {
|
|
85
85
|
app: import("express").Express;
|
|
86
|
-
server: import("http").Server;
|
|
86
|
+
server: import("node:http").Server;
|
|
87
87
|
} | undefined) => void) => Promise<void>;
|
|
88
88
|
app: import("express").Express;
|
|
89
89
|
}>;
|
|
@@ -100,7 +100,7 @@ declare const dev: ({ local, logger }: {
|
|
|
100
100
|
verbose?: boolean;
|
|
101
101
|
production?: boolean;
|
|
102
102
|
}, arguments__1: (error: unknown, value: {
|
|
103
|
-
close: (callback: (err?: Error | undefined | string) => void) => void | import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>;
|
|
103
|
+
close: (callback: (err?: Error | undefined | string) => void) => void | import("node:http").Server<typeof import("node:http").IncomingMessage, typeof import("node:http").ServerResponse>;
|
|
104
104
|
on: <T extends keyof {
|
|
105
105
|
error: {
|
|
106
106
|
code: string;
|
|
@@ -110,9 +110,9 @@ declare const dev: ({ local, logger }: {
|
|
|
110
110
|
'cache-poll': number;
|
|
111
111
|
request: import("../../registry/domain/events-handler").RequestData;
|
|
112
112
|
'component-retrieved': {
|
|
113
|
-
headers: import("http").IncomingHttpHeaders;
|
|
113
|
+
headers: import("node:http").IncomingHttpHeaders;
|
|
114
114
|
name: string;
|
|
115
|
-
parameters: import("http").IncomingHttpHeaders;
|
|
115
|
+
parameters: import("node:http").IncomingHttpHeaders;
|
|
116
116
|
requestVersion: string;
|
|
117
117
|
duration: number;
|
|
118
118
|
};
|
|
@@ -140,9 +140,9 @@ declare const dev: ({ local, logger }: {
|
|
|
140
140
|
'cache-poll': number;
|
|
141
141
|
request: import("../../registry/domain/events-handler").RequestData;
|
|
142
142
|
'component-retrieved': {
|
|
143
|
-
headers: import("http").IncomingHttpHeaders;
|
|
143
|
+
headers: import("node:http").IncomingHttpHeaders;
|
|
144
144
|
name: string;
|
|
145
|
-
parameters: import("http").IncomingHttpHeaders;
|
|
145
|
+
parameters: import("node:http").IncomingHttpHeaders;
|
|
146
146
|
requestVersion: string;
|
|
147
147
|
duration: number;
|
|
148
148
|
};
|
|
@@ -165,7 +165,7 @@ declare const dev: ({ local, logger }: {
|
|
|
165
165
|
register: <T = any>(plugin: oc.Plugin<T>, callback?: ((...args: any[]) => void) | undefined) => void;
|
|
166
166
|
start: (callback: (err: unknown, data?: {
|
|
167
167
|
app: import("express").Express;
|
|
168
|
-
server: import("http").Server;
|
|
168
|
+
server: import("node:http").Server;
|
|
169
169
|
} | undefined) => void) => Promise<void>;
|
|
170
170
|
app: import("express").Express;
|
|
171
171
|
}) => void): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oc-client",
|
|
3
3
|
"description": "The OpenComponents client-side javascript client",
|
|
4
|
-
"version": "0.50.
|
|
4
|
+
"version": "0.50.50",
|
|
5
5
|
"repository": "https://github.com/opencomponents/oc/tree/master/components/oc-client",
|
|
6
6
|
"author": "Matteo Figus <matteofigus@gmail.com>",
|
|
7
7
|
"oc": {
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
],
|
|
24
24
|
"dataProvider": {
|
|
25
25
|
"type": "node.js",
|
|
26
|
-
"hashKey": "
|
|
26
|
+
"hashKey": "6c80f5fa8b874aa6454c4283f87796382ef83789",
|
|
27
27
|
"src": "server.js",
|
|
28
28
|
"size": 644
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
"version": "0.50.
|
|
31
|
+
"version": "0.50.50",
|
|
32
32
|
"packaged": true,
|
|
33
|
-
"date":
|
|
33
|
+
"date": 1781709858511
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"oc-template-es6-compiler": "^
|
|
36
|
+
"oc-template-es6-compiler": "^8.0.0"
|
|
37
37
|
}
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(t,s)=>{const{staticPath:e,templates:a}=t;return s(null,{staticPath:e,templates:a})},r=(t,s)=>{o(t,(e,a,i={})=>{if(e)return s(e);if(a==null)return s(null,{__oc_emptyResponse:!0});const n=t.action?a:Object.assign({},a,{_staticPath:t.staticPath,_baseUrl:t.baseUrl,_componentName:"oc-client",_componentVersion:"0.50.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=(t,s)=>{const{staticPath:e,templates:a}=t;return s(null,{staticPath:e,templates:a})},r=(t,s)=>{o(t,(e,a,i={})=>{if(e)return s(e);if(a==null)return s(null,{__oc_emptyResponse:!0});const n=t.action?a:Object.assign({},a,{_staticPath:t.staticPath,_baseUrl:t.baseUrl,_componentName:"oc-client",_componentVersion:"0.50.50"}),c=t.staticPath.indexOf("http")===0?t.staticPath:"https:"+t.staticPath;return s(null,Object.assign({},{component:{key:"c4abb6bf4dc6657fb718a45b64bd6b2cb92e874a",src:c+"template.js",props:n,esm:!1,development:void 0}}))})};exports.data=r;
|