@archoleat/validate-font-file-name 1.1.1 → 1.1.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +8 -7
package/index.js CHANGED
@@ -1 +1 @@
1
- import{parse as n}from"node:path";import{FONT_FILE_NAME_REGEX as a}from"@archoleat/reglib";import{error as i}from"@archoleat/notifier";const m=async s=>{const{file:o,regex:e=""}=s,t=n(o).base,r=typeof e=="string"&&e!==""?new RegExp(e):e||a;return r.test(t)?!0:(await i({message:`'${t}' doesn't match with '${r}'.`,messageLength:1/0}),!1)};export{m as validateFontFileName};
1
+ import{parse as a}from"node:path";import{FONT_FILE_NAME_REGEX as n}from"@archoleat/reglib";import{error as m}from"@archoleat/notifier";const c=async o=>{const{file:s,regex:e=""}=o,t=a(s).base,r=typeof e=="string"&&e!==""?new RegExp(e):e||n;return r.test(t)?!0:(await m({message:`(${t}) doesn't match with (${r})`}),!1)};export{c as validateFontFileName};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@archoleat/validate-font-file-name",
3
3
  "description": "Checking font file names for standardization",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "email": "archoleat@gmail.com",
@@ -37,7 +37,7 @@
37
37
  "type": "module",
38
38
  "types": "index.d.ts",
39
39
  "imports": {
40
- "#src": "./src/index.ts"
40
+ "#app": "./src/app.ts"
41
41
  },
42
42
  "exports": {
43
43
  ".": "./index.js"
@@ -58,29 +58,30 @@
58
58
  "@archoleat/commitlint-define-config": "^1.0.10",
59
59
  "@archoleat/eslint-flat-compatibility": "^1.1.7",
60
60
  "@archoleat/prettier-define-config": "^1.0.1",
61
- "@archoleat/semantic-release-define-config": "^1.1.14",
61
+ "@archoleat/semantic-release-define-config": "^1.1.15",
62
62
  "@commitlint/cli": "^19.4.0",
63
63
  "@commitlint/config-conventional": "^19.2.2",
64
64
  "@commitlint/types": "^19.0.3",
65
65
  "@rollup/plugin-typescript": "^11.1.6",
66
66
  "@semantic-release/changelog": "^6.0.3",
67
67
  "@semantic-release/git": "^10.0.1",
68
- "@types/node": "^22.4.1",
68
+ "@types/node": "^22.5.0",
69
69
  "@typescript-eslint/eslint-plugin": "^7.18.0",
70
70
  "@typescript-eslint/parser": "^7.18.0",
71
71
  "@vitest/coverage-v8": "^2.0.5",
72
72
  "conventional-changelog-conventionalcommits": "^8.0.0",
73
73
  "editorconfig-checker": "^5.1.8",
74
74
  "eslint": "^8.57.0",
75
+ "eslint-config-airbnb": "^19.0.4",
75
76
  "eslint-config-airbnb-typescript": "^18.0.0",
76
77
  "eslint-config-prettier": "^9.1.0",
77
78
  "eslint-define-config": "^2.1.0",
78
- "eslint-import-resolver-typescript": "^3.6.1",
79
+ "eslint-import-resolver-typescript": "^3.6.3",
79
80
  "eslint-plugin-import": "^2.29.1",
80
81
  "eslint-plugin-unicorn": "^55.0.0",
81
82
  "git-pull-run": "^1.4.0",
82
83
  "globals": "^15.9.0",
83
- "husky": "^9.1.4",
84
+ "husky": "^9.1.5",
84
85
  "lint-staged": "^15.2.9",
85
86
  "prettier": "^3.3.3",
86
87
  "remark": "15.0.1",
@@ -88,7 +89,7 @@
88
89
  "remark-preset-lint-consistent": "^6.0.0",
89
90
  "remark-preset-lint-markdown-style-guide": "^6.0.0",
90
91
  "remark-preset-lint-recommended": "^7.0.0",
91
- "rollup": "^4.21.0",
92
+ "rollup": "^4.21.1",
92
93
  "rollup-plugin-dts": "^6.1.1",
93
94
  "rollup-plugin-esbuild": "^6.1.1",
94
95
  "semantic-release": "^24.1.0",