From ee78f1c50cc506b70af048700679428723dd30e4 Mon Sep 17 00:00:00 2001 From: Eric Sizemore Date: Fri, 17 May 2024 23:48:44 -0400 Subject: [PATCH] Replace `upath` with `@ewizardjs/upath` --- CHANGELOG.md | 1 + package-lock.json | 90 +++++++++++++++++++-------------------- package.json | 2 +- scripts/build-pug.js | 2 +- scripts/clean.js | 2 +- scripts/render-assets.js | 2 +- scripts/render-pug.js | 2 +- scripts/render-scripts.js | 2 +- scripts/render-scss.js | 2 +- scripts/sb-watch.js | 2 +- scripts/start-debug.js | 2 +- scripts/start.js | 2 +- 12 files changed, 55 insertions(+), 56 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c8f04477..d6ad5298 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ v20.11.1 * Updated `Charts.js` to 4.4.1 * Updated `assests/demo/chart-*-demo.js` files as a result. * Updated `fontawesome` to 6.5.1 + * Replaced `upath` with `@ewizardjs/upath` v3.0.0 * Updated copyright year to 2024. ##### Addressing Bootstrap Deprecations diff --git a/package-lock.json b/package-lock.json index 696b8b0a..836d4319 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "bootstrap": "5.3.3" }, "devDependencies": { + "@ewizardjs/upath": "3.0.0", "autoprefixer": "10.4.19", "browser-sync": "3.0.2", "chokidar": "3.6.0", @@ -20,8 +21,7 @@ "prettier": "3.2.5", "pug": "3.0.2", "sass": "1.77.2", - "shelljs": "0.8.5", - "upath": "2.0.1" + "shelljs": "0.8.5" } }, "node_modules/@babel/helper-string-parser": { @@ -34,18 +34,18 @@ } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.22.20", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", - "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.5.tgz", + "integrity": "sha512-3q93SSKX2TWCG30M2G2kwaKeTYgEUp5Snjuj8qm729SObL6nbtUldAi37qbxkD5gg3xnBio+f9nqpSepGZMvxA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", - "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz", + "integrity": "sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -55,9 +55,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.24.4", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.4.tgz", - "integrity": "sha512-dkxf7+hn8mFBwKjs9bvBlArzLVxVbS8usaPUDd5p2a9JCL9tB8OaOVN1isD4+Xyk4ns89/xeOmbQvgdK7IIVdA==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.5.tgz", + "integrity": "sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -67,19 +67,29 @@ } }, "node_modules/@babel/types": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz", - "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==", + "version": "7.24.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.5.tgz", + "integrity": "sha512-6mQNsaLeXTw0nxYUYu+NSa4Hx4BlF1x1x8/PMFbiR+GBSr+2DkECc69b8hgy2frEodNcvPffeH8YfWd3LI6jhQ==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.23.4", - "@babel/helper-validator-identifier": "^7.22.20", + "@babel/helper-string-parser": "^7.24.1", + "@babel/helper-validator-identifier": "^7.24.5", "to-fast-properties": "^2.0.0" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@ewizardjs/upath": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@ewizardjs/upath/-/upath-3.0.0.tgz", + "integrity": "sha512-NLt0we7v1dooRm/YsJ+vT4lYjHoI2cjZrOf/5F+/6RSvNUxEKmQeTTw7jzRqiR5VjkiGYp67SWIyo9w05/kmMw==", + "dev": true, + "engines": { + "node": ">=4", + "yarn": "*" + } + }, "node_modules/@popperjs/core": { "version": "2.11.8", "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz", @@ -112,9 +122,9 @@ } }, "node_modules/@types/node": { - "version": "20.12.7", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.7.tgz", - "integrity": "sha512-wq0cICSkRLVaf3UGLMGItu/PtdY7oaXaI/RVU+xliKVOtRna3PRY57ZDfztpDL0n11vfymMUnXv8QwYCO7L1wg==", + "version": "20.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", + "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -472,9 +482,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001614", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001614.tgz", - "integrity": "sha512-jmZQ1VpmlRwHgdP1/uiKzgiAuGOfLEJsYFP4+GBou/QQ4U6IOJCB4NP1c+1p9RGLpwObcT94jA5/uO+F1vBbog==", + "version": "1.0.30001620", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001620.tgz", + "integrity": "sha512-WJvYsOjd1/BYUY6SNGUosK9DUidBPDTnOARHp3fSmFO1ekdxaY6nKRttEVrfMmYi80ctS0kz1wiWmm14fVc3ew==", "dev": true, "funding": [ { @@ -788,9 +798,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.4.750", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.750.tgz", - "integrity": "sha512-9ItEpeu15hW5m8jKdriL+BQrgwDTXEL9pn4SkillWFu73ZNNNQ2BKKLS+ZHv2vC9UkNhosAeyfxOf/5OSeTCPA==", + "version": "1.4.774", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.774.tgz", + "integrity": "sha512-132O1XCd7zcTkzS3FgkAzKmnBuNJjK8WjcTtNuoylj7MYbqw5eXehjQ5OK91g0zm7OTKIPeaAG4CPoRfD9M1Mg==", "dev": true }, "node_modules/emoji-regex": { @@ -1636,9 +1646,9 @@ "dev": true }, "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", + "integrity": "sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==", "dev": true }, "node_modules/picomatch": { @@ -1974,7 +1984,6 @@ "resolved": "https://registry.npmjs.org/sass/-/sass-1.77.2.tgz", "integrity": "sha512-eb4GZt1C3avsX3heBNlrc7I09nyT00IUuo4eFhAbeXWU2fvA7oXI53SxODVAA+zgZCk9aunAZgO+losjR3fAwA==", "dev": true, - "license": "MIT", "dependencies": { "chokidar": ">=3.0.0 <4.0.0", "immutable": "^4.0.0", @@ -1991,8 +2000,7 @@ "version": "4.3.6", "resolved": "https://registry.npmjs.org/immutable/-/immutable-4.3.6.tgz", "integrity": "sha512-Ju0+lEMyzMVZarkTn/gqRpdqd5dOPaz1mCZ0SH3JV6iFw81PldE/PEB1hWVEA288HPt4WXW8O7AWxB10M+03QQ==", - "dev": true, - "license": "MIT" + "dev": true }, "node_modules/send": { "version": "0.16.2", @@ -2532,20 +2540,10 @@ "node": ">= 0.8" } }, - "node_modules/upath": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", - "dev": true, - "engines": { - "node": ">=4", - "yarn": "*" - } - }, "node_modules/update-browserslist-db": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", - "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "version": "1.0.16", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.16.tgz", + "integrity": "sha512-KVbTxlBYlckhF5wgfyZXTWnMn7MMZjMu9XG8bPlliUOP9ThaF4QnhP8qrjrH7DRzHfSk0oQv1wToW+iA5GajEQ==", "dev": true, "funding": [ { @@ -2562,8 +2560,8 @@ } ], "dependencies": { - "escalade": "^3.1.1", - "picocolors": "^1.0.0" + "escalade": "^3.1.2", + "picocolors": "^1.0.1" }, "bin": { "update-browserslist-db": "cli.js" diff --git a/package.json b/package.json index c9654d23..a56d8a91 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,6 @@ "pug": "3.0.2", "sass": "1.77.2", "shelljs": "0.8.5", - "upath": "2.0.1" + "@ewizardjs/upath": "3.0.0" } } diff --git a/scripts/build-pug.js b/scripts/build-pug.js index 47d036a7..99d05cad 100644 --- a/scripts/build-pug.js +++ b/scripts/build-pug.js @@ -1,5 +1,5 @@ 'use strict'; -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const sh = require('shelljs'); const renderPug = require('./render-pug'); diff --git a/scripts/clean.js b/scripts/clean.js index 75cfa971..5f8b1e0f 100644 --- a/scripts/clean.js +++ b/scripts/clean.js @@ -1,5 +1,5 @@ const sh = require('shelljs'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const destPath = upath.resolve(upath.dirname(__filename), '../dist'); diff --git a/scripts/render-assets.js b/scripts/render-assets.js index 9139f9d6..930b9201 100644 --- a/scripts/render-assets.js +++ b/scripts/render-assets.js @@ -1,6 +1,6 @@ 'use strict'; const fs = require('fs'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const sh = require('shelljs'); module.exports = function renderAssets() { diff --git a/scripts/render-pug.js b/scripts/render-pug.js index 0cbb1ef3..317899ee 100644 --- a/scripts/render-pug.js +++ b/scripts/render-pug.js @@ -1,6 +1,6 @@ 'use strict'; const fs = require('fs'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const pug = require('pug'); const sh = require('shelljs'); const prettier = require('prettier'); diff --git a/scripts/render-scripts.js b/scripts/render-scripts.js index 245ebac4..66010deb 100644 --- a/scripts/render-scripts.js +++ b/scripts/render-scripts.js @@ -1,7 +1,7 @@ 'use strict'; const fs = require('fs'); const packageJSON = require('../package.json'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const sh = require('shelljs'); module.exports = function renderScripts() { diff --git a/scripts/render-scss.js b/scripts/render-scss.js index c00bfa21..be348d5b 100644 --- a/scripts/render-scss.js +++ b/scripts/render-scss.js @@ -2,7 +2,7 @@ const autoprefixer = require('autoprefixer'); const fs = require('fs'); const packageJSON = require('../package.json'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const postcss = require('postcss'); const sass = require('sass'); const sh = require('shelljs'); diff --git a/scripts/sb-watch.js b/scripts/sb-watch.js index 572b3091..0549ee21 100644 --- a/scripts/sb-watch.js +++ b/scripts/sb-watch.js @@ -2,7 +2,7 @@ const _ = require('lodash'); const chokidar = require('chokidar'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const renderAssets = require('./render-assets'); const renderPug = require('./render-pug'); const renderScripts = require('./render-scripts'); diff --git a/scripts/start-debug.js b/scripts/start-debug.js index dd4d63b0..ea21598c 100644 --- a/scripts/start-debug.js +++ b/scripts/start-debug.js @@ -1,5 +1,5 @@ const concurrently = require('concurrently'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const browserSyncPath = upath.resolve(upath.dirname(__filename), '../node_modules/.bin/browser-sync'); diff --git a/scripts/start.js b/scripts/start.js index f00ea836..f99e566f 100644 --- a/scripts/start.js +++ b/scripts/start.js @@ -1,5 +1,5 @@ const concurrently = require('concurrently'); -const upath = require('upath'); +const upath = require('@ewizardjs/upath'); const browserSyncPath = upath.resolve(upath.dirname(__filename), '../node_modules/.bin/browser-sync');