Skip to content

Commit fa86c6e

Browse files
committed
fix: try with cli-repl
1 parent d64ac33 commit fa86c6e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/build/src/compile/signable-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class SignableCompiler {
133133
requireRegexp: /\bglibc_version\.node$/,
134134
};
135135
const nativeMachineIdAddon = {
136-
path: await findModulePath('logging', 'native-machine-id'),
136+
path: await findModulePath('cli-repl', 'native-machine-id'),
137137
requireRegexp: /\bnative_machine_id\.node$/,
138138
};
139139
// Warning! Until https://jira.mongodb.org/browse/MONGOSH-990,

packages/cli-repl/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,30 +86,30 @@
8686
"js-yaml": "^4.1.0",
8787
"mongodb-connection-string-url": "^3.0.1",
8888
"mongodb-log-writer": "^2.3.1",
89+
"native-machine-id": "^0.0.8",
8990
"numeral": "^2.0.6",
9091
"pretty-repl": "^4.0.1",
9192
"semver": "^7.5.4",
9293
"strip-ansi": "^6.0.0",
9394
"text-table": "^0.2.0",
94-
"yargs-parser": "^20.2.4",
95-
"glibc-version": "^1.0.0"
95+
"yargs-parser": "^20.2.4"
9696
},
9797
"devDependencies": {
98-
"mongodb": "^6.14.2",
9998
"@mongodb-js/eslint-config-mongosh": "^1.0.0",
10099
"@mongodb-js/prettier-config-devtools": "^1.0.1",
101100
"@mongodb-js/sbom-tools": "^0.7.2",
102101
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
103102
"@types/ansi-escape-sequences": "^4.0.0",
103+
"@types/chai-as-promised": "^7.1.3",
104104
"@types/js-yaml": "^4.0.5",
105105
"@types/node": "^14.14.6",
106106
"@types/numeral": "^2.0.2",
107107
"@types/text-table": "^0.2.1",
108108
"@types/yargs-parser": "^15.0.0",
109-
"@types/chai-as-promised": "^7.1.3",
110109
"chai-as-promised": "^7.1.1",
111110
"depcheck": "^1.4.7",
112111
"eslint": "^7.25.0",
112+
"mongodb": "^6.14.2",
113113
"mongodb-crypt-library-dummy": "^1.0.2",
114114
"prettier": "^2.8.8",
115115
"webpack-merge": "^5.8.0"

0 commit comments

Comments
 (0)