Skip to content

Commit

Permalink
chore: unpin dependencies (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperchupuDev authored Oct 20, 2024
1 parent 99a2632 commit ea94b03
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 342 deletions.
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

47 changes: 23 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,45 +22,44 @@
"singleQuote": true
},
"dependencies": {
"@babel/generator": "7.23.0",
"@babel/parser": "7.23.0",
"@babel/types": "7.23.0",
"@babel/generator": "^7.23.0",
"@babel/parser": "^7.23.0",
"@babel/types": "^7.23.0",
"@yao-pkg/pkg-fetch": "3.5.13",
"into-stream": "^6.0.0",
"minimist": "^1.2.6",
"multistream": "^4.1.0",
"picomatch": "^4.0.2",
"picocolors": "^1.1.0",
"prebuild-install": "7.1.1",
"picomatch": "^4.0.2",
"prebuild-install": "^7.1.1",
"resolve": "^1.22.0",
"stream-meter": "^1.0.4",
"tinyglobby": "^0.2.9"
},
"devDependencies": {
"@babel/core": "7.23.0",
"@release-it/conventional-changelog": "7.0.2",
"@types/babel__generator": "7.6.5",
"@types/minimist": "1.2.2",
"@types/multistream": "4.1.0",
"@types/node": "14.18.20",
"@babel/core": "^7.23.0",
"@release-it/conventional-changelog": "^7.0.2",
"@types/babel__generator": "^7.6.5",
"@types/minimist": "^1.2.2",
"@types/multistream": "^4.1.0",
"@types/node": "^16.18.113",
"@types/picomatch": "^3.0.1",
"@types/resolve": "1.20.2",
"@types/stream-meter": "0.0.22",
"@typescript-eslint/eslint-plugin": "6.7.4",
"@typescript-eslint/parser": "6.7.4",
"eslint": "8.50.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.28.1",
"@types/resolve": "^1.20.2",
"@types/stream-meter": "^0.0.22",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.50.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"json-stable-stringify": "^1.0.1",
"lint-staged": "^10.5.4",
"mkdirp": "^1.0.4",
"prettier": "3.0.3",
"release-it": "16.2.1",
"prettier": "^3.0.3",
"release-it": "^16.2.1",
"rimraf": "^3.0.2",
"simple-git-hooks": ">=2.8.0",
"typescript": "4.7.2"
"typescript": "^4.7.2"
},
"scripts": {
"clean": "rimraf lib-es5",
Expand Down
17 changes: 13 additions & 4 deletions test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,23 @@

const assert = require('assert');
const path = require('path');
const mkdirp = require('mkdirp');
const rimraf = require('rimraf');
const { globSync } = require('tinyglobby');
const { execSync, spawnSync } = require('child_process');
const { existsSync, statSync, copyFileSync, readdirSync } = require('fs');
const {
existsSync,
statSync,
copyFileSync,
mkdirSync,
readdirSync,
} = require('fs');
const stableStringify = require('json-stable-stringify');

module.exports.mkdirp = mkdirp;
module.exports.mkdirp = {
sync(p) {
return mkdirSync(p, { recursive: true });
},
};

module.exports.pause = function (seconds) {
spawnSync('ping', [
Expand All @@ -22,7 +31,7 @@ module.exports.pause = function (seconds) {
module.exports.copyRecursiveSync = function (origin, dest) {
const stats = statSync(origin);
if (stats.isDirectory()) {
mkdirp.sync(dest);
mkdirSync(dest, { recursive: true });
const files = readdirSync(origin);
for (const file of files) {
module.exports.copyRecursiveSync(
Expand Down
Loading

0 comments on commit ea94b03

Please sign in to comment.