@parcel/packager-js 2.10.2 → 2.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/helpers.js CHANGED
@@ -76,7 +76,7 @@ function $parcel$export(e, n, v, s) {
76
76
  const $parcel$exportWildcard = `
77
77
  function $parcel$exportWildcard(dest, source) {
78
78
  Object.keys(source).forEach(function(key) {
79
- if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
79
+ if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
80
80
  return;
81
81
  }
82
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/packager-js",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,17 +17,17 @@
17
17
  "source": "src/index.js",
18
18
  "engines": {
19
19
  "node": ">= 12.0.0",
20
- "parcel": "^2.10.2"
20
+ "parcel": "^2.10.3"
21
21
  },
22
22
  "dependencies": {
23
- "@parcel/diagnostic": "2.10.2",
24
- "@parcel/plugin": "2.10.2",
25
- "@parcel/rust": "2.10.2",
23
+ "@parcel/diagnostic": "2.10.3",
24
+ "@parcel/plugin": "2.10.3",
25
+ "@parcel/rust": "2.10.3",
26
26
  "@parcel/source-map": "^2.1.1",
27
- "@parcel/types": "2.10.2",
28
- "@parcel/utils": "2.10.2",
27
+ "@parcel/types": "2.10.3",
28
+ "@parcel/utils": "2.10.3",
29
29
  "globals": "^13.2.0",
30
30
  "nullthrows": "^1.1.1"
31
31
  },
32
- "gitHead": "a1391ed8a719fc2f976dbadb528ca2dcffa7da12"
32
+ "gitHead": "65d42a955db665a04817fa9be55df16f588593d4"
33
33
  }
package/src/helpers.js CHANGED
@@ -112,7 +112,7 @@ function $parcel$export(e, n, v, s) {
112
112
  const $parcel$exportWildcard = `
113
113
  function $parcel$exportWildcard(dest, source) {
114
114
  Object.keys(source).forEach(function(key) {
115
- if (key === 'default' || key === '__esModule' || dest.hasOwnProperty(key)) {
115
+ if (key === 'default' || key === '__esModule' || Object.prototype.hasOwnProperty.call(dest, key)) {
116
116
  return;
117
117
  }
118
118