@@ -2427,7 +2427,7 @@ exports.request = request;
2427
2427
/***/ } ) ,
2428
2428
2429
2429
/***/ 272 :
2430
- /***/ ( function ( __unusedmodule , __webpack_exports__ , __webpack_require__ ) {
2430
+ /***/ ( function ( module , __webpack_exports__ , __webpack_require__ ) {
2431
2431
2432
2432
"use strict" ;
2433
2433
__webpack_require__ . r ( __webpack_exports__ ) ;
@@ -2455,13 +2455,20 @@ function callAsyncFunction(args, source) {
2455
2455
var external_path_ = __webpack_require__ ( 622 ) ;
2456
2456
2457
2457
// CONCATENATED MODULE: ./src/wrap-require.ts
2458
+ /* module decorator */ module = __webpack_require__ . hmd ( module ) ;
2458
2459
2459
2460
const wrapRequire = new Proxy ( require , {
2460
2461
apply : ( target , thisArg , [ moduleID ] ) => {
2461
2462
if ( moduleID . startsWith ( '.' ) ) {
2462
2463
moduleID = Object ( external_path_ . join ) ( process . cwd ( ) , moduleID ) ;
2464
+ return target . apply ( thisArg , [ moduleID ] ) ;
2465
+ }
2466
+ try {
2467
+ return target . apply ( thisArg , [ moduleID ] ) ;
2468
+ }
2469
+ catch ( err ) {
2470
+ return target . resolve ( moduleID , { paths : [ ...module . paths , process . cwd ( ) ] } ) ;
2463
2471
}
2464
- return target . apply ( thisArg , [ moduleID ] ) ;
2465
2472
} ,
2466
2473
get : ( target , prop , receiver ) => {
2467
2474
Reflect . get ( target , prop , receiver ) ;
@@ -2494,7 +2501,7 @@ async function main() {
2494
2501
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
2495
2502
const result = await callAsyncFunction ( {
2496
2503
require : wrapRequire ,
2497
- nativeRequire : require ,
2504
+ __original_require__ : require ,
2498
2505
github,
2499
2506
context : lib_github . context ,
2500
2507
core : core ,
@@ -8803,5 +8810,28 @@ function regExpEscape (s) {
8803
8810
/******/ } ;
8804
8811
/******/ } ( ) ;
8805
8812
/******/
8813
+ /******/ /* webpack/runtime/harmony module decorator */
8814
+ /******/ ! function ( ) {
8815
+ /******/ __webpack_require__ . hmd = function ( module ) {
8816
+ /******/ module = Object . create ( module ) ;
8817
+ /******/ if ( ! module . children ) module . children = [ ] ;
8818
+ /******/ Object . defineProperty ( module , 'loaded' , {
8819
+ /******/ enumerable : true ,
8820
+ /******/ get : function ( ) { return module . l ; }
8821
+ /******/ } ) ;
8822
+ /******/ Object . defineProperty ( module , 'id' , {
8823
+ /******/ enumerable : true ,
8824
+ /******/ get : function ( ) { return module . i ; }
8825
+ /******/ } ) ;
8826
+ /******/ Object . defineProperty ( module , 'exports' , {
8827
+ /******/ enumerable : true ,
8828
+ /******/ set : function ( ) {
8829
+ /******/ throw new Error ( 'ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module . id ) ;
8830
+ /******/ }
8831
+ /******/ } ) ;
8832
+ /******/ return module ;
8833
+ /******/ } ;
8834
+ /******/ } ( ) ;
8835
+ /******/
8806
8836
/******/ }
8807
8837
) ;
0 commit comments