prettier 2.0.0 → 2.0.4

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/third-party.js CHANGED
@@ -91,7 +91,7 @@ var importFresh = moduleId => {
91
91
 
92
92
  const parent = eval('require').cache[parentPath]; // If `filePath` and `parentPath` are the same, cache will already be deleted so we won't get a memory leak in next step
93
93
 
94
- return parent === undefined ? eval('require')(filePath) : parent.eval('require')(filePath); // In case cache doesn't have parent, fall back to normal require
94
+ return parent === undefined ? eval('require')(filePath) : parent.require(filePath); // In case cache doesn't have parent, fall back to normal require
95
95
  };
96
96
 
97
97
  var isArrayish = function isArrayish(obj) {