Skip to content

Commit

Permalink
chore(deps-dev): bumping dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Aug 23, 2022
1 parent 3fbc42b commit 4831595
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 22 deletions.
5 changes: 3 additions & 2 deletions __tests__/cli.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const cli = require('../src/cli');
const path = require('path');
const exec = require('child_process').exec;
const path = require('path');

const cli = require('../src/cli');

function runCommand(cmd, cwd) {
return new Promise(resolve => {
Expand Down
1 change: 1 addition & 0 deletions __tests__/loader.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const fs = require('fs');

const jsYaml = require('js-yaml');

const Loader = require('../src/loader');
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"promise.any": "^2.0.2"
},
"devDependencies": {
"@readme/eslint-config": "^9.0.0",
"eslint": "^8.14.0",
"@readme/eslint-config": "^10.0.0",
"eslint": "^8.22.0",
"jest": "^28.0.1",
"prettier": "^2.6.2"
},
Expand Down
2 changes: 2 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* eslint-disable no-console */
const program = require('commander');

const pkg = require('../package.json');

const swaggerInline = require('.');

module.exports = function (args) {
Expand Down
2 changes: 1 addition & 1 deletion src/extractor.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const extractComments = require('multilang-extract-comments');
const jsYaml = require('js-yaml');
const extractComments = require('multilang-extract-comments');

function loadYamlWithPrettyErrors(prettyObject, yamlLines) {
try {
Expand Down
5 changes: 3 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
const jsYaml = require('js-yaml');
const path = require('path');

const Loader = require('./loader');
const jsYaml = require('js-yaml');

const Extractor = require('./extractor');
const Loader = require('./loader');
const Options = require('./options');

function outputResult(object, options) {
Expand Down
3 changes: 2 additions & 1 deletion src/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
/* eslint-disable no-param-reassign */
const fs = require('fs').promises;
const path = require('path');
const jsYaml = require('js-yaml');

const globby = require('globby');
const jsYaml = require('js-yaml');
const any = require('promise.any');

class Loader {
Expand Down

0 comments on commit 4831595

Please sign in to comment.