zapier-platform-core 17.3.0 → 17.3.1
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.
|
@@ -5,9 +5,14 @@ let _appRaw;
|
|
|
5
5
|
try {
|
|
6
6
|
_appRaw = await import('{REPLACE_ME_PACKAGE_NAME}');
|
|
7
7
|
} catch (err) {
|
|
8
|
-
if (
|
|
9
|
-
err.
|
|
10
|
-
|
|
8
|
+
if (
|
|
9
|
+
err.code === 'ERR_MODULE_NOT_FOUND' &&
|
|
10
|
+
err.message?.includes('{REPLACE_ME_PACKAGE_NAME}')
|
|
11
|
+
) {
|
|
12
|
+
err.message =
|
|
13
|
+
'It seems you are using ESM because your package.json has `"type": "module"`. ' +
|
|
14
|
+
'For ESM to work, make sure you specify a valid entry point using `exports` (instead of `main`) in package.json.\n\n' +
|
|
15
|
+
err.message;
|
|
11
16
|
}
|
|
12
17
|
throw err;
|
|
13
18
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zapier-platform-core",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.1",
|
|
4
4
|
"description": "The core SDK for CLI apps in the Zapier Developer Platform.",
|
|
5
5
|
"repository": "zapier/zapier-platform",
|
|
6
6
|
"homepage": "https://platform.zapier.com/",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"node-fetch": "2.7.0",
|
|
64
64
|
"oauth-sign": "0.9.0",
|
|
65
65
|
"semver": "7.7.1",
|
|
66
|
-
"zapier-platform-schema": "17.3.
|
|
66
|
+
"zapier-platform-schema": "17.3.1"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@types/node-fetch": "^2.6.11",
|