netscape-bookmark-parser 1.1.1 → 1.1.2

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 (3) hide show
  1. package/README-ja.md +16 -10
  2. package/README.md +16 -10
  3. package/package.json +4 -1
package/README-ja.md CHANGED
@@ -1,10 +1,3 @@
1
- <!--
2
- Copyright (c) 2025 grakeice
3
-
4
- This software is released under the MIT License.
5
- https://opensource.org/licenses/MIT
6
- -->
7
-
8
1
  # Netscape Bookmark Parser
9
2
 
10
3
  > **注意:**
@@ -84,7 +77,7 @@ function handleFileUpload(event: Event) {
84
77
  <script type="importmap">
85
78
  {
86
79
  "imports": {
87
- "netscape-bookmark-parser/web": "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.0/esm/mod_web.js"
80
+ "netscape-bookmark-parser/web": "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.2/esm/mod_web.js"
88
81
  }
89
82
  }
90
83
  </script>
@@ -103,7 +96,7 @@ function handleFileUpload(event: Event) {
103
96
  import {
104
97
  BookmarksParser,
105
98
  BookmarksTree,
106
- } from "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.0/esm/mod_web.js";
99
+ } from "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.2/esm/mod_web.js";
107
100
 
108
101
  // import maps なしでの直接 CDN インポート
109
102
  </script>
@@ -629,7 +622,20 @@ MIT License - 詳細は[LICENSE](LICENSE)ファイルを参照してください
629
622
 
630
623
  ## 変更履歴
631
624
 
632
- ### v1.1.0(最新)
625
+ ### v1.1.2(最新)
626
+
627
+ - 📝 **ドキュメント強化**: 最新バージョン参照と改善された例を含む包括的な README ドキュメントの更新
628
+ - 🔧 **バージョン一貫性**: 全ドキュメントとコード例でのバージョン番号の同期
629
+ - 📚 **コンテンツ更新**: より明確性のためのインストール手順、使用例、API ドキュメントの改良
630
+
631
+ ### v1.1.1
632
+
633
+ - 🛡️ **セキュリティ強化**: [`BookmarksTree.prototype.HTMLText`](src/BookmarksTree/BookmarksTree.ts) がブックマークのタイトルと URL の HTML エンティティを適切にエスケープするように修正
634
+ - 🔧 **コード一貫性**: Node.js とブラウザ版間で HTML エスケープ動作を統一
635
+ - 📝 **ドキュメント更新**: セキュリティ考慮事項を含む API ドキュメントの強化
636
+ - 🐛 **バグ修正**: マイナーな安定性改善とエッジケース処理
637
+
638
+ ### v1.1.0
633
639
 
634
640
  - 🌐 **ブラウザサポート**: ブラウザ環境用の Web 最適化版を追加
635
641
  - 📦 **デュアルエントリーポイント**: Node.js/Deno 用(`./mod.ts`)とブラウザ用(`./mod_web.ts`)の分離ビルド
package/README.md CHANGED
@@ -1,10 +1,3 @@
1
- <!--
2
- Copyright (c) 2025 grakeice
3
-
4
- This software is released under the MIT License.
5
- https://opensource.org/licenses/MIT
6
- -->
7
-
8
1
  # Netscape Bookmark Parser
9
2
 
10
3
  > **Note:**
@@ -86,7 +79,7 @@ function handleFileUpload(event: Event) {
86
79
  <script type="importmap">
87
80
  {
88
81
  "imports": {
89
- "netscape-bookmark-parser/web": "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.0/esm/mod_web.js"
82
+ "netscape-bookmark-parser/web": "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.2/esm/mod_web.js"
90
83
  }
91
84
  }
92
85
  </script>
@@ -105,7 +98,7 @@ function handleFileUpload(event: Event) {
105
98
  import {
106
99
  BookmarksParser,
107
100
  BookmarksTree,
108
- } from "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.0/esm/mod_web.js";
101
+ } from "https://cdn.jsdelivr.net/npm/netscape-bookmark-parser@1.1.2/esm/mod_web.js";
109
102
 
110
103
  // Direct CDN import without import maps
111
104
  </script>
@@ -630,7 +623,20 @@ When reporting issues, please include:
630
623
 
631
624
  ## Changelog
632
625
 
633
- ### v1.1.0 (Latest)
626
+ ### v1.1.2 (Latest)
627
+
628
+ - 📝 **Documentation Enhancement**: Updated comprehensive README documentation with latest version references and improved examples
629
+ - 🔧 **Version Consistency**: Synchronized version numbers across all documentation and code examples
630
+ - 📚 **Content Updates**: Refined installation instructions, usage examples, and API documentation for better clarity
631
+
632
+ ### v1.1.1
633
+
634
+ - 🛡️ **Security Enhancement**: [`BookmarksTree.prototype.HTMLText`](src/BookmarksTree/BookmarksTree.ts) now properly escapes HTML entities in bookmark titles and URLs
635
+ - 🔧 **Code Consistency**: Unified HTML escaping behavior between Node.js and browser versions
636
+ - 📝 **Documentation Updates**: Enhanced API documentation with security considerations
637
+ - 🐛 **Bug Fixes**: Minor stability improvements and edge case handling
638
+
639
+ ### v1.1.0
634
640
 
635
641
  - 🌐 **Browser Support**: Added web-optimized version for browser environments
636
642
  - 📦 **Dual Entry Points**: Separate builds for Node.js/Deno (`./mod.ts`) and browsers (`./mod_web.ts`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "netscape-bookmark-parser",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "keywords": [
5
5
  "bookmark",
6
6
  "parser",
@@ -19,6 +19,9 @@
19
19
  }
20
20
  },
21
21
  "scripts": {},
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
22
25
  "dependencies": {
23
26
  "@deno/shim-deno": "~0.18.0"
24
27
  },