@flun/mailer 2.1.4 → 2.1.5

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/CHANGELOG.md CHANGED
@@ -1,4 +1,4 @@
1
1
  # 变更日志
2
- ## [2.1.4] - 2026-04-30 11:40
3
- ### 新包名更新完成通知:
4
- - 新包名的版本号将延续旧包名的版本号;
2
+ ## [2.1.5] - 2026-04-30 15:58
3
+ ### 修复:
4
+ - 修复了拷贝示例文件路径错误的问题;
package/copy-files.js CHANGED
@@ -6,7 +6,7 @@ import { fileURLToPath } from 'url';
6
6
  const __filename = fileURLToPath(import.meta.url), __dirname = path.dirname(__filename),
7
7
 
8
8
  // 要拷贝和写入的文件名和目标(项目根目录)
9
- fileName = 'Mail.js', targetDir = path.resolve(__dirname, '../..'),
9
+ fileName = 'Mail.js', targetDir = path.resolve(__dirname, '../../..'),
10
10
 
11
11
  // 源文件和目标文件路径
12
12
  sourceFile = path.join(__dirname, fileName), targetFile = path.join(targetDir, fileName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flun/mailer",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "A powerful and flexible email sending library for Node.js with multiple transport support (SMTP, SMTP Pool, Sendmail, Stream, JSON, SES)",
5
5
  "type": "module",
6
6
  "exports": {