@kubohiroya/turbowarp-extension-security-dialog 0.8.7 → 0.8.9

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/NOTICE.md CHANGED
@@ -16,6 +16,32 @@ published package.
16
16
  hat block with a warp swirl and a plus sign, drawn by the same author for the TurboWarp-Plus Editor)
17
17
  with a green check over it. It is embedded into `dist` the same way.
18
18
 
19
+ ## JavaScript parsing
20
+
21
+ The review bundles Acorn and Acorn Walk to read extension names without executing the source.
22
+ Both are distributed under the MIT license below.
23
+
24
+ Acorn copyright (C) 2012-2022 by various contributors (see [AUTHORS](https://github.com/acornjs/acorn/blob/master/acorn/AUTHORS)).
25
+ Acorn Walk copyright (C) 2012-2020 by various contributors (see [AUTHORS](https://github.com/acornjs/acorn/blob/master/acorn-walk/AUTHORS)).
26
+
27
+ Permission is hereby granted, free of charge, to any person obtaining a copy
28
+ of this software and associated documentation files (the "Software"), to deal
29
+ in the Software without restriction, including without limitation the rights
30
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
31
+ copies of the Software, and to permit persons to whom the Software is
32
+ furnished to do so, subject to the following conditions:
33
+
34
+ The above copyright notice and this permission notice shall be included in
35
+ all copies or substantial portions of the Software.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
38
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
39
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
40
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
41
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
42
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
43
+ THE SOFTWARE.
44
+
19
45
  ## Build provenance
20
46
 
21
47
  Published archives include `dist/build-info.json` with this package's name, version and full Git
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubohiroya/turbowarp-extension-security-dialog",
3
- "version": "0.8.7",
4
- "revision": "d1d84561de711b4c10f458a3fdcc951151b1e5cd",
3
+ "version": "0.8.9",
4
+ "revision": "1fd624a83b400d2937c2985c6474684dcc046cc1",
5
5
  "sourceState": "commit"
6
6
  }
package/dist/index.cjs CHANGED
@@ -588,6 +588,7 @@ var messages = {
588
588
  licenseUnknown: "Not stated",
589
589
  version: "Version",
590
590
  extensionPage: "Extension website",
591
+ extensionUnknown: "Unknown extension",
591
592
  releaseNotes: "Release notes",
592
593
  digest: "SHA-256",
593
594
  failed: "Could not be loaded",
@@ -634,6 +635,7 @@ var messages = {
634
635
  licenseUnknown: "\u8A18\u8F09\u306A\u3057",
635
636
  version: "\u30D0\u30FC\u30B8\u30E7\u30F3",
636
637
  extensionPage: "\u6A5F\u80FD\u62E1\u5F35\u306E\u7D39\u4ECB\u30DA\u30FC\u30B8",
638
+ extensionUnknown: "\u4E0D\u660E\u306A\u6A5F\u80FD\u62E1\u5F35",
637
639
  releaseNotes: "\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8",
638
640
  digest: "SHA-256",
639
641
  failed: "\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
package/dist/index.mjs CHANGED
@@ -543,6 +543,7 @@ var messages = {
543
543
  licenseUnknown: "Not stated",
544
544
  version: "Version",
545
545
  extensionPage: "Extension website",
546
+ extensionUnknown: "Unknown extension",
546
547
  releaseNotes: "Release notes",
547
548
  digest: "SHA-256",
548
549
  failed: "Could not be loaded",
@@ -589,6 +590,7 @@ var messages = {
589
590
  licenseUnknown: "\u8A18\u8F09\u306A\u3057",
590
591
  version: "\u30D0\u30FC\u30B8\u30E7\u30F3",
591
592
  extensionPage: "\u6A5F\u80FD\u62E1\u5F35\u306E\u7D39\u4ECB\u30DA\u30FC\u30B8",
593
+ extensionUnknown: "\u4E0D\u660E\u306A\u6A5F\u80FD\u62E1\u5F35",
592
594
  releaseNotes: "\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8",
593
595
  digest: "SHA-256",
594
596
  failed: "\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F",
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Read a single extension's literal getInfo name from source without calling it.
3
+ * Keep the parse bounded for untrusted bundles and leave dynamic or ambiguous names to the ID.
4
+ */
5
+ export declare function readInlineExtensionName(source: string, ids: readonly string[]): string | undefined;