@gesslar/toolkit 2.2.0 → 2.2.1

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": "@gesslar/toolkit",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "A collection of utilities for Node.js and browser environments.",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -1,4 +1,4 @@
1
- import Sass from "./Sass.js"
1
+ import Tantrum from "./Tantrum.js"
2
2
  import Valid from "./Valid.js"
3
3
  import Collection from "./Collection.js"
4
4
 
@@ -137,10 +137,10 @@ export default class Util {
137
137
  *
138
138
  * @param {string} [_message] - Optional error message. Defaults to "GIGO"
139
139
  * @param {Array<object>} rejected - Array of rejected results.
140
- * @throws {Error} Throws a Sass error with rejection reasons.
140
+ * @throws {Error} Throws a Tantrum error with rejection reasons.
141
141
  */
142
142
  static throwRejected(_message="GIGO", rejected) {
143
- throw Sass.new(this.rejectedReasons(rejected))
143
+ throw Tantrum.new(this.rejectedReasons(rejected))
144
144
  }
145
145
 
146
146
  /**
@@ -81,7 +81,7 @@ export default class Util {
81
81
  *
82
82
  * @param {string} [_message] - Optional error message. Defaults to "GIGO"
83
83
  * @param {Array<object>} rejected - Array of rejected results.
84
- * @throws {Error} Throws a Sass error with rejection reasons.
84
+ * @throws {Error} Throws a Tantrum error with rejection reasons.
85
85
  */
86
86
  static throwRejected(_message?: string, rejected: Array<object>): void;
87
87
  /**