@parcel/logger
Advanced tools
Comparing version 2.0.0-nightly.214 to 2.0.0-nightly.219
@@ -16,6 +16,2 @@ "use strict"; | ||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } | ||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } | ||
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
@@ -70,8 +66,8 @@ | ||
diagnostic = Array.isArray(diagnostic) ? diagnostic.map(d => { | ||
return _objectSpread({}, d, { | ||
return { ...d, | ||
origin: realOrigin | ||
}); | ||
}) : _objectSpread({}, diagnostic, { | ||
}; | ||
}) : { ...diagnostic, | ||
origin: realOrigin | ||
}); | ||
}; | ||
} | ||
@@ -111,8 +107,8 @@ | ||
return Array.isArray(diagnostic) ? diagnostic.map(d => { | ||
return _objectSpread({}, d, { | ||
return { ...d, | ||
origin: this.origin | ||
}); | ||
}) : _objectSpread({}, diagnostic, { | ||
}; | ||
}) : { ...diagnostic, | ||
origin: this.origin | ||
}); | ||
}; | ||
} | ||
@@ -148,7 +144,6 @@ | ||
let consolePatched = false; | ||
const INTERNAL_ORIGINAL_CONSOLE = _objectSpread({}, console); // Patch `console` APIs within workers to forward their messages to the Logger | ||
const INTERNAL_ORIGINAL_CONSOLE = { ...console | ||
}; // Patch `console` APIs within workers to forward their messages to the Logger | ||
// at the appropriate levels. | ||
exports.INTERNAL_ORIGINAL_CONSOLE = INTERNAL_ORIGINAL_CONSOLE; | ||
@@ -214,10 +209,10 @@ | ||
return diagnostic.map(d => { | ||
return _objectSpread({}, d, { | ||
return { ...d, | ||
skipFormatting: true | ||
}); | ||
}; | ||
}); | ||
} else { | ||
return _objectSpread({}, diagnostic, { | ||
return { ...diagnostic, | ||
skipFormatting: true | ||
}); | ||
}; | ||
} | ||
@@ -224,0 +219,0 @@ } else { |
{ | ||
"name": "@parcel/logger", | ||
"version": "2.0.0-nightly.214+52fd6741", | ||
"version": "2.0.0-nightly.219+f9f7320b", | ||
"description": "Blazing fast, zero configuration web application bundler", | ||
@@ -19,6 +19,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@parcel/diagnostic": "2.0.0-nightly.214+52fd6741", | ||
"@parcel/events": "2.0.0-nightly.214+52fd6741" | ||
"@parcel/diagnostic": "2.0.0-nightly.219+f9f7320b", | ||
"@parcel/events": "2.0.0-nightly.219+f9f7320b" | ||
}, | ||
"gitHead": "52fd6741a0ea1f2e043c628cf6b7be0715b1c837" | ||
"gitHead": "f9f7320bed19a9a2a7d75d5c6da657272b4b44ef" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
14036
423