8000 Support installed npm modules and relative require by jclem · Pull Request #135 · actions/github-script · GitHub
[go: up one dir, main page]

Skip to content

Support installed npm modules and relative require #135

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Apr 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run build
  • Loading branch information
jclem committed Apr 21, 2021
commit 1f8fc98741b80b5d8436316606e8ecd335165240
28 changes: 2 additions & 26 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@ exports.request = request;
/***/ }),

/***/ 272:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
/***/ (function(__unusedmodule, __webpack_exports__, __webpack_require__) {

"use strict";
__webpack_require__.r(__webpack_exports__);
Expand Down Expand Up @@ -2455,7 +2455,6 @@ function callAsyncFunction(args, source) {
var external_path_ = __webpack_require__(622);

// CONCATENATED MODULE: ./src/wrap-require.ts
/* module decorator */ module = __webpack_require__.hmd(module);

const wrapRequire = new Proxy(require, {
apply: (target, thisArg, [moduleID]) => {
Expand All @@ -2468,7 +2467,7 @@ const wrapRequire = new Proxy(require, {
}
catch (err) {
return target.resolve(moduleID, {
paths: module.paths.concat(process.cwd())
paths: global.module.paths.concat(process.cwd())
});
}
},
Expand Down Expand Up @@ -8812,28 +8811,5 @@ function regExpEscape (s) {
/******/ };
/******/ }();
/******/
/******/ /* webpack/runtime/harmony module decorator */
/******/ !function() {
/******/ __webpack_require__.hmd = function(module) {
/******/ module = Object.create(module);
/******/ if (!module.children) module.children = [];
/******/ Object.defineProperty(module, 'loaded', {
/******/ enumerable: true,
/******/ get: function () { return module.l; }
/******/ });
/******/ Object.defineProperty(module, 'id', {
/******/ enumerable: true,
/******/ get: function () { return module.i; }
/******/ });
/******/ Object.defineProperty(module, 'exports', {
/******/ enumerable: true,
/******/ set: function () {
/******/ throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);
/******/ }
/******/ });
/******/ return module;
/******/ };
/******/ }();
/******/
/******/ }
);
0