Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@armit/commander

Package Overview
Dependencies
Maintainers
2
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@armit/commander - npm Package Compare versions

Comparing version
0.2.13
to
0.2.14
+15
-0
CHANGELOG.md
# @armit/commander
## 0.2.14
### Patch Changes
- [#124](https://github.com/armitjs/armit/pull/124) [`d5fe62a`](https://github.com/armitjs/armit/commit/d5fe62a91a8fafad26fb57a212b1cdfcd2fe6003) Thanks [@tclxshunquan-wang](https://github.com/tclxshunquan-wang)! - fix: improve plugin module import with pathToFileURL
- [`bbc742c`](https://github.com/armitjs/armit/commit/bbc742c2cac1d2d09baeceb42811b5bc716b4dab) Thanks [@tianyingchun](https://github.com/tianyingchun)! - bump version
- [`fb55499`](https://github.com/armitjs/armit/commit/fb554996f657d8f63c75a2f39dfb3b6f26183ee4) Thanks [@tianyingchun](https://github.com/tianyingchun)! - bump version
- Updated dependencies [[`bbc742c`](https://github.com/armitjs/armit/commit/bbc742c2cac1d2d09baeceb42811b5bc716b4dab), [`fb55499`](https://github.com/armitjs/armit/commit/fb554996f657d8f63c75a2f39dfb3b6f26183ee4), [`4cb95e7`](https://github.com/armitjs/armit/commit/4cb95e7140d0ba53717116166685d3a4a6b10dc8)]:
- @armit/logger-node@0.2.11
- @armit/terminal@0.2.10
- @armit/package@0.2.14
## 0.2.13

@@ -4,0 +19,0 @@

+3
-2

@@ -5,3 +5,3 @@ import { globbySync } from 'globby';

import path, { dirname, join } from 'node:path';
import { fileURLToPath } from 'node:url';
import { fileURLToPath, pathToFileURL } from 'node:url';
import resolve from 'resolve';

@@ -90,3 +90,4 @@ import { searchParentDir } from '@armit/package';

for (const pluginInfo of externalPlugins) {
const importModule = await import(pluginInfo.requirePath);
const requirePath = pathToFileURL(pluginInfo.requirePath).href;
const importModule = await import(requirePath);
const pluginModule = importModule.default || importModule;

@@ -93,0 +94,0 @@ for (const [pluginAlias, plugin] of Object.entries(pluginModule)) {

+11
-11
{
"name": "@armit/commander",
"version": "0.2.13",
"version": "0.2.14",
"homepage": "https://github.com/armitjs/armit",

@@ -46,19 +46,19 @@ "repository": {

"dependencies": {
"@armit/logger-node": "^0.2.10",
"@armit/package": "^0.2.13",
"@armit/terminal": "^0.2.9",
"@armit/logger-node": "^0.2.11",
"@armit/package": "^0.2.14",
"@armit/terminal": "^0.2.10",
"@hyperse/exec-program": "^1.0.10",
"@types/yargs": "^17.0.33",
"globby": "^14.1.0",
"memoize": "^10.0.0",
"memoize": "^10.1.0",
"resolve": "^1.22.10",
"type-fest": "^4.34.1",
"typescript": "^5.7.3",
"type-fest": "^4.37.0",
"typescript": "^5.8.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@hyperse/eslint-config-hyperse": "^1.2.10",
"@types/node": "22.13.1",
"@hyperse/eslint-config-hyperse": "^1.3.4",
"@types/node": "22.13.10",
"@types/resolve": "1.20.6",
"eslint": "^9.20.0",
"eslint": "^9.22.0",
"npm-run-all": "4.1.5",

@@ -68,3 +68,3 @@ "rimraf": "6.0.1",

"vite-tsconfig-paths": "^5.1.4",
"vitest": "3.0.5"
"vitest": "3.0.8"
},

@@ -71,0 +71,0 @@ "engines": {