num-only 1.2.1 → 1.2.2

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
- * num-only v1.2.1
2
+ * num-only v1.2.2
3
3
  *
4
- * @author Julio L. Muller.
4
+ * @author [object Object].
5
5
  * @license MIT - 2020-2025
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
- * num-only v1.2.1
2
+ * num-only v1.2.2
3
3
  *
4
- * @author Julio L. Muller.
4
+ * @author [object Object].
5
5
  * @license MIT - 2020-2025
6
6
  */
7
7
 
package/dist/num-only.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * num-only v1.2.1
2
+ * num-only v1.2.2
3
3
  *
4
- * @author Julio L. Muller.
4
+ * @author [object Object].
5
5
  * @license MIT - 2020-2025
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /**
2
- * num-only v1.2.1
2
+ * num-only v1.2.2
3
3
  *
4
- * @author Julio L. Muller.
4
+ * @author [object Object].
5
5
  * @license MIT - 2020-2025
6
6
  */
7
7
  !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).numOnly=n()}(this,(function(){"use strict";return function(e){return String(e).replace(/\D/g,"")}}));
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "num-only",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Utility function to remove non-numeric characters of input.",
5
- "author": "Julio L. Muller",
6
5
  "license": "MIT",
6
+ "author": {
7
+ "name": "Julio L. Muller",
8
+ "url": "https://github.com/juliolmuller"
9
+ },
7
10
  "keywords": [
8
11
  "strip",
9
12
  "remove",
@@ -26,7 +29,7 @@
26
29
  "main": "build/index.cjs.js",
27
30
  "types": "build/index.d.ts",
28
31
  "scripts": {
29
- "prepare": "husky",
32
+ "prepare": "husky || true",
30
33
  "commit": "git-cz",
31
34
  "build": "rollup --config",
32
35
  "lint": "eslint --fix src/ test/ eslint.config.mjs rollup.config.mjs",
@@ -46,8 +49,8 @@
46
49
  "@types/node": "^22.14.0",
47
50
  "commitizen": "^4.3.1",
48
51
  "cz-conventional-changelog": "^3.3.0",
49
- "eslint": "^9.23.0",
50
- "eslint-config-any": "^1.0.0",
52
+ "eslint": "^9.24.0",
53
+ "eslint-config-any": "^1.0.3",
51
54
  "husky": "^9.1.7",
52
55
  "lint-staged": "^15.5.0",
53
56
  "prettier": "^3.5.3",
@@ -55,6 +58,6 @@
55
58
  "rollup-plugin-delete": "^3.0.1",
56
59
  "rollup-plugin-dts": "^6.2.1",
57
60
  "rollup-plugin-esbuild": "^6.2.1",
58
- "typescript": "^5.8.2"
61
+ "typescript": "^5.8.3"
59
62
  }
60
63
  }