balm-core 4.5.1 → 4.5.2

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/lib/balm.js CHANGED
@@ -56,7 +56,7 @@ class Balm {
56
56
  if (BalmJS.utils.isFunction(recipe)) {
57
57
  registerTasks(recipe);
58
58
  } else {
59
- BalmJS.logger.error('initialization', 'BalmJS API: `balm.go(function(mix) {});`');
59
+ BalmJS.logger.error('initialization', 'BalmJS API: `balm.go(mix => {});`');
60
60
  }
61
61
  }
62
62
 
@@ -1,6 +1,5 @@
1
- import TerserPlugin from 'terser-webpack-plugin'; // import CssMinimizerPlugin from 'css-minimizer-webpack-plugin';
1
+ import TerserPlugin from 'terser-webpack-plugin';
2
2
  // import MiniCssExtractPlugin from 'mini-css-extract-plugin';
3
-
4
3
  import webpackBundleAnalyzer from 'webpack-bundle-analyzer';
5
4
  import { merge } from 'webpack-merge';
6
5
  import getCommonConfig from './common.js'; // import { CHUNK } from '../../../config/constants.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "balm-core",
3
- "version": "4.5.1",
3
+ "version": "4.5.2",
4
4
  "description": "BalmJS compiler core",
5
5
  "keywords": [
6
6
  "balm",
@@ -48,9 +48,10 @@
48
48
  "browser-sync": "^2.27.9",
49
49
  "connect-history-api-fallback": "^1.6.0",
50
50
  "css-loader": "^6.7.1",
51
+ "css-minimizer-webpack-plugin": "^3.4.1",
51
52
  "cssnano": "^5.1.7",
52
53
  "del": "^6.0.0",
53
- "esbuild": "^0.14",
54
+ "esbuild": "^0.14.0",
54
55
  "fancy-log": "^2.0.0",
55
56
  "gulp-eslint": "^6.0.0",
56
57
  "gulp-if": "^3.0.0",
@@ -101,7 +102,7 @@
101
102
  "workbox-build": "^6.5.2"
102
103
  },
103
104
  "devDependencies": {
104
- "@swc/core": "^1.2",
105
+ "@swc/core": "^1.2.0",
105
106
  "@types/express": "^4.17.13",
106
107
  "@types/node": "^17.0.23",
107
108
  "@types/uglify-js": "^3.13.1",
@@ -113,8 +114,11 @@
113
114
  "imagemin-optipng": "^8.0.0",
114
115
  "imagemin-svgo": "^9.0.0"
115
116
  },
117
+ "resolutions": {
118
+ "ajv": "^8.0.0"
119
+ },
116
120
  "engines": {
117
121
  "node": ">=12.13.0"
118
122
  },
119
- "gitHead": "6641609950e3785af7759b38161759896e0ab48d"
123
+ "gitHead": "3f7e99d1cafc6868d2437975e1817c8ba26de24e"
120
124
  }
package/tslib/balm.js CHANGED
@@ -31,7 +31,7 @@ class Balm {
31
31
  registerTasks(recipe);
32
32
  }
33
33
  else {
34
- BalmJS.logger.error('initialization', 'BalmJS API: `balm.go(function(mix) {});`');
34
+ BalmJS.logger.error('initialization', 'BalmJS API: `balm.go(mix => {});`');
35
35
  }
36
36
  }
37
37
  reset() {