huan-file-tool 1.0.4 → 1.0.6

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/.eslintignore CHANGED
@@ -1,30 +1,30 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- node_modules
11
- dist
12
- dist-ssr
13
- dist-*
14
- dist-development
15
- dist-production
16
- dist-dev
17
- dist-prod
18
- docs
19
- *.local
20
-
21
- # Editor directories and files
22
- .vscode/*
23
- !.vscode/extensions.json
24
- .idea
25
- .DS_Store
26
- *.suo
27
- *.ntvs*
28
- *.njsproj
29
- *.sln
30
- *.sw?
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ node_modules
11
+ dist
12
+ dist-ssr
13
+ dist-*
14
+ dist-development
15
+ dist-production
16
+ dist-dev
17
+ dist-prod
18
+ docs
19
+ *.local
20
+
21
+ # Editor directories and files
22
+ .vscode/*
23
+ !.vscode/extensions.json
24
+ .idea
25
+ .DS_Store
26
+ *.suo
27
+ *.ntvs*
28
+ *.njsproj
29
+ *.sln
30
+ *.sw?
package/.npmignore CHANGED
@@ -1,67 +1,70 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
- pnpm-debug.log*
8
- lerna-debug.log*
9
-
10
- # Node
11
- node_modules
12
- .npmrc
13
-
14
- # Build
15
- dist
16
- dist-*
17
- dist-ssr
18
- dist-dev
19
- dist-prod
20
-
21
- # Git
22
- .git
23
- .gitignore
24
-
25
- # Github
26
- github-page
27
- docs
28
- .github
29
-
30
- # Local
31
- *.local
32
-
33
- # Hidden
34
- .*
35
- !.prettierrc.cjs
36
- !.npmignore
37
- !.eslintignore
38
- !.eslintrc.cjs
39
- !public/.__ignore__
40
-
41
- # IDE
42
- .vscode
43
- .idea
44
-
45
- # System
46
- .DS_Store
47
- desktop.ini
48
- thumbs.db
49
- iconcache.db
50
- IconCache.db
51
- ntuser.dat
52
- ntuser.dat.log
53
- hiberfil.sys
54
- pagefile.sys
55
- $Recycle.Bin
56
- Recycle Bin
57
-
58
- # Other
59
- *.suo
60
- *.ntvs*
61
- *.njsproj
62
- *.sln
63
- *.sw?
64
- *.bak
65
-
66
- # Pack
67
- huan-*.tgz
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+ pnpm-debug.log*
8
+ lerna-debug.log*
9
+
10
+ # Node
11
+ node_modules
12
+ .npmrc
13
+
14
+ # Build
15
+ dist
16
+ dist-*
17
+ dist-ssr
18
+ dist-dev
19
+ dist-prod
20
+
21
+ # Git
22
+ .git
23
+ .gitignore
24
+
25
+ # Github
26
+ github-page
27
+ docs
28
+ .github
29
+
30
+ # Local
31
+ *.local
32
+
33
+ # Hidden
34
+ .*
35
+ !.prettierrc.cjs
36
+ !.npmignore
37
+ !.eslintignore
38
+ !.eslintrc.cjs
39
+ !public/.__ignore__
40
+
41
+ # IDE
42
+ .vscode
43
+ .idea
44
+
45
+ # System
46
+ .DS_Store
47
+ desktop.ini
48
+ thumbs.db
49
+ iconcache.db
50
+ IconCache.db
51
+ ntuser.dat
52
+ ntuser.dat.log
53
+ hiberfil.sys
54
+ pagefile.sys
55
+ $Recycle.Bin
56
+ Recycle Bin
57
+
58
+ # Other
59
+ *.suo
60
+ *.ntvs*
61
+ *.njsproj
62
+ *.sln
63
+ *.sw?
64
+ *.bak
65
+
66
+ # Pack
67
+ huan-*.tgz
68
+
69
+ # EOF
70
+ crlf2lf.sh
package/LICENSE CHANGED
@@ -1,8 +1,8 @@
1
- The MIT License (MIT)
2
- Copyright (c) 2025 宋子桓(Song Zihuan)
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
-
6
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
-
1
+ The MIT License (MIT)
2
+ Copyright (c) 2025 宋子桓(Song Zihuan)
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
8
  THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,25 +1,25 @@
1
- # 简易文件处理程序(Huan-File-Tool)
2
-
3
- 这是一个使用JavaScript编写的建议文件处理程序,使用`ES Module`模式。
4
-
5
- 目前,所有导出函数位于:`src/main.cjs`和`src/main.mjs`文件中,此文件也是本项目的入口文件。
6
-
7
- 注意:本项目同时支持`CommonJS`和`ESModule`两种模式。
8
-
9
- ## 作者信息
10
- 作者:宋子桓(Song Zihuan)
11
-
12
- 作者 Github:[github.com/SongZihuan](https://github.com/SongZihuan)
13
-
14
- 作者主页:[song-zh.com](https://song-zh.com)
15
-
16
- 作者邮箱:songzihuan@song-zh.com
17
-
18
- ## 项目信息
19
- 项目托管地址:[github.com/SongZihuan/js-file-tool](https://github.com/SongZihuan/js-file-tool)
20
- GitHub托管地址:[github.com/SongZihuan/js-file-tool](https://github.com/SongZihuan/js-file-tool)
21
-
22
- 最后更新时间:2025年1月22日。
23
-
24
- ## 特别注意
1
+ # 简易文件处理程序(Huan-File-Tool)
2
+
3
+ 这是一个使用JavaScript编写的建议文件处理程序,使用`ES Module`模式。
4
+
5
+ 目前,所有导出函数位于:`src/main.cjs`和`src/main.mjs`文件中,此文件也是本项目的入口文件。
6
+
7
+ 注意:本项目同时支持`CommonJS`和`ESModule`两种模式。
8
+
9
+ ## 作者信息
10
+ 作者:宋子桓(Song Zihuan)
11
+
12
+ 作者 Github:[github.com/SongZihuan](https://github.com/SongZihuan)
13
+
14
+ 作者主页:[song-zh.com](https://song-zh.com)
15
+
16
+ 作者邮箱:songzihuan@song-zh.com
17
+
18
+ ## 项目信息
19
+ 项目托管地址:[github.com/SongZihuan/js-file-tool](https://github.com/SongZihuan/js-file-tool)
20
+ GitHub托管地址:[github.com/SongZihuan/js-file-tool](https://github.com/SongZihuan/js-file-tool)
21
+
22
+ 最后更新时间:2025年1月22日。
23
+
24
+ ## 特别注意
25
25
  备注:以上README为作者原文。
package/REEPORT CHANGED
@@ -1,15 +1,15 @@
1
- 如何报告 JavaScript-File-Tool
2
-
3
- 作者:宋子桓(Song Zihuan)
4
- 作者 Github:https://github.com/SongZihuan
5
- 作者主页:https://song-zh.com
6
- 作者邮箱:songzihuan@song-zh.com
7
-
8
- Github:https://github.com/SongZihuan/js-file-tool
9
- Github Issues:https://github.com/SongZihuan/js-file-tool/issues
10
-
11
- 报告:您可以通过 Github Issues 或作者邮箱报告问题并联系作者。
12
- 质量保证:如果您仅拥有此项目根目录下的 LICENSE 文件中的许可证,您将无法获得任何质量保证。但作者很乐意为您解决问题,除非此项目已存档为只读。
13
- 其他 Fork 版本:请联系 Fork 版本的作者寻求帮助。
14
-
1
+ 如何报告 JavaScript-File-Tool
2
+
3
+ 作者:宋子桓(Song Zihuan)
4
+ 作者 Github:https://github.com/SongZihuan
5
+ 作者主页:https://song-zh.com
6
+ 作者邮箱:songzihuan@song-zh.com
7
+
8
+ Github:https://github.com/SongZihuan/js-file-tool
9
+ Github Issues:https://github.com/SongZihuan/js-file-tool/issues
10
+
11
+ 报告:您可以通过 Github Issues 或作者邮箱报告问题并联系作者。
12
+ 质量保证:如果您仅拥有此项目根目录下的 LICENSE 文件中的许可证,您将无法获得任何质量保证。但作者很乐意为您解决问题,除非此项目已存档为只读。
13
+ 其他 Fork 版本:请联系 Fork 版本的作者寻求帮助。
14
+
15
15
  备注:以上REPORT为作者原文。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huan-file-tool",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "简单的文件处理工具",
5
5
  "private": false,
6
6
  "keywords": [