customizable-toast-notification 3.11.2 → 3.11.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customizable-toast-notification",
3
- "version": "3.11.2",
3
+ "version": "3.11.4",
4
4
  "description": "A lightweight, zero-dependency toast notification library with CTA support for modern JavaScript applications with production-grade reliability and comprehensive system mechanisms",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.esm.mjs",
@@ -12,7 +12,6 @@
12
12
  "types": "./dist/index.d.ts",
13
13
  "import": "./dist/index.esm.mjs",
14
14
  "require": "./dist/index.cjs",
15
- "script": "./dist/index.umd.js",
16
15
  "default": "./dist/index.umd.js"
17
16
  },
18
17
  "./package.json": "./package.json"
@@ -119,15 +118,15 @@
119
118
  "CHANGELOG.md"
120
119
  ],
121
120
  "devDependencies": {
122
- "@babel/core": "^7.28.4",
121
+ "@babel/core": "^7.22.9",
123
122
  "@babel/preset-env": "^7.28.3",
124
123
  "@commitlint/cli": "^21.2.1",
125
124
  "@commitlint/config-conventional": "^21.2.0",
126
125
  "@eslint/js": "^10.0.1",
127
- "@playwright/test": "^1.54.1",
128
- "@rollup/plugin-babel": "^6.0.4",
126
+ "@playwright/test": "^1.62.1",
127
+ "@rollup/plugin-babel": "^7.1.0",
129
128
  "@rollup/plugin-commonjs": "^28.0.6",
130
- "@rollup/plugin-node-resolve": "^15.2.3",
129
+ "@rollup/plugin-node-resolve": "^16.0.3",
131
130
  "@rollup/plugin-replace": "^6.0.2",
132
131
  "@rollup/plugin-terser": "^1.0.0",
133
132
  "@semantic-release/changelog": "^7.0.0",
@@ -136,7 +135,7 @@
136
135
  "eslint": "^10.8.0",
137
136
  "globals": "^17.9.0",
138
137
  "husky": "^9.1.7",
139
- "jsdom": "^29.1.1",
138
+ "jsdom": "^30.0.1",
140
139
  "postcss": "^8.5.6",
141
140
  "postcss-import": "^16.1.1",
142
141
  "rollup": "^4.49.0",
package/postinstall.js CHANGED
@@ -20,8 +20,12 @@ try {
20
20
  "🚀 Built different. Stay creative.",
21
21
  ];
22
22
 
23
- console.log(lines);
23
+ // AUDIT FIX (L4): console.log(lines) on an array prints Node's array-
24
+ // inspection format (`[ 'line1', 'line2', ... ]`), not clean
25
+ // multi-line text. join("\n") prints it the way it was obviously
26
+ // meant to look.
27
+ console.log(lines.join("\n"));
24
28
  }
25
29
  } catch (error) {
26
- process.exit(0); // Exit silently
30
+ process.exit(0);
27
31
  }