@@ -8,7 +8,7 @@ let bar5 = () => {};
8
8
9
9
export default [foo5, bar5];
10
10
11
- if (typeof bar5 !== 'undefined' && bar5 && bar5 === Object(bar5) && Object.isExtensible(bar5) && !bar5. hasOwnProperty( '__filemeta')) {
11
+ if (typeof bar5 !== 'undefined' && bar5 && bar5 === Object(bar5) && Object.isExtensible(bar5) && !Object.prototype. hasOwnProperty.call(bar5, '__filemeta')) {
12
12
Object .defineProperty (bar5 , ' __filemeta' , {
13
13
configurable: true ,
14
14
value: {
@@ -18,7 +18,7 @@ if (typeof bar5 !== 'undefined' && bar5 && bar5 === Object(bar5) && Object.isExt
18
18
});
19
19
}
20
20
21
- if (typeof foo5 !== 'undefined' && foo5 && foo5 === Object(foo5) && Object.isExtensible(foo5) && !foo5. hasOwnProperty( '__filemeta')) {
21
+ if (typeof foo5 !== 'undefined' && foo5 && foo5 === Object(foo5) && Object.isExtensible(foo5) && !Object.prototype. hasOwnProperty.call(foo5, '__filemeta')) {
22
22
Object .defineProperty (foo5 , ' __filemeta' , {
23
23
configurable: true ,
24
24
value: {
@@ -37,7 +37,7 @@ const __DOCZ_DUMMY_EXPORT_DEFAULT = foo(5);
37
37
38
38
export default __DOCZ_DUMMY_EXPORT_DEFAULT;
39
39
40
- if (typeof __DOCZ_DUMMY_EXPORT_DEFAULT !== 'undefined' && __DOCZ_DUMMY_EXPORT_DEFAULT && __DOCZ_DUMMY_EXPORT_DEFAULT === Object(__DOCZ_DUMMY_EXPORT_DEFAULT) && Object.isExtensible(__DOCZ_DUMMY_EXPORT_DEFAULT) && !__DOCZ_DUMMY_EXPORT_DEFAULT. hasOwnProperty( '__filemeta')) {
40
+ if (typeof __DOCZ_DUMMY_EXPORT_DEFAULT !== 'undefined' && __DOCZ_DUMMY_EXPORT_DEFAULT && __DOCZ_DUMMY_EXPORT_DEFAULT === Object(__DOCZ_DUMMY_EXPORT_DEFAULT) && Object.isExtensible(__DOCZ_DUMMY_EXPORT_DEFAULT) && !Object.prototype. hasOwnProperty.call(__DOCZ_DUMMY_EXPORT_DEFAULT, '__filemeta')) {
41
41
Object .defineProperty (__DOCZ_DUMMY_EXPORT_DEFAULT , ' __filemeta' , {
42
42
configurable: true ,
43
43
value: {
@@ -52,7 +52,7 @@ exports[`export-metadata export default works with Class declaration 1`] = `
52
52
"/* ExportDefaultDeclaration with Class declaration */
53
53
export default class Bar6 { }
54
54
55
- if (typeof Bar6 !== 'undefined' && Bar6 && Bar6 === Object(Bar6) && Object.isExtensible(Bar6) && !Bar6. hasOwnProperty( '__filemeta')) {
55
+ if (typeof Bar6 !== 'undefined' && Bar6 && Bar6 === Object(Bar6) && Object.isExtensible(Bar6) && !Object.prototype. hasOwnProperty.call(Bar6, '__filemeta')) {
56
56
Object .defineProperty (Bar6 , ' __filemeta' , {
57
57
configurable: true ,
58
58
value: {
@@ -67,7 +67,7 @@ exports[`export-metadata export default works with Function declaration 1`] = `
67
67
"/* ExportDefaultDeclaration with Function declaration */
68
68
export default function foo6() { }
69
69
70
- if (typeof foo6 !== 'undefined' && foo6 && foo6 === Object(foo6) && Object.isExtensible(foo6) && !foo6. hasOwnProperty( '__filemeta')) {
70
+ if (typeof foo6 !== 'undefined' && foo6 && foo6 === Object(foo6) && Object.isExtensible(foo6) && !Object.prototype. hasOwnProperty.call(foo6, '__filemeta')) {
71
71
Object .defineProperty (foo6 , ' __filemeta' , {
72
72
configurable: true ,
73
73
value: {
@@ -83,7 +83,7 @@ exports[`export-metadata export default works with Identifier 1`] = `
83
83
let foo3 = 5;
84
84
export default foo3;
85
85
86
- if (typeof foo3 !== 'undefined' && foo3 && foo3 === Object(foo3) && Object.isExtensible(foo3) && !foo3. hasOwnProperty( '__filemeta')) {
86
+ if (typeof foo3 !== 'undefined' && foo3 && foo3 === Object(foo3) && Object.isExtensible(foo3) && !Object.prototype. hasOwnProperty.call(foo3, '__filemeta')) {
87
87
Object .defineProperty (foo3 , ' __filemeta' , {
88
88
configurable: true ,
89
89
value: {
@@ -101,7 +101,7 @@ export default {
101
101
bar4 : () => {}
102
102
} ;
103
103
104
- if (typeof bar4 !== 'undefined' && bar4 && bar4 === Object(bar4) && Object.isExtensible(bar4) && !bar4. hasOwnProperty( '__filemeta')) {
104
+ if (typeof bar4 !== 'undefined' && bar4 && bar4 === Object(bar4) && Object.isExtensible(bar4) && !Object.prototype. hasOwnProperty.call(bar4, '__filemeta')) {
105
105
Object .defineProperty (bar4 , ' __filemeta' , {
106
106
configurable: true ,
107
107
value: {
@@ -111,7 +111,7 @@ if (typeof bar4 !== 'undefined' && bar4 && bar4 === Object(bar4) && Object.isExt
111
111
});
112
112
}
113
113
114
- if (typeof foo4 !== 'undefined' && foo4 && foo4 === Object(foo4) && Object.isExtensible(foo4) && !foo4. hasOwnProperty( '__filemeta')) {
114
+ if (typeof foo4 !== 'undefined' && foo4 && foo4 === Object(foo4) && Object.isExtensible(foo4) && !Object.prototype. hasOwnProperty.call(foo4, '__filemeta')) {
115
115
Object .defineProperty (foo4 , ' __filemeta' , {
116
116
configurable: true ,
117
117
value: {
@@ -132,7 +132,7 @@ let baz = 'baz';
132
132
export { foo as default , bar as foobar , baz } ;
133
133
/* ExportNamedDeclaration with Variable declarations */
134
134
135
- if (typeof baz !== 'undefined' && baz && baz === Object(baz) && Object.isExtensible(baz) && !baz. hasOwnProperty( '__filemeta')) {
135
+ if (typeof baz !== 'undefined' && baz && baz === Object(baz) && Object.isExtensible(baz) && !Object.prototype. hasOwnProperty.call(baz, '__filemeta')) {
136
136
Object .defineProperty (baz , ' __filemeta' , {
137
137
configurable: true ,
138
138
value: {
@@ -142,7 +142,7 @@ if (typeof baz !== 'undefined' && baz && baz === Object(baz) && Object.isExtensi
142
142
});
143
143
}
144
144
145
- if (typeof bar !== 'undefined' && bar && bar === Object(bar) && Object.isExtensible(bar) && !bar. hasOwnProperty( '__filemeta')) {
145
+ if (typeof bar !== 'undefined' && bar && bar === Object(bar) && Object.isExtensible(bar) && !Object.prototype. hasOwnProperty.call(bar, '__filemeta')) {
146
146
Object .defineProperty (bar , ' __filemeta' , {
147
147
configurable: true ,
148
148
value: {
@@ -152,7 +152,7 @@ if (typeof bar !== 'undefined' && bar && bar === Object(bar) && Object.isExtensi
152
152
});
153
153
}
154
154
155
- if (typeof foo !== 'undefined' && foo && foo === Object(foo) && Object.isExtensible(foo) && !foo. hasOwnProperty( '__filemeta')) {
155
+ if (typeof foo !== 'undefined' && foo && foo === Object(foo) && Object.isExtensible(foo) && !Object.prototype. hasOwnProperty.call(foo, '__filemeta')) {
156
156
Object .defineProperty (foo , ' __filemeta' , {
157
157
configurable: true ,
158
158
value: {
@@ -166,7 +166,7 @@ export let foo1 = 5,
166
166
bar1 = () => { } ;
167
167
/* ExportNamedDeclaration with Function and Class declarations */
168
168
169
- if (typeof bar1 !== 'undefined' && bar1 && bar1 === Object(bar1) && Object.isExtensible(bar1) && !bar1. hasOwnProperty( '__filemeta')) {
169
+ if (typeof bar1 !== 'undefined' && bar1 && bar1 === Object(bar1) && Object.isExtensible(bar1) && !Object.prototype. hasOwnProperty.call(bar1, '__filemeta')) {
170
170
Object .defineProperty (bar1 , ' __filemeta' , {
171
171
configurable: true ,
172
172
value: {
@@ -176,7 +176,7 @@ if (typeof bar1 !== 'undefined' && bar1 && bar1 === Object(bar1) && Object.isExt
176
176
});
177
177
}
178
178
179
- if (typeof foo1 !== 'undefined' && foo1 && foo1 === Object(foo1) && Object.isExtensible(foo1) && !foo1. hasOwnProperty( '__filemeta')) {
179
+ if (typeof foo1 !== 'undefined' && foo1 && foo1 === Object(foo1) && Object.isExtensible(foo1) && !Object.prototype. hasOwnProperty.call(foo1, '__filemeta')) {
180
180
Object .defineProperty (foo1 , ' __filemeta' , {
181
181
configurable: true ,
182
182
value: {
@@ -188,7 +188,7 @@ if (typeof foo1 !== 'undefined' && foo1 && foo1 === Object(foo1) && Object.isExt
188
188
189
189
export function foo2() { }
190
190
191
- if (typeof foo2 !== 'undefined' && foo2 && foo2 === Object(foo2) && Object.isExtensible(foo2) && !foo2. hasOwnProperty( '__filemeta')) {
191
+ if (typeof foo2 !== 'undefined' && foo2 && foo2 === Object(foo2) && Object.isExtensible(foo2) && !Object.prototype. hasOwnProperty.call(foo2, '__filemeta')) {
192
192
Object .defineProperty (foo2 , ' __filemeta' , {
193
193
configurable: true ,
194
194
value: {
@@ -200,7 +200,7 @@ if (typeof foo2 !== 'undefined' && foo2 && foo2 === Object(foo2) && Object.isExt
200
200
201
201
export class Bar2 { }
202
202
203
- if (typeof Bar2 !== 'undefined' && Bar2 && Bar2 === Object(Bar2) && Object.isExtensible(Bar2) && !Bar2. hasOwnProperty( '__filemeta')) {
203
+ if (typeof Bar2 !== 'undefined' && Bar2 && Bar2 === Object(Bar2) && Object.isExtensible(Bar2) && !Object.prototype. hasOwnProperty.call(Bar2, '__filemeta')) {
204
204
Object .defineProperty (Bar2 , ' __filemeta' , {
205
205
configurable: true ,
206
206
value: {
@@ -216,7 +216,7 @@ exports[`export-metadata re-export re export default 1`] = `
216
216
import __DOCZ_DUMMY_EXPORT_DEFAULT from \\ "../assets/a\\ ";
217
217
export default __DOCZ_DUMMY_EXPORT_DEFAULT;
218
218
219
- if (typeof __DOCZ_DUMMY_EXPORT_DEFAULT !== 'undefined' && __DOCZ_DUMMY_EXPORT_DEFAULT && __DOCZ_DUMMY_EXPORT_DEFAULT === Object(__DOCZ_DUMMY_EXPORT_DEFAULT) && Object.isExtensible(__DOCZ_DUMMY_EXPORT_DEFAULT) && !__DOCZ_DUMMY_EXPORT_DEFAULT. hasOwnProperty( '__filemeta')) {
219
+ if (typeof __DOCZ_DUMMY_EXPORT_DEFAULT !== 'undefined' && __DOCZ_DUMMY_EXPORT_DEFAULT && __DOCZ_DUMMY_EXPORT_DEFAULT === Object(__DOCZ_DUMMY_EXPORT_DEFAULT) && Object.isExtensible(__DOCZ_DUMMY_EXPORT_DEFAULT) && !Object.prototype. hasOwnProperty.call(__DOCZ_DUMMY_EXPORT_DEFAULT, '__filemeta')) {
220
220
Object .defineProperty (__DOCZ_DUMMY_EXPORT_DEFAULT , ' __filemeta' , {
221
221
configurable: true ,
222
222
value: {
@@ -231,7 +231,7 @@ exports[`export-metadata re-export re export default to name 1`] = `
231
231
"/* Re-export */
232
232
export { default as aDefault } from '../assets/a';
233
233
234
- if (typeof aDefault !== 'undefined' && aDefault && aDefault === Object(aDefault) && Object.isExtensible(aDefault) && !aDefault. hasOwnProperty( '__filemeta')) {
234
+ if (typeof aDefault !== 'undefined' && aDefault && aDefault === Object(aDefault) && Object.isExtensible(aDefault) && !Object.prototype. hasOwnProperty.call(aDefault, '__filemeta')) {
235
235
Object .defineProperty (aDefault , ' __filemeta' , {
236
236
configurable: true ,
237
237
value: {
@@ -246,7 +246,7 @@ exports[`export-metadata re-export re export name 1`] = `
246
246
"/* Re-export */
247
247
export { a } from '../assets/a';
248
248
249
- if (typeof a !== 'undefined' && a && a === Object(a) && Object.isExtensible(a) && !a. hasOwnProperty( '__filemeta')) {
249
+ if (typeof a !== 'undefined' && a && a === Object(a) && Object.isExtensible(a) && !Object.prototype. hasOwnProperty.call(a, '__filemeta')) {
250
250
Object .defineProperty (a , ' __filemeta' , {
251
251
configurable: true ,
252
252
value: {
@@ -262,7 +262,7 @@ exports[`export-metadata re-export re export name to default 1`] = `
262
262
import a from \\ "../assets/a\\ ";
263
263
export default a;
264
264
265
- if (typeof a !== 'undefined' && a && a === Object(a) && Object.isExtensible(a) && !a. hasOwnProperty( '__filemeta')) {
265
+ if (typeof a !== 'undefined' && a && a === Object(a) && Object.isExtensible(a) && !Object.prototype. hasOwnProperty.call(a, '__filemeta')) {
266
266
Object .defineProperty (a , ' __filemeta' , {
267
267
configurable: true ,
268
268
value: {
@@ -277,7 +277,7 @@ exports[`export-metadata re-export re export name to name 1`] = `
277
277
"/* Re-export */
278
278
export { a as aa } from '../assets/a';
279
279
280
- if (typeof aa !== 'undefined' && aa && aa === Object(aa) && Object.isExtensible(aa) && !aa. hasOwnProperty( '__filemeta')) {
280
+ if (typeof aa !== 'undefined' && aa && aa === Object(aa) && Object.isExtensible(aa) && !Object.prototype. hasOwnProperty.call(aa, '__filemeta')) {
281
281
Object .defineProperty (aa , ' __filemeta' , {
282
282
configurable: true ,
283
283
value: {
0 commit comments