@alextheman/utility 2.10.3 → 2.10.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/dist/index.cjs CHANGED
@@ -134,7 +134,7 @@ function createFormData(data, options = { nullableResolution: "empty" }) {
134
134
  case "omit":
135
135
  break;
136
136
  default:
137
- throw new Error("SLOPPY_PURE_JAVASCRIPT_USER_ERROR");
137
+ throw new TypeError("SLOPPY_PURE_JAVASCRIPT_USER_ERROR");
138
138
  }
139
139
  }
140
140
  for (const key in data) {
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ function createFormData(data, options = { nullableResolution: "empty" }) {
76
76
  case "omit":
77
77
  break;
78
78
  default:
79
- throw new Error("SLOPPY_PURE_JAVASCRIPT_USER_ERROR");
79
+ throw new TypeError("SLOPPY_PURE_JAVASCRIPT_USER_ERROR");
80
80
  }
81
81
  }
82
82
  for (const key in data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/utility",
3
- "version": "2.10.3",
3
+ "version": "2.10.4",
4
4
  "description": "Helpful utility functions",
5
5
  "license": "ISC",
6
6
  "author": "alextheman",