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.14.3 to 2.14.4

14

dist/utils.js
/*!
* @nuxt/utils v2.14.3 (c) 2016-2020
* @nuxt/utils v2.14.4 (c) 2016-2020

@@ -1947,2 +1947,6 @@ * - All the amazing contributors

function isHMRCompatible (id) {
return !/[/\\]mongoose[/\\/]/.test(id)
}
function isExternalDependency (id) {

@@ -1953,3 +1957,3 @@ return /[/\\]node_modules[/\\]/.test(id)

function clearRequireCache (id) {
if (isExternalDependency(id)) {
if (isExternalDependency(id) && isHMRCompatible(id)) {
return

@@ -1969,7 +1973,8 @@ }

// Needs to be cleared before children, to protect against circular deps (#7966)
delete require.cache[id];
for (const child of entry.children) {
clearRequireCache(child.id);
}
delete require.cache[id];
}

@@ -2101,2 +2106,3 @@

exports.isFullStatic = isFullStatic;
exports.isHMRCompatible = isHMRCompatible;
exports.isIndexFileAndFolder = isIndexFileAndFolder;

@@ -2103,0 +2109,0 @@ exports.isModernBrowser = isModernBrowser;

{
"name": "@nuxt/utils",
"version": "2.14.3",
"version": "2.14.4",
"repository": "nuxt/nuxt.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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