@adobe/helix-deploy 11.0.1 → 11.0.3

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [11.0.3](https://github.com/adobe/helix-deploy/compare/v11.0.2...v11.0.3) (2024-02-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update external fixes ([#665](https://github.com/adobe/helix-deploy/issues/665)) ([1fec718](https://github.com/adobe/helix-deploy/commit/1fec7181abb4d189df5189e3d886672e06fda653))
7
+
8
+ ## [11.0.2](https://github.com/adobe/helix-deploy/compare/v11.0.1...v11.0.2) (2024-02-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * remove condition names ([#662](https://github.com/adobe/helix-deploy/issues/662)) ([f5a7b30](https://github.com/adobe/helix-deploy/commit/f5a7b302fb60f3bde9b4274d663e1d968b469099))
14
+
1
15
  ## [11.0.1](https://github.com/adobe/helix-deploy/compare/v11.0.0...v11.0.1) (2024-02-03)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "11.0.1",
3
+ "version": "11.0.3",
4
4
  "description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/adobe/helix-deploy#readme",
@@ -40,14 +40,14 @@
40
40
  "@adobe/fastly-native-promises": "3.0.6",
41
41
  "@adobe/fetch": "4.1.1",
42
42
  "@adobe/helix-shared-process-queue": "3.0.1",
43
- "@aws-sdk/client-apigatewayv2": "3.504.0",
44
- "@aws-sdk/client-lambda": "3.504.0",
45
- "@aws-sdk/client-s3": "3.504.0",
46
- "@aws-sdk/client-secrets-manager": "3.504.0",
47
- "@aws-sdk/client-ssm": "3.504.0",
48
- "@aws-sdk/client-sts": "3.504.0",
43
+ "@aws-sdk/client-apigatewayv2": "3.511.0",
44
+ "@aws-sdk/client-lambda": "3.511.0",
45
+ "@aws-sdk/client-s3": "3.511.0",
46
+ "@aws-sdk/client-secrets-manager": "3.511.0",
47
+ "@aws-sdk/client-ssm": "3.511.0",
48
+ "@aws-sdk/client-sts": "3.511.0",
49
49
  "@fastly/js-compute": "3.8.2",
50
- "@google-cloud/functions": "3.0.1",
50
+ "@google-cloud/functions": "3.1.0",
51
51
  "@google-cloud/secret-manager": "5.0.1",
52
52
  "@google-cloud/storage": "7.7.0",
53
53
  "@rollup/plugin-alias": "5.1.0",
@@ -58,12 +58,12 @@
58
58
  "archiver": "6.0.1",
59
59
  "chalk-template": "1.1.0",
60
60
  "constants-browserify": "1.0.0",
61
- "dotenv": "16.4.1",
61
+ "dotenv": "16.4.2",
62
62
  "form-data": "4.0.0",
63
63
  "fs-extra": "11.2.0",
64
64
  "isomorphic-git": "1.25.3",
65
65
  "openwhisk": "3.21.8",
66
- "semver": "7.5.4",
66
+ "semver": "7.6.0",
67
67
  "tar": "6.2.0",
68
68
  "webpack": "5.90.1",
69
69
  "yargs": "17.7.2"
@@ -77,8 +77,8 @@
77
77
  "c8": "9.1.0",
78
78
  "eslint": "8.56.0",
79
79
  "husky": "9.0.10",
80
- "lint-staged": "15.2.1",
81
- "mocha": "10.2.0",
80
+ "lint-staged": "15.2.2",
81
+ "mocha": "10.3.0",
82
82
  "mocha-junit-reporter": "2.2.1",
83
83
  "mocha-multi-reporters": "1.5.1",
84
84
  "nock": "13.5.1",
@@ -33,7 +33,7 @@ export default class WebpackBundler extends BaseBundler {
33
33
  const { cfg } = this;
34
34
  const opts = {
35
35
  target: 'node',
36
- mode: 'development',
36
+ mode: 'production',
37
37
  // the universal adapter is the entry point
38
38
  entry: cfg.adapterFile || path.resolve(__dirname, '..', 'template', 'node-index.js'),
39
39
  context: cfg.cwd,
@@ -79,9 +79,15 @@ export default class WebpackBundler extends BaseBundler {
79
79
  // the main.js is imported in the universal adapter and is _the_ action entry point
80
80
  './main.js': cfg.file,
81
81
  },
82
- // use fixed conditions to omit the `development` condition.
83
- // see: https://webpack.js.org/guides/package-exports/#conditions
84
- conditionNames: ['node', 'require', 'import', 'module'],
82
+ },
83
+ optimization: {
84
+ // we enable production mode in order to get the correct imports (eg micromark has special
85
+ // export condition for 'development'). but we disable minimize and keep named modules
86
+ // in order to easier match log errors to the bundle
87
+ minimize: false,
88
+ concatenateModules: false,
89
+ mangleExports: false,
90
+ moduleIds: 'named',
85
91
  },
86
92
  node: {
87
93
  __dirname: true,