Skip to content

Commit

Permalink
Upgrade modules
Browse files Browse the repository at this point in the history
  • Loading branch information
kmalakoff committed Apr 23, 2024
1 parent b1602be commit 7559789
Show file tree
Hide file tree
Showing 23 changed files with 167 additions and 316 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['20']
node: [latest]
os: [ubuntu-latest, windows-latest]
# os: [ubuntu-latest, windows-latest, macos-latest]
steps:
Expand All @@ -22,6 +22,7 @@ jobs:
- run: npm uninstall node-version-use -g
- run: npm install node-version-use -g
- run: npm ci
- run: npm run format
- run: npm run version
- run: npm run build
- run: npm run test
- run: npm run test:engines
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"request": "launch",
"name": "test:node",
"program": "${workspaceFolder}/node_modules/mocha-compat/bin/_mocha-compat",
"args": ["--no-timeouts", "--colors", "${workspaceFolder}/test/spec/**/*.test.js"],
"args": ["--no-timeouts", "--colors", "${workspaceFolder}/test/**/*.test.*"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand All @@ -18,7 +18,7 @@
"request": "launch",
"name": "test:node",
"program": "${workspaceFolder}/node_modules/mocha-compat/bin/nvu",
"args": ["mocha-compat", "--no-timeouts", "--colors", "${workspaceFolder}/test/spec/**/*.test.js"],
"args": ["mocha-compat", "--no-timeouts", "--colors", "${workspaceFolder}/test/**/*.test.*"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen"
},
Expand Down
2 changes: 1 addition & 1 deletion dist/cjs/FSIterator.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,4 @@ FSIterator.EXPECTED_ERRORS = [
"EACCES",
"ELOOP"
];
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/PathStack.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ PathStack.prototype.last = function last() {
return this.stack.last();
};
var _default = PathStack;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/createEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ function createEntry(iterator, item) {
entry.fullPath = join(iterator.root, entry.path);
return entry;
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ function filter(iterator, entry, callback) {
callback(null, true);
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ function path(item, iterator, callback) {
});
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/depthFirst/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ function stat(iterator, entry, callback) {
});
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fifoRemove.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ function fifoRemove(fifo, value) {
}
return false;
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ var _default = {
realpath: _realpath.default,
stat: _stat.default
};
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/lstat.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ function lstatAddOptions(path, _options, callback) {
return _fs.default.lstat(path, callback);
}
var _default = _fs.default.lstat.length === 3 ? _fs.default.lstat : lstatAddOptions;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/lstatReal.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function lstatReal(path, options, callback) {
(0, _lstat.default)(realpath, options, callback);
});
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/readdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ function readdirAddOptions(path, _options, callback) {
return readdir(path, callback);
}
var _default = _fs.default.readdir.length === 3 ? _fs.default.readdir : readdirAddOptions;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/realpath.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ function _interop_require_default(obj) {
};
}
var _default = _fsrealpath.default;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/fs-compat/stat.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ function statAddOptions(path, _options, callback) {
return _fs.default.stat(path, callback);
}
var _default = _fs.default.stat.length === 3 ? _fs.default.stat : statAddOptions;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ function _interop_require_default(obj) {
};
}
var _default = _FSIterator.default;
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
2 changes: 1 addition & 1 deletion dist/cjs/lifoFromArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ function lifoFromArray(array) {
array.forEach(fifo.unshift.bind(fifo));
return fifo;
}
/* CJS INTEROP */ if (exports.__esModule && exports.default) { module.exports = exports.default; for (var key in exports) module.exports[key] = exports[key]; }
/* CJS INTEROP */ if (exports.__esModule && exports.default) { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) exports.default[key] = exports[key]; module.exports = exports.default; }
4 changes: 2 additions & 2 deletions docs/classes/PathStack.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/classes/default.html

Large diffs are not rendered by default.

Loading

0 comments on commit 7559789

Please sign in to comment.