@docmd/plugin-installer 0.6.1 → 0.6.3

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/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -98,7 +98,7 @@ function injectPluginToConfig(configPath, meta) {
98
98
  function removePluginFromConfig(configPath, meta) {
99
99
  if (!fs.existsSync(configPath))
100
100
  return false;
101
- let content = fs.readFileSync(configPath, 'utf8');
101
+ const content = fs.readFileSync(configPath, 'utf8');
102
102
  const configKey = meta.configKey;
103
103
  if (!content.includes(configKey)) {
104
104
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmd/plugin-installer",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Installer utility to add and remove plugins for docmd.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,6 +44,6 @@
44
44
  "funding": "https://github.com/sponsors/mgks",
45
45
  "license": "MIT",
46
46
  "devDependencies": {
47
- "@types/node": "^25.4.0"
47
+ "@types/node": "^25.5.0"
48
48
  }
49
49
  }