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

@parcel/diagnostic

Package Overview
Dependencies
Maintainers
1
Versions
908
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parcel/diagnostic - npm Package Compare versions

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

12

lib/diagnostic.js

@@ -19,6 +19,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; }

@@ -52,5 +48,5 @@

return error.diagnostics.map(d => {
return _objectSpread({}, d, {
return { ...d,
origin: realOrigin || d.origin || 'unknown'
});
};
});

@@ -113,5 +109,5 @@ }

let pos = (0, _nullthrows.default)(map.pointers[key]);
return _objectSpread({}, getJSONSourceLocation(pos, type), {
return { ...getJSONSourceLocation(pos, type),
message
});
};
});

@@ -118,0 +114,0 @@ }

{
"name": "@parcel/diagnostic",
"version": "2.0.0-nightly.214+52fd6741",
"version": "2.0.0-nightly.219+f9f7320b",
"license": "MIT",

@@ -21,3 +21,3 @@ "publishConfig": {

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