diff --git a/lib/module.js b/lib/module.js index b429f35b..73d455c8 100644 --- a/lib/module.js +++ b/lib/module.js @@ -3,7 +3,7 @@ const { pathExists } = require('fs-extra') const defu = require('defu') const clearModule = require('clear-module') const chalk = require('chalk') -const { joinURL, withTrailingSlash } = require('@nuxt/ufo') +const { joinURL, withTrailingSlash } = require('ufo') const logger = require('./logger') const defaultTailwindConfig = require('./files/tailwind.config.js') diff --git a/lib/serverMiddleware/tailwindConfigViewer.js b/lib/serverMiddleware/tailwindConfigViewer.js index 729b687c..ed2a71f0 100644 --- a/lib/serverMiddleware/tailwindConfigViewer.js +++ b/lib/serverMiddleware/tailwindConfigViewer.js @@ -1,4 +1,4 @@ -const { withoutTrailingSlash, withTrailingSlash } = require('@nuxt/ufo') +const { withoutTrailingSlash, withTrailingSlash } = require('ufo') const createServer = require('tailwind-config-viewer/server') const server = createServer({ diff --git a/package.json b/package.json index 1db779ba..011941d6 100755 --- a/package.json +++ b/package.json @@ -24,14 +24,14 @@ "lib" ], "dependencies": { - "@nuxt/ufo": "^0.5.4", "chalk": "^4.1.0", "clear-module": "^4.1.1", "consola": "^2.15.0", "defu": "^3.2.2", "fs-extra": "^9.0.1", "tailwind-config-viewer": "^1.4.0", - "tailwindcss": "^1.9.6" + "tailwindcss": "^1.9.6", + "ufo": "^0.6.6" }, "devDependencies": { "@babel/core": "^7.12.10", diff --git a/yarn.lock b/yarn.lock index 47841c78..9cfc319f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1856,11 +1856,6 @@ resolved "https://registry.yarnpkg.com/@nuxt/ufo/-/ufo-0.5.2.tgz#cb40e4b3001739baebddfd65d0f03d6070e2c0e5" integrity sha512-nnKFQ4NA5id5ekyQWHTdOfirIZRQzfEHMB9T0T6NZdWy4+3Nrw0GTBQ3J9Am0gg8kvqR0mMQTn1wK6ya3i/XmA== -"@nuxt/ufo@^0.5.4": - version "0.5.4" - resolved "https://registry.yarnpkg.com/@nuxt/ufo/-/ufo-0.5.4.tgz#2e1428e2c947cc559d566c27786525bf0f40fbc8" - integrity sha512-JZOGDlt2BvLCBmLhrchhRJ6tP9PBfSWLdsHC+JVJ5Qp8/hT/2u61cSsLS30zUOwcPRaQ3y2oHNkEiKJ5v90iEQ== - "@nuxt/utils@2.14.12": version "2.14.12" resolved "https://registry.yarnpkg.com/@nuxt/utils/-/utils-2.14.12.tgz#7684ef732fba65608baff02bc4cce2b3ced891ac" @@ -11948,6 +11943,11 @@ ua-parser-js@^0.7.22: resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.22.tgz#960df60a5f911ea8f1c818f3747b99c6e177eae3" integrity sha512-YUxzMjJ5T71w6a8WWVcMGM6YWOTX27rCoIQgLXiWaxqXSx9D7DNjiGWn1aJIRSQ5qr0xuhra77bSIh6voR/46Q== +ufo@^0.6.6: + version "0.6.6" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-0.6.6.tgz#6bc4b4de19ff9a9cb68134719190196b0cc7353b" + integrity sha512-HDhml2KskY1VVtQGckmaf/p3rTuleC2M7qL9Wf1dJZMw7glFk6oVjRsddf6LJp0I+pHERZzfttVmBMq1nR3PGA== + uglify-js@^3.1.4, uglify-js@^3.5.1: version "3.11.1" resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.11.1.tgz#32d274fea8aac333293044afd7f81409d5040d38"