Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nuxt/utils

Package Overview
Dependencies
Maintainers
3
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuxt/utils - npm Package Compare versions

Comparing version 2.15.2 to 2.15.3

7

dist/utils.js
/*!
* @nuxt/utils v2.15.2 (c) 2016-2021
* @nuxt/utils v2.15.3 (c) 2016-2021
* Released under the MIT License

@@ -80,3 +80,3 @@ * Repository: https://github.com/nuxt/nuxt.js

const isUrl = function isUrl (url) {
return ['http', '//'].some(str => url.startsWith(str))
return ufo.hasProtocol(url, true)
};

@@ -289,2 +289,3 @@

message: `'${prop}' is deprecated'`,
// eslint-disable-next-line unicorn/error-message
additional: new Error().stack.split('\n').splice(2).join('\n')

@@ -820,3 +821,3 @@ });

return _require.resolve(id, {
paths: [].concat(paths || [], global.__NUXT_PATHS__ || [], process.cwd())
paths: [].concat(...(global.__NUXT_PREPATHS__ || []), paths || [], global.__NUXT_PATHS__ || [], process.cwd())
})

@@ -823,0 +824,0 @@ }

{
"name": "@nuxt/utils",
"version": "2.15.2",
"version": "2.15.3",
"repository": "nuxt/nuxt.js",

@@ -15,3 +15,3 @@ "license": "MIT",

"hash-sum": "^2.0.0",
"jiti": "^1.3.0",
"jiti": "^1.6.3",
"lodash": "^4.17.21",

@@ -23,3 +23,3 @@ "proper-lockfile": "^4.1.2",

"ua-parser-js": "^0.7.24",
"ufo": "^0.6.7"
"ufo": "^0.6.10"
},

@@ -26,0 +26,0 @@ "publishConfig": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc