@modusoperandi/licit 0.13.23 → 0.13.25
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/dist/bom.xml +260 -173
- package/dist/client/Licit.js +1 -4
- package/dist/client/Licit.js.flow +1 -4
- package/dist/ui/ImageNodeView.js +3 -3
- package/dist/ui/ImageNodeView.js.flow +3 -3
- package/licit/client/CustomLicitRuntime.js +30 -4
- package/package.json +3 -2
- package/src/client/Licit.js +1 -4
- package/src/ui/ImageNodeView.js +3 -3
- package/utils/build_web_server.js +26 -23
package/dist/bom.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<bom xmlns="http://cyclonedx.org/schema/bom/1.3" serialNumber="urn:uuid:
|
|
2
|
+
<bom xmlns="http://cyclonedx.org/schema/bom/1.3" serialNumber="urn:uuid:ab5d7ee6-98a3-49b2-851f-e7c19cb305d8" version="1">
|
|
3
3
|
<metadata>
|
|
4
|
-
<timestamp>2022-11-
|
|
4
|
+
<timestamp>2022-11-28T17:24:33.816Z</timestamp>
|
|
5
5
|
<tools>
|
|
6
6
|
<tool>
|
|
7
7
|
<vendor>CycloneDX</vendor>
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
<version>3.10.6</version>
|
|
10
10
|
</tool>
|
|
11
11
|
</tools>
|
|
12
|
-
<component type="library" bom-ref="pkg:npm/%40modusoperandi/licit@0.13.
|
|
12
|
+
<component type="library" bom-ref="pkg:npm/%40modusoperandi/licit@0.13.25">
|
|
13
13
|
<group>@modusoperandi</group>
|
|
14
14
|
<name>licit</name>
|
|
15
|
-
<version>0.13.
|
|
15
|
+
<version>0.13.25</version>
|
|
16
16
|
<description>
|
|
17
17
|
<![CDATA[Rich text editor built with React and ProseMirror]]>
|
|
18
18
|
</description>
|
|
19
|
-
<purl>pkg:npm/%40modusoperandi/licit@0.13.
|
|
19
|
+
<purl>pkg:npm/%40modusoperandi/licit@0.13.25</purl>
|
|
20
20
|
<externalReferences>
|
|
21
21
|
<reference type="website">
|
|
22
22
|
<url>https://github.com/MO-Movia/licit#readme</url>
|
|
@@ -301,17 +301,17 @@
|
|
|
301
301
|
</reference>
|
|
302
302
|
</externalReferences>
|
|
303
303
|
</component>
|
|
304
|
-
<component type="library" bom-ref="pkg:npm/%40modusoperandi/licit-ui-commands@0.1.
|
|
304
|
+
<component type="library" bom-ref="pkg:npm/%40modusoperandi/licit-ui-commands@0.1.10">
|
|
305
305
|
<group>@modusoperandi</group>
|
|
306
306
|
<name>licit-ui-commands</name>
|
|
307
|
-
<version>0.1.
|
|
307
|
+
<version>0.1.10</version>
|
|
308
308
|
<description>
|
|
309
309
|
<![CDATA[Module that extend Step, overriding the apply, invert, map, getMap and fromJSON methods, and registering your class with a unique JSON-serialization identifier using Step.jsonID.]]>
|
|
310
310
|
</description>
|
|
311
311
|
<hashes>
|
|
312
|
-
<hash alg="SHA-512">
|
|
312
|
+
<hash alg="SHA-512">0caad098f0ea27c8fab98b5099793af3c0379124e37dbf33dd03e9a9fda4cb59f3ca7b2277c137ae2efa0857b8d2f05dbd0b06db4ad6997e05ed58700b1177b0</hash>
|
|
313
313
|
</hashes>
|
|
314
|
-
<purl>pkg:npm/%40modusoperandi/licit-ui-commands@0.1.
|
|
314
|
+
<purl>pkg:npm/%40modusoperandi/licit-ui-commands@0.1.10</purl>
|
|
315
315
|
<externalReferences>
|
|
316
316
|
<reference type="website">
|
|
317
317
|
<url>https://github.com/MO-Movia/licit-ui-components#readme</url>
|
|
@@ -10179,22 +10179,22 @@
|
|
|
10179
10179
|
</reference>
|
|
10180
10180
|
</externalReferences>
|
|
10181
10181
|
</component>
|
|
10182
|
-
<component type="library" bom-ref="pkg:npm/loader-utils@2.0.
|
|
10182
|
+
<component type="library" bom-ref="pkg:npm/loader-utils@2.0.4">
|
|
10183
10183
|
<author>Tobias Koppers @sokra</author>
|
|
10184
10184
|
<name>loader-utils</name>
|
|
10185
|
-
<version>2.0.
|
|
10185
|
+
<version>2.0.4</version>
|
|
10186
10186
|
<description>
|
|
10187
10187
|
<![CDATA[utils for webpack loaders]]>
|
|
10188
10188
|
</description>
|
|
10189
10189
|
<hashes>
|
|
10190
|
-
<hash alg="SHA-512">
|
|
10190
|
+
<hash alg="SHA-512">239774d0f77f8f0303d9009dba8eb9efe60cffa2f7299bbefa9997f551677316b1bc772bbbd8f1d6505a15fb7eaf832dda32b4621a78d579510228733f11cd0a</hash>
|
|
10191
10191
|
</hashes>
|
|
10192
10192
|
<licenses>
|
|
10193
10193
|
<license>
|
|
10194
10194
|
<id>MIT</id>
|
|
10195
10195
|
</license>
|
|
10196
10196
|
</licenses>
|
|
10197
|
-
<purl>pkg:npm/loader-utils@2.0.
|
|
10197
|
+
<purl>pkg:npm/loader-utils@2.0.4</purl>
|
|
10198
10198
|
<externalReferences>
|
|
10199
10199
|
<reference type="website">
|
|
10200
10200
|
<url>https://github.com/webpack/loader-utils#readme</url>
|
|
@@ -10459,6 +10459,84 @@
|
|
|
10459
10459
|
</reference>
|
|
10460
10460
|
</externalReferences>
|
|
10461
10461
|
</component>
|
|
10462
|
+
<component type="library" bom-ref="pkg:npm/url@0.11.0">
|
|
10463
|
+
<name>url</name>
|
|
10464
|
+
<version>0.11.0</version>
|
|
10465
|
+
<description>
|
|
10466
|
+
<![CDATA[The core `url` packaged standalone for use with Browserify.]]>
|
|
10467
|
+
</description>
|
|
10468
|
+
<hashes>
|
|
10469
|
+
<hash alg="SHA-512">91b6a29496b6f50aed5e7c60abe0dd0841a56d3798336789531b33eaf8d96afac260f30814730a42648a60022e50ada2ee180f9b6f1af29897e4d4d4b4cfcb29</hash>
|
|
10470
|
+
</hashes>
|
|
10471
|
+
<licenses>
|
|
10472
|
+
<license>
|
|
10473
|
+
<id>MIT</id>
|
|
10474
|
+
</license>
|
|
10475
|
+
</licenses>
|
|
10476
|
+
<purl>pkg:npm/url@0.11.0</purl>
|
|
10477
|
+
<externalReferences>
|
|
10478
|
+
<reference type="website">
|
|
10479
|
+
<url>https://github.com/defunctzombie/node-url#readme</url>
|
|
10480
|
+
</reference>
|
|
10481
|
+
<reference type="issue-tracker">
|
|
10482
|
+
<url>https://github.com/defunctzombie/node-url/issues</url>
|
|
10483
|
+
</reference>
|
|
10484
|
+
<reference type="vcs">
|
|
10485
|
+
<url>git+https://github.com/defunctzombie/node-url.git</url>
|
|
10486
|
+
</reference>
|
|
10487
|
+
</externalReferences>
|
|
10488
|
+
</component>
|
|
10489
|
+
<component type="library" bom-ref="pkg:npm/punycode@1.3.2">
|
|
10490
|
+
<author>Mathias Bynens</author>
|
|
10491
|
+
<name>punycode</name>
|
|
10492
|
+
<version>1.3.2</version>
|
|
10493
|
+
<description>
|
|
10494
|
+
<![CDATA[A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.]]>
|
|
10495
|
+
</description>
|
|
10496
|
+
<hashes>
|
|
10497
|
+
<hash alg="SHA-512">5d1b118dd7fe8f99a5fb2ffa18a1cf65bac5ffca766206b424fb5da93218d977b9a2124f0fdb1a0c924b3efa7df8d481a6b56f7af7576726e78f672ff0e11dd0</hash>
|
|
10498
|
+
</hashes>
|
|
10499
|
+
<licenses>
|
|
10500
|
+
<license>
|
|
10501
|
+
<id>MIT</id>
|
|
10502
|
+
</license>
|
|
10503
|
+
</licenses>
|
|
10504
|
+
<purl>pkg:npm/punycode@1.3.2</purl>
|
|
10505
|
+
<externalReferences>
|
|
10506
|
+
<reference type="website">
|
|
10507
|
+
<url>https://mths.be/punycode</url>
|
|
10508
|
+
</reference>
|
|
10509
|
+
<reference type="issue-tracker">
|
|
10510
|
+
<url>https://github.com/bestiejs/punycode.js/issues</url>
|
|
10511
|
+
</reference>
|
|
10512
|
+
<reference type="vcs">
|
|
10513
|
+
<url>git+https://github.com/bestiejs/punycode.js.git</url>
|
|
10514
|
+
</reference>
|
|
10515
|
+
</externalReferences>
|
|
10516
|
+
</component>
|
|
10517
|
+
<component type="library" bom-ref="pkg:npm/querystring@0.2.0">
|
|
10518
|
+
<author>Irakli Gozalishvili</author>
|
|
10519
|
+
<name>querystring</name>
|
|
10520
|
+
<version>0.2.0</version>
|
|
10521
|
+
<description>
|
|
10522
|
+
<![CDATA[Node's querystring module for all engines.]]>
|
|
10523
|
+
</description>
|
|
10524
|
+
<hashes>
|
|
10525
|
+
<hash alg="SHA-512">5ffc58f36b1c71adad6aeeb68bd983c94f4af88f9d8d3314b2fc1fef19d45f918bbd5ce02726ce25fe18ea8f59c77a092bf2d25e0e6d4d9063c33a953da3ceda</hash>
|
|
10526
|
+
</hashes>
|
|
10527
|
+
<purl>pkg:npm/querystring@0.2.0</purl>
|
|
10528
|
+
<externalReferences>
|
|
10529
|
+
<reference type="website">
|
|
10530
|
+
<url>https://github.com/Gozala/querystring#readme</url>
|
|
10531
|
+
</reference>
|
|
10532
|
+
<reference type="issue-tracker">
|
|
10533
|
+
<url>http://github.com/Gozala/querystring/issues/</url>
|
|
10534
|
+
</reference>
|
|
10535
|
+
<reference type="vcs">
|
|
10536
|
+
<url>git://github.com/Gozala/querystring.git</url>
|
|
10537
|
+
</reference>
|
|
10538
|
+
</externalReferences>
|
|
10539
|
+
</component>
|
|
10462
10540
|
<component type="library" bom-ref="pkg:npm/uuid@8.2.0">
|
|
10463
10541
|
<name>uuid</name>
|
|
10464
10542
|
<version>8.2.0</version>
|
|
@@ -10515,23 +10593,20 @@
|
|
|
10515
10593
|
</reference>
|
|
10516
10594
|
</externalReferences>
|
|
10517
10595
|
</component>
|
|
10518
|
-
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/helper-
|
|
10596
|
+
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/helper-wasm-section@1.11.1">
|
|
10519
10597
|
<author>Sven Sauleau</author>
|
|
10520
10598
|
<group>@webassemblyjs</group>
|
|
10521
|
-
<name>helper-
|
|
10599
|
+
<name>helper-wasm-section</name>
|
|
10522
10600
|
<version>1.11.1</version>
|
|
10523
|
-
<description>
|
|
10524
|
-
<![CDATA[Buffer manipulation utility]]>
|
|
10525
|
-
</description>
|
|
10526
10601
|
<hashes>
|
|
10527
|
-
<hash alg="SHA-512">
|
|
10602
|
+
<hash alg="SHA-512">d743fd368dbdad85f58fb1771153d7dc9bc63d03da7be0289ae4933e217d78141e0a11c8ea2aa3308c11f4998e257c299e7fe85460e4ec8e4896c92e33053fa6</hash>
|
|
10528
10603
|
</hashes>
|
|
10529
10604
|
<licenses>
|
|
10530
10605
|
<license>
|
|
10531
10606
|
<id>MIT</id>
|
|
10532
10607
|
</license>
|
|
10533
10608
|
</licenses>
|
|
10534
|
-
<purl>pkg:npm/%40webassemblyjs/helper-
|
|
10609
|
+
<purl>pkg:npm/%40webassemblyjs/helper-wasm-section@1.11.1</purl>
|
|
10535
10610
|
<externalReferences>
|
|
10536
10611
|
<reference type="website">
|
|
10537
10612
|
<url>https://github.com/xtuc/webassemblyjs#readme</url>
|
|
@@ -10544,23 +10619,23 @@
|
|
|
10544
10619
|
</reference>
|
|
10545
10620
|
</externalReferences>
|
|
10546
10621
|
</component>
|
|
10547
|
-
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/
|
|
10622
|
+
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/ast@1.11.1">
|
|
10548
10623
|
<author>Sven Sauleau</author>
|
|
10549
10624
|
<group>@webassemblyjs</group>
|
|
10550
|
-
<name>
|
|
10625
|
+
<name>ast</name>
|
|
10551
10626
|
<version>1.11.1</version>
|
|
10552
10627
|
<description>
|
|
10553
|
-
<![CDATA[
|
|
10628
|
+
<![CDATA[AST utils for webassemblyjs]]>
|
|
10554
10629
|
</description>
|
|
10555
10630
|
<hashes>
|
|
10556
|
-
<hash alg="SHA-512">
|
|
10631
|
+
<hash alg="SHA-512">ba4061d78a852e3c5340d4d7a1c77292c37941d336f12d42c47b76addb241722fec4557b56b7a6b812d56e609e3e3f9445a957044371ffd2e6ee59e18a1b424b</hash>
|
|
10557
10632
|
</hashes>
|
|
10558
10633
|
<licenses>
|
|
10559
10634
|
<license>
|
|
10560
10635
|
<id>MIT</id>
|
|
10561
10636
|
</license>
|
|
10562
10637
|
</licenses>
|
|
10563
|
-
<purl>pkg:npm/%40webassemblyjs/
|
|
10638
|
+
<purl>pkg:npm/%40webassemblyjs/ast@1.11.1</purl>
|
|
10564
10639
|
<externalReferences>
|
|
10565
10640
|
<reference type="website">
|
|
10566
10641
|
<url>https://github.com/xtuc/webassemblyjs#readme</url>
|
|
@@ -10660,20 +10735,23 @@
|
|
|
10660
10735
|
</reference>
|
|
10661
10736
|
</externalReferences>
|
|
10662
10737
|
</component>
|
|
10663
|
-
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/helper-wasm-
|
|
10738
|
+
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/helper-wasm-bytecode@1.11.1">
|
|
10664
10739
|
<author>Sven Sauleau</author>
|
|
10665
10740
|
<group>@webassemblyjs</group>
|
|
10666
|
-
<name>helper-wasm-
|
|
10741
|
+
<name>helper-wasm-bytecode</name>
|
|
10667
10742
|
<version>1.11.1</version>
|
|
10743
|
+
<description>
|
|
10744
|
+
<![CDATA[WASM's Bytecode constants]]>
|
|
10745
|
+
</description>
|
|
10668
10746
|
<hashes>
|
|
10669
|
-
<hash alg="SHA-512">
|
|
10747
|
+
<hash alg="SHA-512">3efa68386889c17793ad27ffa9fb9d261c25bc34311607a56ccaadab9d965a25c2e97820d484447678263cdddbb384683bcdcf9cbfe716bc6e7178f5f815fad9</hash>
|
|
10670
10748
|
</hashes>
|
|
10671
10749
|
<licenses>
|
|
10672
10750
|
<license>
|
|
10673
10751
|
<id>MIT</id>
|
|
10674
10752
|
</license>
|
|
10675
10753
|
</licenses>
|
|
10676
|
-
<purl>pkg:npm/%40webassemblyjs/helper-wasm-
|
|
10754
|
+
<purl>pkg:npm/%40webassemblyjs/helper-wasm-bytecode@1.11.1</purl>
|
|
10677
10755
|
<externalReferences>
|
|
10678
10756
|
<reference type="website">
|
|
10679
10757
|
<url>https://github.com/xtuc/webassemblyjs#readme</url>
|
|
@@ -10686,23 +10764,23 @@
|
|
|
10686
10764
|
</reference>
|
|
10687
10765
|
</externalReferences>
|
|
10688
10766
|
</component>
|
|
10689
|
-
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/
|
|
10767
|
+
<component type="library" bom-ref="pkg:npm/%40webassemblyjs/helper-buffer@1.11.1">
|
|
10690
10768
|
<author>Sven Sauleau</author>
|
|
10691
10769
|
<group>@webassemblyjs</group>
|
|
10692
|
-
<name>
|
|
10770
|
+
<name>helper-buffer</name>
|
|
10693
10771
|
<version>1.11.1</version>
|
|
10694
10772
|
<description>
|
|
10695
|
-
<![CDATA[
|
|
10773
|
+
<![CDATA[Buffer manipulation utility]]>
|
|
10696
10774
|
</description>
|
|
10697
10775
|
<hashes>
|
|
10698
|
-
<hash alg="SHA-512">
|
|
10776
|
+
<hash alg="SHA-512">8308a417ae5a0cd79e5daf09c576b604093e4448d2ca1acd0bd670753d1ff2373875041e0d0ec6e26d1fd9008b3c988c4d33bac1f0e64668ffa56d0fb14bc870</hash>
|
|
10699
10777
|
</hashes>
|
|
10700
10778
|
<licenses>
|
|
10701
10779
|
<license>
|
|
10702
10780
|
<id>MIT</id>
|
|
10703
10781
|
</license>
|
|
10704
10782
|
</licenses>
|
|
10705
|
-
<purl>pkg:npm/%40webassemblyjs/
|
|
10783
|
+
<purl>pkg:npm/%40webassemblyjs/helper-buffer@1.11.1</purl>
|
|
10706
10784
|
<externalReferences>
|
|
10707
10785
|
<reference type="website">
|
|
10708
10786
|
<url>https://github.com/xtuc/webassemblyjs#readme</url>
|
|
@@ -11029,25 +11107,25 @@
|
|
|
11029
11107
|
</reference>
|
|
11030
11108
|
</externalReferences>
|
|
11031
11109
|
</component>
|
|
11032
|
-
<component type="library" bom-ref="pkg:npm/%40types/eslint
|
|
11110
|
+
<component type="library" bom-ref="pkg:npm/%40types/eslint@8.4.5">
|
|
11033
11111
|
<group>@types</group>
|
|
11034
|
-
<name>eslint
|
|
11035
|
-
<version>
|
|
11112
|
+
<name>eslint</name>
|
|
11113
|
+
<version>8.4.5</version>
|
|
11036
11114
|
<description>
|
|
11037
|
-
<![CDATA[TypeScript definitions for eslint
|
|
11115
|
+
<![CDATA[TypeScript definitions for eslint]]>
|
|
11038
11116
|
</description>
|
|
11039
11117
|
<hashes>
|
|
11040
|
-
<hash alg="SHA-512">
|
|
11118
|
+
<hash alg="SHA-512">761b02d3dcb58292569caf857f8486bc2b929e4f43694d012594b33b06ba1954a0eb95ed4ee80b0484c3000cd153976e181a17047a5d47ff631c6c498cd7e525</hash>
|
|
11041
11119
|
</hashes>
|
|
11042
11120
|
<licenses>
|
|
11043
11121
|
<license>
|
|
11044
11122
|
<id>MIT</id>
|
|
11045
11123
|
</license>
|
|
11046
11124
|
</licenses>
|
|
11047
|
-
<purl>pkg:npm/%40types/eslint
|
|
11125
|
+
<purl>pkg:npm/%40types/eslint@8.4.5</purl>
|
|
11048
11126
|
<externalReferences>
|
|
11049
11127
|
<reference type="website">
|
|
11050
|
-
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint
|
|
11128
|
+
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint</url>
|
|
11051
11129
|
</reference>
|
|
11052
11130
|
<reference type="issue-tracker">
|
|
11053
11131
|
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/issues</url>
|
|
@@ -11057,25 +11135,25 @@
|
|
|
11057
11135
|
</reference>
|
|
11058
11136
|
</externalReferences>
|
|
11059
11137
|
</component>
|
|
11060
|
-
<component type="library" bom-ref="pkg:npm/%40types/
|
|
11138
|
+
<component type="library" bom-ref="pkg:npm/%40types/estree@0.0.51">
|
|
11061
11139
|
<group>@types</group>
|
|
11062
|
-
<name>
|
|
11063
|
-
<version>
|
|
11140
|
+
<name>estree</name>
|
|
11141
|
+
<version>0.0.51</version>
|
|
11064
11142
|
<description>
|
|
11065
|
-
<![CDATA[TypeScript definitions for
|
|
11143
|
+
<![CDATA[TypeScript definitions for ESTree AST specification]]>
|
|
11066
11144
|
</description>
|
|
11067
11145
|
<hashes>
|
|
11068
|
-
<hash alg="SHA-512">
|
|
11146
|
+
<hash alg="SHA-512">0ae3e053a7f7793fd780a28fa8a77f80b655d579af7f56b64793ce04e1906babaff36c6996cf3d1d4e7329e568c91f17cc777544634e95096f51edc21648d635</hash>
|
|
11069
11147
|
</hashes>
|
|
11070
11148
|
<licenses>
|
|
11071
11149
|
<license>
|
|
11072
11150
|
<id>MIT</id>
|
|
11073
11151
|
</license>
|
|
11074
11152
|
</licenses>
|
|
11075
|
-
<purl>pkg:npm/%40types/
|
|
11153
|
+
<purl>pkg:npm/%40types/estree@0.0.51</purl>
|
|
11076
11154
|
<externalReferences>
|
|
11077
11155
|
<reference type="website">
|
|
11078
|
-
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/
|
|
11156
|
+
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/estree</url>
|
|
11079
11157
|
</reference>
|
|
11080
11158
|
<reference type="issue-tracker">
|
|
11081
11159
|
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/issues</url>
|
|
@@ -11085,25 +11163,25 @@
|
|
|
11085
11163
|
</reference>
|
|
11086
11164
|
</externalReferences>
|
|
11087
11165
|
</component>
|
|
11088
|
-
<component type="library" bom-ref="pkg:npm/%40types/
|
|
11166
|
+
<component type="library" bom-ref="pkg:npm/%40types/eslint-scope@3.7.4">
|
|
11089
11167
|
<group>@types</group>
|
|
11090
|
-
<name>
|
|
11091
|
-
<version>
|
|
11168
|
+
<name>eslint-scope</name>
|
|
11169
|
+
<version>3.7.4</version>
|
|
11092
11170
|
<description>
|
|
11093
|
-
<![CDATA[TypeScript definitions for
|
|
11171
|
+
<![CDATA[TypeScript definitions for eslint-scope]]>
|
|
11094
11172
|
</description>
|
|
11095
11173
|
<hashes>
|
|
11096
|
-
<hash alg="SHA-512">
|
|
11174
|
+
<hash alg="SHA-512">f4ae33a089a265cdc7948a7a015503138096631db66be9614993183696e35b4e3e605d0a5a3e292579c432376715389089b14598495cb1ab095c36dd23f10f84</hash>
|
|
11097
11175
|
</hashes>
|
|
11098
11176
|
<licenses>
|
|
11099
11177
|
<license>
|
|
11100
11178
|
<id>MIT</id>
|
|
11101
11179
|
</license>
|
|
11102
11180
|
</licenses>
|
|
11103
|
-
<purl>pkg:npm/%40types/
|
|
11181
|
+
<purl>pkg:npm/%40types/eslint-scope@3.7.4</purl>
|
|
11104
11182
|
<externalReferences>
|
|
11105
11183
|
<reference type="website">
|
|
11106
|
-
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/
|
|
11184
|
+
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/eslint-scope</url>
|
|
11107
11185
|
</reference>
|
|
11108
11186
|
<reference type="issue-tracker">
|
|
11109
11187
|
<url>https://github.com/DefinitelyTyped/DefinitelyTyped/issues</url>
|
|
@@ -11171,115 +11249,115 @@
|
|
|
11171
11249
|
</reference>
|
|
11172
11250
|
</externalReferences>
|
|
11173
11251
|
</component>
|
|
11174
|
-
<component type="library" bom-ref="pkg:npm/array.prototype.
|
|
11252
|
+
<component type="library" bom-ref="pkg:npm/array.prototype.filter@1.0.1">
|
|
11175
11253
|
<author>Jordan Harband</author>
|
|
11176
|
-
<name>array.prototype.
|
|
11177
|
-
<version>1.
|
|
11254
|
+
<name>array.prototype.filter</name>
|
|
11255
|
+
<version>1.0.1</version>
|
|
11178
11256
|
<description>
|
|
11179
|
-
<![CDATA[An
|
|
11257
|
+
<![CDATA[An ES5 spec-compliant `Array.prototype.filter` shim/polyfill/replacement that works as far down as ES3.]]>
|
|
11180
11258
|
</description>
|
|
11181
11259
|
<hashes>
|
|
11182
|
-
<hash alg="SHA-512">
|
|
11260
|
+
<hash alg="SHA-512">0e4dd3cbb378d8e764ecf8d4fc28b7cd3e292e3db462fb959e7786ff9f0808ce9bb78223e6465a253550f5349a59a204097dac172cf8288b64559a87367722ab</hash>
|
|
11183
11261
|
</hashes>
|
|
11184
11262
|
<licenses>
|
|
11185
11263
|
<license>
|
|
11186
11264
|
<id>MIT</id>
|
|
11187
11265
|
</license>
|
|
11188
11266
|
</licenses>
|
|
11189
|
-
<purl>pkg:npm/array.prototype.
|
|
11267
|
+
<purl>pkg:npm/array.prototype.filter@1.0.1</purl>
|
|
11190
11268
|
<externalReferences>
|
|
11191
11269
|
<reference type="website">
|
|
11192
|
-
<url>https://github.com/es-shims/Array.prototype.
|
|
11270
|
+
<url>https://github.com/es-shims/Array.prototype.filter#readme</url>
|
|
11193
11271
|
</reference>
|
|
11194
11272
|
<reference type="issue-tracker">
|
|
11195
|
-
<url>https://github.com/es-shims/Array.prototype.
|
|
11273
|
+
<url>https://github.com/es-shims/Array.prototype.filter/issues</url>
|
|
11196
11274
|
</reference>
|
|
11197
11275
|
<reference type="vcs">
|
|
11198
|
-
<url>git://github.com/es-shims/Array.prototype.
|
|
11276
|
+
<url>git+https://github.com/es-shims/Array.prototype.filter.git</url>
|
|
11199
11277
|
</reference>
|
|
11200
11278
|
</externalReferences>
|
|
11201
11279
|
</component>
|
|
11202
|
-
<component type="library" bom-ref="pkg:npm/es-
|
|
11280
|
+
<component type="library" bom-ref="pkg:npm/es-array-method-boxes-properly@1.0.0">
|
|
11203
11281
|
<author>Jordan Harband</author>
|
|
11204
|
-
<name>es-
|
|
11282
|
+
<name>es-array-method-boxes-properly</name>
|
|
11205
11283
|
<version>1.0.0</version>
|
|
11206
11284
|
<description>
|
|
11207
|
-
<![CDATA[
|
|
11285
|
+
<![CDATA[Utility package to determine if an `Array.prototype` method properly boxes the callback's receiver and third argument.]]>
|
|
11208
11286
|
</description>
|
|
11209
11287
|
<hashes>
|
|
11210
|
-
<hash alg="SHA-512">
|
|
11288
|
+
<hash alg="SHA-512">c1de895d49b21e6b7c4f96b6c6b794c0a7063eae9fd5ff96c082648a352a886709cf5aaa9d980fe9720af90c88594e654fb8a678dc54965e3c6f3886f9349870</hash>
|
|
11211
11289
|
</hashes>
|
|
11212
11290
|
<licenses>
|
|
11213
11291
|
<license>
|
|
11214
11292
|
<id>MIT</id>
|
|
11215
11293
|
</license>
|
|
11216
11294
|
</licenses>
|
|
11217
|
-
<purl>pkg:npm/es-
|
|
11295
|
+
<purl>pkg:npm/es-array-method-boxes-properly@1.0.0</purl>
|
|
11218
11296
|
<externalReferences>
|
|
11219
11297
|
<reference type="website">
|
|
11220
|
-
<url>https://github.com/ljharb/es-
|
|
11298
|
+
<url>https://github.com/ljharb/es-array-method-boxes-properly#readme</url>
|
|
11221
11299
|
</reference>
|
|
11222
11300
|
<reference type="issue-tracker">
|
|
11223
|
-
<url>https://github.com/ljharb/es-
|
|
11301
|
+
<url>https://github.com/ljharb/es-array-method-boxes-properly/issues</url>
|
|
11224
11302
|
</reference>
|
|
11225
11303
|
<reference type="vcs">
|
|
11226
|
-
<url>git+https://github.com/ljharb/es-
|
|
11304
|
+
<url>git+https://github.com/ljharb/es-array-method-boxes-properly.git</url>
|
|
11227
11305
|
</reference>
|
|
11228
11306
|
</externalReferences>
|
|
11229
11307
|
</component>
|
|
11230
|
-
<component type="library" bom-ref="pkg:npm/array.prototype.
|
|
11308
|
+
<component type="library" bom-ref="pkg:npm/array.prototype.flat@1.3.0">
|
|
11231
11309
|
<author>Jordan Harband</author>
|
|
11232
|
-
<name>array.prototype.
|
|
11233
|
-
<version>1.0
|
|
11310
|
+
<name>array.prototype.flat</name>
|
|
11311
|
+
<version>1.3.0</version>
|
|
11234
11312
|
<description>
|
|
11235
|
-
<![CDATA[An
|
|
11313
|
+
<![CDATA[An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.]]>
|
|
11236
11314
|
</description>
|
|
11237
11315
|
<hashes>
|
|
11238
|
-
<hash alg="SHA-512">
|
|
11316
|
+
<hash alg="SHA-512">d762141241ec0210380d8e6cd053e035721d73c5514aa0fd669efc6b96aef5a6c7fd2381aeca74f3624e5853538e4328ce1f26a9c7622ae68b1a13de633b714b</hash>
|
|
11239
11317
|
</hashes>
|
|
11240
11318
|
<licenses>
|
|
11241
11319
|
<license>
|
|
11242
11320
|
<id>MIT</id>
|
|
11243
11321
|
</license>
|
|
11244
11322
|
</licenses>
|
|
11245
|
-
<purl>pkg:npm/array.prototype.
|
|
11323
|
+
<purl>pkg:npm/array.prototype.flat@1.3.0</purl>
|
|
11246
11324
|
<externalReferences>
|
|
11247
11325
|
<reference type="website">
|
|
11248
|
-
<url>https://github.com/es-shims/Array.prototype.
|
|
11326
|
+
<url>https://github.com/es-shims/Array.prototype.flat#readme</url>
|
|
11249
11327
|
</reference>
|
|
11250
11328
|
<reference type="issue-tracker">
|
|
11251
|
-
<url>https://github.com/es-shims/Array.prototype.
|
|
11329
|
+
<url>https://github.com/es-shims/Array.prototype.flat/issues</url>
|
|
11252
11330
|
</reference>
|
|
11253
11331
|
<reference type="vcs">
|
|
11254
|
-
<url>git
|
|
11332
|
+
<url>git://github.com/es-shims/Array.prototype.flat.git</url>
|
|
11255
11333
|
</reference>
|
|
11256
11334
|
</externalReferences>
|
|
11257
11335
|
</component>
|
|
11258
|
-
<component type="library" bom-ref="pkg:npm/es-
|
|
11336
|
+
<component type="library" bom-ref="pkg:npm/es-shim-unscopables@1.0.0">
|
|
11259
11337
|
<author>Jordan Harband</author>
|
|
11260
|
-
<name>es-
|
|
11338
|
+
<name>es-shim-unscopables</name>
|
|
11261
11339
|
<version>1.0.0</version>
|
|
11262
11340
|
<description>
|
|
11263
|
-
<![CDATA[
|
|
11341
|
+
<![CDATA[Helper package to shim a method into `Array.prototype[Symbol.unscopables]`]]>
|
|
11264
11342
|
</description>
|
|
11265
11343
|
<hashes>
|
|
11266
|
-
<hash alg="SHA-512">
|
|
11344
|
+
<hash alg="SHA-512">266e863dc09d0b7d1e30b6d9db1f33d96b91c00c2cdf34c104abaeb1f7d8554acd8ff195494019fb128c694a5f34347921bc8d0392c96da79ca1455b994701d7</hash>
|
|
11267
11345
|
</hashes>
|
|
11268
11346
|
<licenses>
|
|
11269
11347
|
<license>
|
|
11270
11348
|
<id>MIT</id>
|
|
11271
11349
|
</license>
|
|
11272
11350
|
</licenses>
|
|
11273
|
-
<purl>pkg:npm/es-
|
|
11351
|
+
<purl>pkg:npm/es-shim-unscopables@1.0.0</purl>
|
|
11274
11352
|
<externalReferences>
|
|
11275
11353
|
<reference type="website">
|
|
11276
|
-
<url>https://github.com/ljharb/es-
|
|
11354
|
+
<url>https://github.com/ljharb/es-shim-unscopables#readme</url>
|
|
11277
11355
|
</reference>
|
|
11278
11356
|
<reference type="issue-tracker">
|
|
11279
|
-
<url>https://github.com/ljharb/es-
|
|
11357
|
+
<url>https://github.com/ljharb/es-shim-unscopables/issues</url>
|
|
11280
11358
|
</reference>
|
|
11281
11359
|
<reference type="vcs">
|
|
11282
|
-
<url>git+https://github.com/ljharb/es-
|
|
11360
|
+
<url>git+https://github.com/ljharb/es-shim-unscopables.git</url>
|
|
11283
11361
|
</reference>
|
|
11284
11362
|
</externalReferences>
|
|
11285
11363
|
</component>
|
|
@@ -12291,34 +12369,6 @@
|
|
|
12291
12369
|
</reference>
|
|
12292
12370
|
</externalReferences>
|
|
12293
12371
|
</component>
|
|
12294
|
-
<component type="library" bom-ref="pkg:npm/es-module-lexer@0.9.3">
|
|
12295
|
-
<author>Guy Bedford</author>
|
|
12296
|
-
<name>es-module-lexer</name>
|
|
12297
|
-
<version>0.9.3</version>
|
|
12298
|
-
<description>
|
|
12299
|
-
<![CDATA[Lexes ES modules returning their import/export metadata]]>
|
|
12300
|
-
</description>
|
|
12301
|
-
<hashes>
|
|
12302
|
-
<hash alg="SHA-512">d47436336b0fb71c27bcebd3d590a51f24038a081d3635115a9636c1ee9a30a0908945714e656cd9460f2c8ac3f38b12fa431d5307c14b295b24fc0d9c1ae71d</hash>
|
|
12303
|
-
</hashes>
|
|
12304
|
-
<licenses>
|
|
12305
|
-
<license>
|
|
12306
|
-
<id>MIT</id>
|
|
12307
|
-
</license>
|
|
12308
|
-
</licenses>
|
|
12309
|
-
<purl>pkg:npm/es-module-lexer@0.9.3</purl>
|
|
12310
|
-
<externalReferences>
|
|
12311
|
-
<reference type="website">
|
|
12312
|
-
<url>https://github.com/guybedford/es-module-lexer#readme</url>
|
|
12313
|
-
</reference>
|
|
12314
|
-
<reference type="issue-tracker">
|
|
12315
|
-
<url>https://github.com/guybedford/es-module-lexer/issues</url>
|
|
12316
|
-
</reference>
|
|
12317
|
-
<reference type="vcs">
|
|
12318
|
-
<url>git+https://github.com/guybedford/es-module-lexer.git</url>
|
|
12319
|
-
</reference>
|
|
12320
|
-
</externalReferences>
|
|
12321
|
-
</component>
|
|
12322
12372
|
<component type="library" bom-ref="pkg:npm/escalade@3.1.1">
|
|
12323
12373
|
<author>Luke Edwards</author>
|
|
12324
12374
|
<name>escalade</name>
|
|
@@ -12347,30 +12397,31 @@
|
|
|
12347
12397
|
</reference>
|
|
12348
12398
|
</externalReferences>
|
|
12349
12399
|
</component>
|
|
12350
|
-
<component type="library" bom-ref="pkg:npm/
|
|
12351
|
-
<
|
|
12352
|
-
<
|
|
12400
|
+
<component type="library" bom-ref="pkg:npm/es-module-lexer@0.9.3">
|
|
12401
|
+
<author>Guy Bedford</author>
|
|
12402
|
+
<name>es-module-lexer</name>
|
|
12403
|
+
<version>0.9.3</version>
|
|
12353
12404
|
<description>
|
|
12354
|
-
<![CDATA[
|
|
12405
|
+
<![CDATA[Lexes ES modules returning their import/export metadata]]>
|
|
12355
12406
|
</description>
|
|
12356
12407
|
<hashes>
|
|
12357
|
-
<hash alg="SHA-512">
|
|
12408
|
+
<hash alg="SHA-512">d47436336b0fb71c27bcebd3d590a51f24038a081d3635115a9636c1ee9a30a0908945714e656cd9460f2c8ac3f38b12fa431d5307c14b295b24fc0d9c1ae71d</hash>
|
|
12358
12409
|
</hashes>
|
|
12359
12410
|
<licenses>
|
|
12360
12411
|
<license>
|
|
12361
|
-
<id>
|
|
12412
|
+
<id>MIT</id>
|
|
12362
12413
|
</license>
|
|
12363
12414
|
</licenses>
|
|
12364
|
-
<purl>pkg:npm/
|
|
12415
|
+
<purl>pkg:npm/es-module-lexer@0.9.3</purl>
|
|
12365
12416
|
<externalReferences>
|
|
12366
12417
|
<reference type="website">
|
|
12367
|
-
<url>https://github.com/
|
|
12418
|
+
<url>https://github.com/guybedford/es-module-lexer#readme</url>
|
|
12368
12419
|
</reference>
|
|
12369
12420
|
<reference type="issue-tracker">
|
|
12370
|
-
<url>https://github.com/
|
|
12421
|
+
<url>https://github.com/guybedford/es-module-lexer/issues</url>
|
|
12371
12422
|
</reference>
|
|
12372
12423
|
<reference type="vcs">
|
|
12373
|
-
<url>git+
|
|
12424
|
+
<url>git+https://github.com/guybedford/es-module-lexer.git</url>
|
|
12374
12425
|
</reference>
|
|
12375
12426
|
</externalReferences>
|
|
12376
12427
|
</component>
|
|
@@ -12401,6 +12452,33 @@
|
|
|
12401
12452
|
</reference>
|
|
12402
12453
|
</externalReferences>
|
|
12403
12454
|
</component>
|
|
12455
|
+
<component type="library" bom-ref="pkg:npm/estraverse@5.3.0">
|
|
12456
|
+
<name>estraverse</name>
|
|
12457
|
+
<version>5.3.0</version>
|
|
12458
|
+
<description>
|
|
12459
|
+
<![CDATA[ECMAScript JS AST traversal functions]]>
|
|
12460
|
+
</description>
|
|
12461
|
+
<hashes>
|
|
12462
|
+
<hash alg="SHA-512">30c74046e54443388d4de243f0380caa6870475d41450fdc04ffa92ed61d4939dfdcc20ef1f15e8883446d7dfa65d3657d4ffb03d7f7814c38f41de842cbf004</hash>
|
|
12463
|
+
</hashes>
|
|
12464
|
+
<licenses>
|
|
12465
|
+
<license>
|
|
12466
|
+
<id>BSD-2-Clause</id>
|
|
12467
|
+
</license>
|
|
12468
|
+
</licenses>
|
|
12469
|
+
<purl>pkg:npm/estraverse@5.3.0</purl>
|
|
12470
|
+
<externalReferences>
|
|
12471
|
+
<reference type="website">
|
|
12472
|
+
<url>https://github.com/estools/estraverse</url>
|
|
12473
|
+
</reference>
|
|
12474
|
+
<reference type="issue-tracker">
|
|
12475
|
+
<url>https://github.com/estools/estraverse/issues</url>
|
|
12476
|
+
</reference>
|
|
12477
|
+
<reference type="vcs">
|
|
12478
|
+
<url>git+ssh://git@github.com/estools/estraverse.git</url>
|
|
12479
|
+
</reference>
|
|
12480
|
+
</externalReferences>
|
|
12481
|
+
</component>
|
|
12404
12482
|
<component type="library" bom-ref="pkg:npm/events@3.3.0">
|
|
12405
12483
|
<author>Irakli Gozalishvili</author>
|
|
12406
12484
|
<name>events</name>
|
|
@@ -12623,58 +12701,58 @@
|
|
|
12623
12701
|
</reference>
|
|
12624
12702
|
</externalReferences>
|
|
12625
12703
|
</component>
|
|
12626
|
-
<component type="library" bom-ref="pkg:npm/source-map@0.
|
|
12627
|
-
<
|
|
12628
|
-
<
|
|
12629
|
-
<version>0.6.1</version>
|
|
12704
|
+
<component type="library" bom-ref="pkg:npm/source-map-support@0.5.21">
|
|
12705
|
+
<name>source-map-support</name>
|
|
12706
|
+
<version>0.5.21</version>
|
|
12630
12707
|
<description>
|
|
12631
|
-
<![CDATA[
|
|
12708
|
+
<![CDATA[Fixes stack traces for files with source maps]]>
|
|
12632
12709
|
</description>
|
|
12633
12710
|
<hashes>
|
|
12634
|
-
<hash alg="SHA-512">
|
|
12711
|
+
<hash alg="SHA-512">b811d4dcbddccec232617297f3c7ddac6a2fc5d482a13183459e92617b524712d95331e0e4fffae87b7aba85251eef4466877e8a75e12a8dea420c17513ff2d7</hash>
|
|
12635
12712
|
</hashes>
|
|
12636
12713
|
<licenses>
|
|
12637
12714
|
<license>
|
|
12638
|
-
<id>
|
|
12715
|
+
<id>MIT</id>
|
|
12639
12716
|
</license>
|
|
12640
12717
|
</licenses>
|
|
12641
|
-
<purl>pkg:npm/source-map@0.
|
|
12718
|
+
<purl>pkg:npm/source-map-support@0.5.21</purl>
|
|
12642
12719
|
<externalReferences>
|
|
12643
12720
|
<reference type="website">
|
|
12644
|
-
<url>https://github.com/
|
|
12721
|
+
<url>https://github.com/evanw/node-source-map-support#readme</url>
|
|
12645
12722
|
</reference>
|
|
12646
12723
|
<reference type="issue-tracker">
|
|
12647
|
-
<url>https://github.com/
|
|
12724
|
+
<url>https://github.com/evanw/node-source-map-support/issues</url>
|
|
12648
12725
|
</reference>
|
|
12649
12726
|
<reference type="vcs">
|
|
12650
|
-
<url>git+
|
|
12727
|
+
<url>git+https://github.com/evanw/node-source-map-support.git</url>
|
|
12651
12728
|
</reference>
|
|
12652
12729
|
</externalReferences>
|
|
12653
12730
|
</component>
|
|
12654
|
-
<component type="library" bom-ref="pkg:npm/source-map
|
|
12655
|
-
<
|
|
12656
|
-
<
|
|
12731
|
+
<component type="library" bom-ref="pkg:npm/source-map@0.6.1">
|
|
12732
|
+
<author>Nick Fitzgerald</author>
|
|
12733
|
+
<name>source-map</name>
|
|
12734
|
+
<version>0.6.1</version>
|
|
12657
12735
|
<description>
|
|
12658
|
-
<![CDATA[
|
|
12736
|
+
<![CDATA[Generates and consumes source maps]]>
|
|
12659
12737
|
</description>
|
|
12660
12738
|
<hashes>
|
|
12661
|
-
<hash alg="SHA-512">
|
|
12739
|
+
<hash alg="SHA-512">52381aa6e99695b3219018334fb624739617513e3a17488abbc4865ead1b7303f9773fe1d0f963e9e9c9aa3cf565bab697959aa989eb55bc16396332177178ee</hash>
|
|
12662
12740
|
</hashes>
|
|
12663
12741
|
<licenses>
|
|
12664
12742
|
<license>
|
|
12665
|
-
<id>
|
|
12743
|
+
<id>BSD-3-Clause</id>
|
|
12666
12744
|
</license>
|
|
12667
12745
|
</licenses>
|
|
12668
|
-
<purl>pkg:npm/source-map
|
|
12746
|
+
<purl>pkg:npm/source-map@0.6.1</purl>
|
|
12669
12747
|
<externalReferences>
|
|
12670
12748
|
<reference type="website">
|
|
12671
|
-
<url>https://github.com/
|
|
12749
|
+
<url>https://github.com/mozilla/source-map</url>
|
|
12672
12750
|
</reference>
|
|
12673
12751
|
<reference type="issue-tracker">
|
|
12674
|
-
<url>https://github.com/
|
|
12752
|
+
<url>https://github.com/mozilla/source-map/issues</url>
|
|
12675
12753
|
</reference>
|
|
12676
12754
|
<reference type="vcs">
|
|
12677
|
-
<url>git+
|
|
12755
|
+
<url>git+ssh://git@github.com/mozilla/source-map.git</url>
|
|
12678
12756
|
</reference>
|
|
12679
12757
|
</externalReferences>
|
|
12680
12758
|
</component>
|
|
@@ -13280,7 +13358,7 @@
|
|
|
13280
13358
|
<dependency ref="pkg:npm/style-loader@3.3.1"/>
|
|
13281
13359
|
<dependency ref="pkg:npm/uuid@9.0.0"/>
|
|
13282
13360
|
<dependency ref="pkg:npm/webfontloader@1.6.28"/>
|
|
13283
|
-
<dependency ref="pkg:npm/%40modusoperandi/licit-ui-commands@0.1.
|
|
13361
|
+
<dependency ref="pkg:npm/%40modusoperandi/licit-ui-commands@0.1.10">
|
|
13284
13362
|
<dependency ref="pkg:npm/%40types/color@3.0.3"/>
|
|
13285
13363
|
<dependency ref="pkg:npm/%40types/react@18.0.24"/>
|
|
13286
13364
|
<dependency ref="pkg:npm/%40types/react-dom@18.0.8"/>
|
|
@@ -14054,7 +14132,7 @@
|
|
|
14054
14132
|
<dependency ref="pkg:npm/big.js@5.2.2"/>
|
|
14055
14133
|
<dependency ref="pkg:npm/emojis-list@3.0.0"/>
|
|
14056
14134
|
<dependency ref="pkg:npm/json5@2.2.1"/>
|
|
14057
|
-
<dependency ref="pkg:npm/loader-utils@2.0.
|
|
14135
|
+
<dependency ref="pkg:npm/loader-utils@2.0.4">
|
|
14058
14136
|
<dependency ref="pkg:npm/big.js@5.2.2"/>
|
|
14059
14137
|
<dependency ref="pkg:npm/emojis-list@3.0.0"/>
|
|
14060
14138
|
<dependency ref="pkg:npm/json5@2.2.1"/>
|
|
@@ -14073,20 +14151,29 @@
|
|
|
14073
14151
|
<dependency ref="pkg:npm/%40types/json-schema@7.0.11"/>
|
|
14074
14152
|
</dependency>
|
|
14075
14153
|
<dependency ref="pkg:npm/style-loader@1.3.0">
|
|
14076
|
-
<dependency ref="pkg:npm/loader-utils@2.0.
|
|
14154
|
+
<dependency ref="pkg:npm/loader-utils@2.0.4"/>
|
|
14077
14155
|
<dependency ref="pkg:npm/schema-utils@2.7.1"/>
|
|
14078
14156
|
</dependency>
|
|
14157
|
+
<dependency ref="pkg:npm/punycode@1.3.2"/>
|
|
14158
|
+
<dependency ref="pkg:npm/querystring@0.2.0"/>
|
|
14159
|
+
<dependency ref="pkg:npm/url@0.11.0">
|
|
14160
|
+
<dependency ref="pkg:npm/punycode@1.3.2"/>
|
|
14161
|
+
<dependency ref="pkg:npm/querystring@0.2.0"/>
|
|
14162
|
+
</dependency>
|
|
14079
14163
|
<dependency ref="pkg:npm/uuid@8.2.0"/>
|
|
14080
14164
|
<dependency ref="pkg:npm/%40webassemblyjs/helper-api-error@1.11.1"/>
|
|
14081
|
-
<dependency ref="pkg:npm/%40webassemblyjs/helper-buffer@1.11.1"/>
|
|
14082
|
-
<dependency ref="pkg:npm/%40webassemblyjs/helper-wasm-bytecode@1.11.1"/>
|
|
14083
14165
|
<dependency ref="pkg:npm/%40webassemblyjs/floating-point-hex-parser@1.11.1"/>
|
|
14084
14166
|
<dependency ref="pkg:npm/%40xtuc/long@4.2.2"/>
|
|
14085
14167
|
<dependency ref="pkg:npm/%40webassemblyjs/helper-numbers@1.11.1">
|
|
14086
14168
|
<dependency ref="pkg:npm/%40webassemblyjs/floating-point-hex-parser@1.11.1"/>
|
|
14087
14169
|
<dependency ref="pkg:npm/%40xtuc/long@4.2.2"/>
|
|
14088
14170
|
</dependency>
|
|
14089
|
-
<dependency ref="pkg:npm/%40webassemblyjs/
|
|
14171
|
+
<dependency ref="pkg:npm/%40webassemblyjs/helper-wasm-bytecode@1.11.1"/>
|
|
14172
|
+
<dependency ref="pkg:npm/%40webassemblyjs/ast@1.11.1">
|
|
14173
|
+
<dependency ref="pkg:npm/%40webassemblyjs/helper-numbers@1.11.1"/>
|
|
14174
|
+
<dependency ref="pkg:npm/%40webassemblyjs/helper-wasm-bytecode@1.11.1"/>
|
|
14175
|
+
</dependency>
|
|
14176
|
+
<dependency ref="pkg:npm/%40webassemblyjs/helper-buffer@1.11.1"/>
|
|
14090
14177
|
<dependency ref="pkg:npm/%40xtuc/ieee754@1.2.0"/>
|
|
14091
14178
|
<dependency ref="pkg:npm/%40webassemblyjs/ieee754@1.11.1">
|
|
14092
14179
|
<dependency ref="pkg:npm/%40xtuc/ieee754@1.2.0"/>
|
|
@@ -14100,6 +14187,7 @@
|
|
|
14100
14187
|
</dependency>
|
|
14101
14188
|
<dependency ref="pkg:npm/%40webassemblyjs/helper-wasm-section@1.11.1">
|
|
14102
14189
|
<dependency ref="pkg:npm/%40webassemblyjs/ast@1.11.1"/>
|
|
14190
|
+
<dependency ref="pkg:npm/%40webassemblyjs/helper-buffer@1.11.1"/>
|
|
14103
14191
|
<dependency ref="pkg:npm/%40webassemblyjs/wasm-gen@1.11.1"/>
|
|
14104
14192
|
</dependency>
|
|
14105
14193
|
<dependency ref="pkg:npm/%40webassemblyjs/wasm-parser@1.11.1"/>
|
|
@@ -14114,21 +14202,19 @@
|
|
|
14114
14202
|
<dependency ref="pkg:npm/%40types/eslint@8.4.5">
|
|
14115
14203
|
<dependency ref="pkg:npm/%40types/estree@0.0.51"/>
|
|
14116
14204
|
</dependency>
|
|
14117
|
-
<dependency ref="pkg:npm/%40types/eslint-scope@3.7.4"
|
|
14118
|
-
<dependency ref="pkg:npm/%40types/eslint@8.4.5"/>
|
|
14119
|
-
</dependency>
|
|
14205
|
+
<dependency ref="pkg:npm/%40types/eslint-scope@3.7.4"/>
|
|
14120
14206
|
<dependency ref="pkg:npm/%40webassemblyjs/wast-printer@1.11.1"/>
|
|
14121
14207
|
<dependency ref="pkg:npm/%40webassemblyjs/wasm-edit@1.11.1">
|
|
14122
14208
|
<dependency ref="pkg:npm/%40webassemblyjs/wast-printer@1.11.1"/>
|
|
14123
14209
|
</dependency>
|
|
14124
|
-
<dependency ref="pkg:npm/es-shim-unscopables@1.0.0"/>
|
|
14125
|
-
<dependency ref="pkg:npm/array.prototype.flat@1.3.0">
|
|
14126
|
-
<dependency ref="pkg:npm/es-shim-unscopables@1.0.0"/>
|
|
14127
|
-
</dependency>
|
|
14128
14210
|
<dependency ref="pkg:npm/es-array-method-boxes-properly@1.0.0"/>
|
|
14129
14211
|
<dependency ref="pkg:npm/array.prototype.filter@1.0.1">
|
|
14130
14212
|
<dependency ref="pkg:npm/es-array-method-boxes-properly@1.0.0"/>
|
|
14131
14213
|
</dependency>
|
|
14214
|
+
<dependency ref="pkg:npm/es-shim-unscopables@1.0.0"/>
|
|
14215
|
+
<dependency ref="pkg:npm/array.prototype.flat@1.3.0">
|
|
14216
|
+
<dependency ref="pkg:npm/es-shim-unscopables@1.0.0"/>
|
|
14217
|
+
</dependency>
|
|
14132
14218
|
<dependency ref="pkg:npm/boolbase@1.0.0"/>
|
|
14133
14219
|
<dependency ref="pkg:npm/caniuse-lite@1.0.30001356"/>
|
|
14134
14220
|
<dependency ref="pkg:npm/css-what@6.1.0"/>
|
|
@@ -14205,10 +14291,12 @@
|
|
|
14205
14291
|
<dependency ref="pkg:npm/rst-selector-parser@2.2.3"/>
|
|
14206
14292
|
<dependency ref="pkg:npm/string.prototype.trim@1.2.6"/>
|
|
14207
14293
|
</dependency>
|
|
14208
|
-
<dependency ref="pkg:npm/es-module-lexer@0.9.3"/>
|
|
14209
14294
|
<dependency ref="pkg:npm/escalade@3.1.1"/>
|
|
14295
|
+
<dependency ref="pkg:npm/es-module-lexer@0.9.3"/>
|
|
14210
14296
|
<dependency ref="pkg:npm/estraverse@5.3.0"/>
|
|
14211
|
-
<dependency ref="pkg:npm/esrecurse@4.3.0"
|
|
14297
|
+
<dependency ref="pkg:npm/esrecurse@4.3.0">
|
|
14298
|
+
<dependency ref="pkg:npm/estraverse@5.3.0"/>
|
|
14299
|
+
</dependency>
|
|
14212
14300
|
<dependency ref="pkg:npm/events@3.3.0"/>
|
|
14213
14301
|
<dependency ref="pkg:npm/glob-to-regexp@0.4.1"/>
|
|
14214
14302
|
<dependency ref="pkg:npm/loader-runner@4.3.0"/>
|
|
@@ -14218,7 +14306,9 @@
|
|
|
14218
14306
|
<dependency ref="pkg:npm/picocolors@1.0.0"/>
|
|
14219
14307
|
<dependency ref="pkg:npm/randombytes@2.1.0"/>
|
|
14220
14308
|
<dependency ref="pkg:npm/source-map@0.6.1"/>
|
|
14221
|
-
<dependency ref="pkg:npm/source-map-support@0.5.21"
|
|
14309
|
+
<dependency ref="pkg:npm/source-map-support@0.5.21">
|
|
14310
|
+
<dependency ref="pkg:npm/source-map@0.6.1"/>
|
|
14311
|
+
</dependency>
|
|
14222
14312
|
<dependency ref="pkg:npm/watchpack@2.4.0"/>
|
|
14223
14313
|
<dependency ref="pkg:npm/browserslist@4.20.4"/>
|
|
14224
14314
|
<dependency ref="pkg:npm/tapable@2.2.1"/>
|
|
@@ -14258,9 +14348,9 @@
|
|
|
14258
14348
|
<dependency ref="pkg:npm/terser-webpack-plugin@5.3.6"/>
|
|
14259
14349
|
<dependency ref="pkg:npm/webpack-sources@3.2.3"/>
|
|
14260
14350
|
</dependency>
|
|
14261
|
-
<dependency ref="pkg:npm/%40modusoperandi/licit@0.13.
|
|
14351
|
+
<dependency ref="pkg:npm/%40modusoperandi/licit@0.13.25">
|
|
14262
14352
|
<dependency ref="pkg:npm/%40modusoperandi/licit-doc-attrs-step@0.1.3"/>
|
|
14263
|
-
<dependency ref="pkg:npm/%40modusoperandi/licit-ui-commands@0.1.
|
|
14353
|
+
<dependency ref="pkg:npm/%40modusoperandi/licit-ui-commands@0.1.10"/>
|
|
14264
14354
|
<dependency ref="pkg:npm/%40wojtekmaj/enzyme-adapter-react-17@0.6.7"/>
|
|
14265
14355
|
<dependency ref="pkg:npm/body-parser@1.20.0"/>
|
|
14266
14356
|
<dependency ref="pkg:npm/classnames@2.2.6"/>
|
|
@@ -14289,21 +14379,20 @@
|
|
|
14289
14379
|
<dependency ref="pkg:npm/resize-observer-polyfill@1.5.1"/>
|
|
14290
14380
|
<dependency ref="pkg:npm/smooth-scroll-into-view-if-needed@1.1.28"/>
|
|
14291
14381
|
<dependency ref="pkg:npm/style-loader@1.3.0"/>
|
|
14382
|
+
<dependency ref="pkg:npm/url@0.11.0"/>
|
|
14292
14383
|
<dependency ref="pkg:npm/uuid@8.2.0"/>
|
|
14293
14384
|
<dependency ref="pkg:npm/%40webassemblyjs/helper-api-error@1.11.1"/>
|
|
14294
|
-
<dependency ref="pkg:npm/%40webassemblyjs/helper-buffer@1.11.1"/>
|
|
14295
|
-
<dependency ref="pkg:npm/%40webassemblyjs/helper-wasm-bytecode@1.11.1"/>
|
|
14296
|
-
<dependency ref="pkg:npm/%40webassemblyjs/helper-numbers@1.11.1"/>
|
|
14297
14385
|
<dependency ref="pkg:npm/%40webassemblyjs/helper-wasm-section@1.11.1"/>
|
|
14298
14386
|
<dependency ref="pkg:npm/%40webassemblyjs/wasm-opt@1.11.1"/>
|
|
14299
14387
|
<dependency ref="pkg:npm/%40jridgewell/resolve-uri@3.1.0"/>
|
|
14300
14388
|
<dependency ref="pkg:npm/%40jridgewell/set-array@1.1.1"/>
|
|
14301
14389
|
<dependency ref="pkg:npm/%40jridgewell/sourcemap-codec@1.4.14"/>
|
|
14302
14390
|
<dependency ref="pkg:npm/%40jridgewell/trace-mapping@0.3.17"/>
|
|
14391
|
+
<dependency ref="pkg:npm/%40types/eslint@8.4.5"/>
|
|
14303
14392
|
<dependency ref="pkg:npm/%40types/eslint-scope@3.7.4"/>
|
|
14304
14393
|
<dependency ref="pkg:npm/%40webassemblyjs/wasm-edit@1.11.1"/>
|
|
14305
|
-
<dependency ref="pkg:npm/array.prototype.flat@1.3.0"/>
|
|
14306
14394
|
<dependency ref="pkg:npm/array.prototype.filter@1.0.1"/>
|
|
14395
|
+
<dependency ref="pkg:npm/array.prototype.flat@1.3.0"/>
|
|
14307
14396
|
<dependency ref="pkg:npm/boolbase@1.0.0"/>
|
|
14308
14397
|
<dependency ref="pkg:npm/caniuse-lite@1.0.30001356"/>
|
|
14309
14398
|
<dependency ref="pkg:npm/cheerio@1.0.0-rc.11"/>
|
|
@@ -14311,9 +14400,8 @@
|
|
|
14311
14400
|
<dependency ref="pkg:npm/discontinuous-range@1.0.0"/>
|
|
14312
14401
|
<dependency ref="pkg:npm/electron-to-chromium@1.4.161"/>
|
|
14313
14402
|
<dependency ref="pkg:npm/enzyme@3.11.0"/>
|
|
14314
|
-
<dependency ref="pkg:npm/es-module-lexer@0.9.3"/>
|
|
14315
14403
|
<dependency ref="pkg:npm/escalade@3.1.1"/>
|
|
14316
|
-
<dependency ref="pkg:npm/
|
|
14404
|
+
<dependency ref="pkg:npm/es-module-lexer@0.9.3"/>
|
|
14317
14405
|
<dependency ref="pkg:npm/esrecurse@4.3.0"/>
|
|
14318
14406
|
<dependency ref="pkg:npm/events@3.3.0"/>
|
|
14319
14407
|
<dependency ref="pkg:npm/glob-to-regexp@0.4.1"/>
|
|
@@ -14323,7 +14411,6 @@
|
|
|
14323
14411
|
<dependency ref="pkg:npm/node-releases@2.0.5"/>
|
|
14324
14412
|
<dependency ref="pkg:npm/picocolors@1.0.0"/>
|
|
14325
14413
|
<dependency ref="pkg:npm/randombytes@2.1.0"/>
|
|
14326
|
-
<dependency ref="pkg:npm/source-map@0.6.1"/>
|
|
14327
14414
|
<dependency ref="pkg:npm/source-map-support@0.5.21"/>
|
|
14328
14415
|
<dependency ref="pkg:npm/watchpack@2.4.0"/>
|
|
14329
14416
|
<dependency ref="pkg:npm/browserslist@4.20.4"/>
|
package/dist/client/Licit.js
CHANGED
|
@@ -270,11 +270,8 @@ class Licit extends React.Component {
|
|
|
270
270
|
try {
|
|
271
271
|
//
|
|
272
272
|
if (Array.isArray(this.props.plugins)) {
|
|
273
|
-
const {
|
|
274
|
-
ExportPDFPlugin
|
|
275
|
-
} = await Promise.resolve().then(() => _interopRequireWildcard(require('@modusoperandi/licit-export-pdf')));
|
|
276
273
|
this.props.plugins.forEach(plugin => {
|
|
277
|
-
if (plugin
|
|
274
|
+
if (plugin['key'].startsWith('exportPDF$')) {
|
|
278
275
|
// got the exportPDF instance.
|
|
279
276
|
resolve(plugin);
|
|
280
277
|
}
|
|
@@ -666,11 +666,8 @@ class Licit extends React.Component<any, any> {
|
|
|
666
666
|
try {
|
|
667
667
|
//
|
|
668
668
|
if (Array.isArray(this.props.plugins)) {
|
|
669
|
-
const { ExportPDFPlugin } = await import(
|
|
670
|
-
'@modusoperandi/licit-export-pdf'
|
|
671
|
-
);
|
|
672
669
|
this.props.plugins.forEach((plugin) => {
|
|
673
|
-
if (plugin
|
|
670
|
+
if (plugin['key'].startsWith('exportPDF$')) {
|
|
674
671
|
// got the exportPDF instance.
|
|
675
672
|
resolve(plugin);
|
|
676
673
|
}
|
package/dist/ui/ImageNodeView.js
CHANGED
|
@@ -92,7 +92,7 @@ function getMaxResizeWidth(el) {
|
|
|
92
92
|
return MAX_SIZE;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
function resolveURL(runtime, src) {
|
|
95
|
+
async function resolveURL(runtime, src) {
|
|
96
96
|
if (!runtime) {
|
|
97
97
|
return src;
|
|
98
98
|
}
|
|
@@ -103,7 +103,7 @@ function resolveURL(runtime, src) {
|
|
|
103
103
|
} = runtime;
|
|
104
104
|
|
|
105
105
|
if (src && canProxyImageSrc && getProxyImageSrc && canProxyImageSrc(src)) {
|
|
106
|
-
return getProxyImageSrc(src);
|
|
106
|
+
return await getProxyImageSrc(src);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
return src;
|
|
@@ -142,7 +142,7 @@ class ImageViewBody extends React.PureComponent {
|
|
|
142
142
|
originalSize: DEFAULT_ORIGINAL_SIZE
|
|
143
143
|
});
|
|
144
144
|
const src = this.props.node.attrs.src;
|
|
145
|
-
const url = resolveURL(this.props.editorView.runtime, src);
|
|
145
|
+
const url = await resolveURL(this.props.editorView.runtime, src);
|
|
146
146
|
const originalSize = await (0, _resolveImage.default)(url);
|
|
147
147
|
|
|
148
148
|
if (!this._mounted) {
|
|
@@ -69,13 +69,13 @@ function getMaxResizeWidth(el: any): number {
|
|
|
69
69
|
return MAX_SIZE;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
function resolveURL(runtime: ?EditorRuntime, src: ?string): ?string {
|
|
72
|
+
async function resolveURL(runtime: ?EditorRuntime, src: ?string): ?string {
|
|
73
73
|
if (!runtime) {
|
|
74
74
|
return src;
|
|
75
75
|
}
|
|
76
76
|
const { canProxyImageSrc, getProxyImageSrc } = runtime;
|
|
77
77
|
if (src && canProxyImageSrc && getProxyImageSrc && canProxyImageSrc(src)) {
|
|
78
|
-
return getProxyImageSrc(src);
|
|
78
|
+
return await getProxyImageSrc(src);
|
|
79
79
|
}
|
|
80
80
|
return src;
|
|
81
81
|
}
|
|
@@ -274,7 +274,7 @@ class ImageViewBody extends React.PureComponent<any, any> {
|
|
|
274
274
|
|
|
275
275
|
this.setState({ originalSize: DEFAULT_ORIGINAL_SIZE });
|
|
276
276
|
const src = this.props.node.attrs.src;
|
|
277
|
-
const url = resolveURL(this.props.editorView.runtime, src);
|
|
277
|
+
const url = await resolveURL(this.props.editorView.runtime, src);
|
|
278
278
|
const originalSize = await resolveImage(url);
|
|
279
279
|
if (!this._mounted) {
|
|
280
280
|
// unmounted;
|
|
@@ -18,10 +18,36 @@ class CustomLicitRuntime {
|
|
|
18
18
|
return false;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
getProxyImageSrc(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
getProxyImageSrc(id: string): Promise<string> {
|
|
22
|
+
return new Promise((resolve, reject) => {
|
|
23
|
+
const token =
|
|
24
|
+
'Bearer <access_token>';
|
|
25
|
+
const endPoint = 'https://moviacloud.modusoperandi.com/movia/content';
|
|
26
|
+
|
|
27
|
+
(async () => {
|
|
28
|
+
// image that will be fetched and appended
|
|
29
|
+
const imageURL = endPoint + id;
|
|
30
|
+
|
|
31
|
+
// Fetch remote URL, getting contents as binary blob
|
|
32
|
+
const vidBlob = await (
|
|
33
|
+
await fetch(imageURL, { headers: { Authorization: token } })
|
|
34
|
+
).blob();
|
|
35
|
+
|
|
36
|
+
const reader = new window.FileReader();
|
|
37
|
+
reader.addEventListener('error', () =>
|
|
38
|
+
reject(new Error('Failed to load image'))
|
|
39
|
+
);
|
|
40
|
+
reader.addEventListener('load', () =>
|
|
41
|
+
// Convert to ImageLike. Width and Height are unknown, and would
|
|
42
|
+
// require rendering into a hidden canvas to determine
|
|
43
|
+
resolve({
|
|
44
|
+
alt: vidBlob.name,
|
|
45
|
+
src: reader.result
|
|
46
|
+
})
|
|
47
|
+
);
|
|
48
|
+
reader.readAsDataURL(vidBlob);
|
|
49
|
+
})();
|
|
50
|
+
});
|
|
25
51
|
}
|
|
26
52
|
|
|
27
53
|
// Image Upload
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modusoperandi/licit",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.25",
|
|
4
4
|
"subversion": "1",
|
|
5
5
|
"description": "Rich text editor built with React and ProseMirror",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
},
|
|
91
91
|
"dependencies": {
|
|
92
92
|
"@modusoperandi/licit-doc-attrs-step": "^0.1.3",
|
|
93
|
-
"@modusoperandi/licit-ui-commands": "^0.1.
|
|
93
|
+
"@modusoperandi/licit-ui-commands": "^0.1.10",
|
|
94
94
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
|
|
95
95
|
"body-parser": "^1.19.0",
|
|
96
96
|
"browserkeymap": "2.0.2",
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
"resize-observer-polyfill": "1.5.1",
|
|
128
128
|
"smooth-scroll-into-view-if-needed": "1.1.28",
|
|
129
129
|
"style-loader": "^1.2.1",
|
|
130
|
+
"url": "^0.11.0",
|
|
130
131
|
"uuid": "8.2.0",
|
|
131
132
|
"webfontloader": "1.6.28"
|
|
132
133
|
},
|
package/src/client/Licit.js
CHANGED
|
@@ -666,11 +666,8 @@ class Licit extends React.Component<any, any> {
|
|
|
666
666
|
try {
|
|
667
667
|
//
|
|
668
668
|
if (Array.isArray(this.props.plugins)) {
|
|
669
|
-
const { ExportPDFPlugin } = await import(
|
|
670
|
-
'@modusoperandi/licit-export-pdf'
|
|
671
|
-
);
|
|
672
669
|
this.props.plugins.forEach((plugin) => {
|
|
673
|
-
if (plugin
|
|
670
|
+
if (plugin['key'].startsWith('exportPDF$')) {
|
|
674
671
|
// got the exportPDF instance.
|
|
675
672
|
resolve(plugin);
|
|
676
673
|
}
|
package/src/ui/ImageNodeView.js
CHANGED
|
@@ -69,13 +69,13 @@ function getMaxResizeWidth(el: any): number {
|
|
|
69
69
|
return MAX_SIZE;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
function resolveURL(runtime: ?EditorRuntime, src: ?string): ?string {
|
|
72
|
+
async function resolveURL(runtime: ?EditorRuntime, src: ?string): ?string {
|
|
73
73
|
if (!runtime) {
|
|
74
74
|
return src;
|
|
75
75
|
}
|
|
76
76
|
const { canProxyImageSrc, getProxyImageSrc } = runtime;
|
|
77
77
|
if (src && canProxyImageSrc && getProxyImageSrc && canProxyImageSrc(src)) {
|
|
78
|
-
return getProxyImageSrc(src);
|
|
78
|
+
return await getProxyImageSrc(src);
|
|
79
79
|
}
|
|
80
80
|
return src;
|
|
81
81
|
}
|
|
@@ -274,7 +274,7 @@ class ImageViewBody extends React.PureComponent<any, any> {
|
|
|
274
274
|
|
|
275
275
|
this.setState({ originalSize: DEFAULT_ORIGINAL_SIZE });
|
|
276
276
|
const src = this.props.node.attrs.src;
|
|
277
|
-
const url = resolveURL(this.props.editorView.runtime, src);
|
|
277
|
+
const url = await resolveURL(this.props.editorView.runtime, src);
|
|
278
278
|
const originalSize = await resolveImage(url);
|
|
279
279
|
if (!this._mounted) {
|
|
280
280
|
// unmounted;
|
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
const WebpackDevServer = require('webpack-dev-server'),
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
webpack = require('webpack'),
|
|
3
|
+
config = require('../webpack.config'),
|
|
4
|
+
env = require('./env'),
|
|
5
|
+
path = require('path'),
|
|
6
|
+
formidable = require('formidable'),
|
|
7
|
+
mv = require('mv'),
|
|
8
|
+
// [FS] IRAD-1005 2020-07-07
|
|
9
|
+
// Upgrade outdated packages.
|
|
10
|
+
uuidv4 = require('uuid').v4,
|
|
11
|
+
express = require('express');
|
|
12
12
|
|
|
13
|
-
const options =
|
|
14
|
-
const excludeEntriesToHotReload =
|
|
13
|
+
const options = config.chromeExtensionBoilerplate || {};
|
|
14
|
+
const excludeEntriesToHotReload = options.notHotReload || [];
|
|
15
15
|
|
|
16
16
|
for (const entryName in config.entry) {
|
|
17
17
|
if (excludeEntriesToHotReload.indexOf(entryName) === -1) {
|
|
18
|
-
config.entry[entryName] =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
].concat(config.entry[entryName]);
|
|
18
|
+
config.entry[entryName] = [
|
|
19
|
+
'webpack-dev-server/client?http://localhost:' + env.PORT,
|
|
20
|
+
'webpack/hot/dev-server',
|
|
21
|
+
].concat(config.entry[entryName]);
|
|
23
22
|
}
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
config.plugins =
|
|
27
|
-
|
|
25
|
+
config.plugins = [new webpack.HotModuleReplacementPlugin()].concat(
|
|
26
|
+
config.plugins || []
|
|
27
|
+
);
|
|
28
28
|
|
|
29
29
|
delete config.chromeExtensionBoilerplate;
|
|
30
30
|
|
|
31
31
|
const compiler = webpack(config);
|
|
32
32
|
|
|
33
|
-
const server =
|
|
34
|
-
|
|
33
|
+
const server = new WebpackDevServer(
|
|
34
|
+
{
|
|
35
35
|
hot: true,
|
|
36
36
|
static: path.join(__dirname, '../bin'),
|
|
37
37
|
headers: { 'Access-Control-Allow-Origin': '*' },
|
|
38
|
-
|
|
38
|
+
port: env.PORT,
|
|
39
|
+
},
|
|
40
|
+
compiler
|
|
41
|
+
);
|
|
39
42
|
|
|
40
|
-
server.
|
|
43
|
+
server.start();
|