Skip to content

Commit

Permalink
Update non-dev dependencies to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
malaporte committed Nov 1, 2023
1 parent 79d316b commit 0961d07
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 18 deletions.
87 changes: 74 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"license": "MIT",
"homepage": "https://github.com/coveord/eureka-js-client",
"dependencies": {
"async": "^2.0.1",
"js-yaml": "^3.3.1",
"lodash": "^4.13.1",
"request": "^2.83.0"
"async": "^3.2.4",
"js-yaml": "^4.1.0",
"lodash": "^4.17.21",
"request": "^2.88.2"
},
"devDependencies": {
"babel-core": "^6.4.5",
Expand Down
2 changes: 1 addition & 1 deletion src/EurekaClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function getYaml(file) {
return yml; // no configuration file
}
try {
yml = yaml.safeLoad(fs.readFileSync(file, 'utf8'));
yml = yaml.load(fs.readFileSync(file, 'utf8'));
} catch (e) {
// configuration file exists but was malformed
throw new Error(`Error loading YAML configuration file: ${file} ${e}`);
Expand Down

0 comments on commit 0961d07

Please sign in to comment.