num-only 1.2.7 → 1.2.9

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/num-only.js CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
- * num-only v1.2.7
2
+ * num-only v0.0.0
3
3
  *
4
4
  * @author Julio L. Muller.
5
- * @license MIT - 2020-2025
5
+ * @license MIT - 2020-2026
6
6
  */
7
7
 
8
8
  (function (global, factory) {
@@ -1,8 +1,8 @@
1
1
  /**
2
- * num-only v1.2.7
2
+ * num-only v0.0.0
3
3
  *
4
4
  * @author Julio L. Muller.
5
- * @license MIT - 2020-2025
5
+ * @license MIT - 2020-2026
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,"")}}));
8
8
  //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtLW9ubHkubWluLmpzIiwic291cmNlcyI6WyIuLi9zcmMvbnVtLW9ubHkudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZnVuY3Rpb24gbnVtT25seSh0YXJnZXQ6IHVua25vd24pOiBzdHJpbmcge1xuICByZXR1cm4gU3RyaW5nKHRhcmdldCkucmVwbGFjZSgvXFxEL2csICcnKTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgbnVtT25seTtcbiJdLCJuYW1lcyI6WyJ0YXJnZXQiLCJTdHJpbmciLCJyZXBsYWNlIl0sIm1hcHBpbmdzIjoiOzs7Ozs7K09BQUEsU0FBaUJBLEdBQ2YsT0FBT0MsT0FBT0QsR0FBUUUsUUFBUSxNQUFPLEdBQ3ZDIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "num-only",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "description": "Utility function to remove non-numeric characters of input.",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -30,35 +30,34 @@
30
30
  "types": "build/index.d.ts",
31
31
  "scripts": {
32
32
  "prepare": "bun x husky",
33
- "commit": "git-cz",
33
+ "commit": "commit",
34
34
  "build": "rollup --config",
35
35
  "type-check": "tsc --noEmit",
36
36
  "lint": "eslint --fix src/ test/ eslint.config.mjs rollup.config.mjs",
37
- "pretest": "bun run build --silent",
38
37
  "test": "bun test --coverage --coverage-reporter=lcov --coverage-dir=test/__coverage__",
39
38
  "test:ci": "bun test"
40
39
  },
41
40
  "devDependencies": {
42
- "@babel/preset-env": "^7.28.3",
43
- "@commitlint/cli": "^19.8.1",
44
- "@commitlint/config-conventional": "^19.8.1",
45
- "@rollup/plugin-babel": "^6.0.4",
46
- "@rollup/plugin-commonjs": "^28.0.6",
47
- "@rollup/plugin-node-resolve": "^16.0.1",
41
+ "@babel/preset-env": "^7.28.5",
42
+ "@commitlint/cli": "^20.3.0",
43
+ "@commitlint/config-conventional": "^20.3.0",
44
+ "@commitlint/prompt-cli": "^20.3.0",
45
+ "@rollup/plugin-babel": "^6.1.0",
46
+ "@rollup/plugin-commonjs": "^29.0.0",
47
+ "@rollup/plugin-node-resolve": "^16.0.3",
48
48
  "@rollup/plugin-terser": "~0.4.4",
49
- "@rollup/plugin-typescript": "^12.1.4",
50
- "@types/node": "^22.18.0",
51
- "commitizen": "^4.3.1",
52
- "cz-conventional-changelog": "^3.3.0",
53
- "eslint": "^9.34.0",
54
- "eslint-config-any": "^2.1.1",
49
+ "@rollup/plugin-typescript": "^12.3.0",
50
+ "@types/bun": "^1.3.5",
51
+ "@types/node": "^22.19.3",
52
+ "eslint": "^9.39.2",
53
+ "eslint-config-any": "^2.2.1",
55
54
  "husky": "^9.1.7",
56
- "lint-staged": "^16.1.5",
57
- "prettier": "^3.6.2",
58
- "rollup": "^4.49.0",
59
- "rollup-plugin-delete": "^3.0.1",
60
- "rollup-plugin-dts": "^6.2.3",
55
+ "lint-staged": "^16.2.7",
56
+ "prettier": "^3.7.4",
57
+ "rollup": "^4.55.1",
58
+ "rollup-plugin-delete": "^3.0.2",
59
+ "rollup-plugin-dts": "^6.3.0",
61
60
  "rollup-plugin-esbuild": "^6.2.1",
62
- "typescript": "^5.9.2"
61
+ "typescript": "^5.9.3"
63
62
  }
64
63
  }