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

@parcel/logger

Package Overview
Dependencies
Maintainers
1
Versions
906
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/logger - npm Package Compare versions

Comparing version 2.0.0-nightly.214 to 2.0.0-nightly.219

33

lib/Logger.js

@@ -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"
}
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