From 1f60e95d812032ab007db64bee6086ff5ffb8214 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Wed, 24 Apr 2024 20:32:31 +0000 Subject: [PATCH] chore(release): 1.0.0-alpha.10 [skip ci] # [1.0.0-alpha.10](https://github.com/tenantcloud/template-sync/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2024-04-24) ### Bug Fixes * Dynamic import when compiled with ncc ([e79693d](https://github.com/tenantcloud/template-sync/commit/e79693d23083d40d240e8f5afa73364648cc3f3f)) --- CHANGELOG.md | 7 +++++++ dist/github-action/index.js | 28 +++------------------------- 2 files changed, 10 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 450f8d9..a506a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# [1.0.0-alpha.10](https://github.com/tenantcloud/template-sync/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2024-04-24) + + +### Bug Fixes + +* Dynamic import when compiled with ncc ([e79693d](https://github.com/tenantcloud/template-sync/commit/e79693d23083d40d240e8f5afa73364648cc3f3f)) + # [1.0.0-alpha.9](https://github.com/tenantcloud/template-sync/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2024-04-24) diff --git a/dist/github-action/index.js b/dist/github-action/index.js index 3a46c84..435b1ca 100644 --- a/dist/github-action/index.js +++ b/dist/github-action/index.js @@ -41491,25 +41491,6 @@ exports["default"] = _default; /***/ }), -/***/ 2752: -/***/ ((module) => { - -function webpackEmptyAsyncContext(req) { - // Here Promise.resolve().then() is used instead of new Promise() to prevent - // uncaught exception popping up in devtools - return Promise.resolve().then(() => { - var e = new Error("Cannot find module '" + req + "'"); - e.code = 'MODULE_NOT_FOUND'; - throw e; - }); -} -webpackEmptyAsyncContext.keys = () => ([]); -webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; -webpackEmptyAsyncContext.id = 2752; -module.exports = webpackEmptyAsyncContext; - -/***/ }), - /***/ 9491: /***/ ((module) => { @@ -43366,11 +43347,6 @@ module.exports = parseParams /******/ } /******/ /************************************************************************/ -/******/ /* webpack/runtime/hasOwnProperty shorthand */ -/******/ (() => { -/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) -/******/ })(); -/******/ /******/ /* webpack/runtime/compat */ /******/ /******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/) ? 1 : 0, -1) + "/"; @@ -52395,7 +52371,9 @@ async function loadPluginFactory(name, repositoryRoot) { // First check if this is a local .js file const localPath = (0,external_path_.resolve)(repositoryRoot, name); const importPath = (await (0,lib.pathExists)(localPath)) ? localPath : name; - return (await __nccwpck_require__(2752)(importPath)).default; + // See: https://github.com/vercel/ncc/issues/935 + const _import = new Function("p", "return import(p)"); + return (await _import(importPath)).default; } ;// CONCATENATED MODULE: external "node:process"