@markuplint/file-resolver 4.0.0-alpha.4 → 4.0.0-alpha.5

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017-2019 Yusuke Hirao
3
+ Copyright (c) 2017-2023 Yusuke Hirao
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -32,7 +32,7 @@ async function importPlugin(pluginPath) {
32
32
  name = config.name
33
33
  .toLowerCase()
34
34
  .replace(/^(?:markuplint-rule-|@markuplint\/rule-)/i, '')
35
- .replaceAll(/\s+|\/|\\|\./g, '-');
35
+ .replaceAll(/\s+|[./\\]/g, '-');
36
36
  // eslint-disable-next-line no-console
37
37
  console.info(`The plugin name became "${name}"`);
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/file-resolver",
3
- "version": "4.0.0-alpha.4",
3
+ "version": "4.0.0-alpha.5",
4
4
  "description": "The file resolver of markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -24,17 +24,17 @@
24
24
  "clean": "tsc --build --clean"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/node": "20.8.7"
27
+ "@types/node": "20.8.8"
28
28
  },
29
29
  "dependencies": {
30
- "@markuplint/html-parser": "4.0.0-alpha.4",
31
- "@markuplint/ml-ast": "4.0.0-alpha.4",
32
- "@markuplint/ml-config": "4.0.0-alpha.4",
33
- "@markuplint/ml-core": "4.0.0-alpha.4",
34
- "@markuplint/ml-spec": "4.0.0-alpha.4",
35
- "@markuplint/parser-utils": "4.0.0-alpha.4",
36
- "@markuplint/selector": "4.0.0-alpha.4",
37
- "@markuplint/shared": "4.0.0-alpha.4",
30
+ "@markuplint/html-parser": "4.0.0-alpha.5",
31
+ "@markuplint/ml-ast": "4.0.0-alpha.5",
32
+ "@markuplint/ml-config": "4.0.0-alpha.5",
33
+ "@markuplint/ml-core": "4.0.0-alpha.5",
34
+ "@markuplint/ml-spec": "4.0.0-alpha.5",
35
+ "@markuplint/parser-utils": "4.0.0-alpha.5",
36
+ "@markuplint/selector": "4.0.0-alpha.5",
37
+ "@markuplint/shared": "4.0.0-alpha.5",
38
38
  "cosmiconfig": "^8.3.6",
39
39
  "debug": "^4.3.4",
40
40
  "glob": "^10.3.6",
@@ -42,5 +42,5 @@
42
42
  "jsonc": "^2.0.0",
43
43
  "minimatch": "^9.0.3"
44
44
  },
45
- "gitHead": "991b3aef77fde42c79343ee8c807257a35c589d7"
45
+ "gitHead": "0c3e4690662edf1765bcc4b6411ec5507c1e2ea3"
46
46
  }