Lines Matching refs:exports

71 module.exports = {
254 setOwnProperty(this, 'exports', {});
295 '(function (exports, require, module, __filename, __dirname) { ',
542 if (!pkg || pkg.exports == null || pkg.name === undefined) {
576 * Resolves the exports for a given module path and request.
587 if (pkg.exists && pkg.exports != null) {
879 * Emits a warning when a non-existent property of module exports is accessed inside a circular dependency.
884 `Accessing non-existent property '${String(prop)}' of module exports ` +
889 // A Proxy that can be used as the prototype of a module.exports object and
897 // ES module, and is not used as a regular key of `module.exports`.
913 * Returns the exports object for a module that has a circular `require`.
914 * If the exports object is a plain object, it is wrapped in a proxy that warns
919 if (module.exports &&
920 !isProxy(module.exports) &&
921 ObjectGetPrototypeOf(module.exports) === ObjectPrototype &&
923 // employ unusual patterns for accessing 'module.exports'. That should
926 !module.exports.__esModule) {
929 module.exports, CircularRequirePrototypeWarningProxy);
932 return module.exports;
937 * 1. If a module already exists in the cache: return its exports object.
939 * `BuiltinModule.prototype.compileForPublicLoader()` and return the exports.
941 * Then have it load the file contents before returning its exports object.
963 return cachedModule.exports;
978 return module.exports;
992 return cachedModule.exports;
998 return mod.exports;
1034 } else if (module.exports &&
1035 !isProxy(module.exports) &&
1036 ObjectGetPrototypeOf(module.exports) ===
1038 ObjectSetPrototypeOf(module.exports, ObjectPrototype);
1042 return module.exports;
1207 // Create module entry at load time to snapshot exports correctly
1208 const exports = this.exports;
1213 cascadedLoader.cjsCache.set(this, exports);
1218 * Loads a module at the given file path. Returns that module's `exports` property.
1281 const params = [ 'exports', 'require', 'module', '__filename', '__dirname' ];
1314 * `exports`) to the file. Returns exception, if any.
1356 const exports = this.exports;
1357 const thisValue = exports;
1361 result = inspectorWrapper(compiledWrapper, thisValue, exports,
1365 [exports, require, module, filename, dirname]);
1440 setOwnProperty(module, 'exports', JSONParse(stripBOM(content)));