@tarojs/service 4.0.12 → 4.0.13-alpha.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.
Files changed (2) hide show
  1. package/dist/Kernel.js +1 -1
  2. package/package.json +5 -5
package/dist/Kernel.js CHANGED
@@ -250,7 +250,7 @@ class Kernel extends node_events_1.EventEmitter {
250
250
  before: hook.before
251
251
  }, (arg) => __awaiter(this, void 0, void 0, function* () {
252
252
  const res = yield hook.fn(opts, arg);
253
- if (constants_1.IS_MODIFY_HOOK.test(name) && constants_1.IS_EVENT_HOOK.test(name)) {
253
+ if (constants_1.IS_MODIFY_HOOK.test(name) || constants_1.IS_EVENT_HOOK.test(name)) {
254
254
  return res;
255
255
  }
256
256
  if (constants_1.IS_ADD_HOOK.test(name)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/service",
3
- "version": "4.0.12",
3
+ "version": "4.0.13-alpha.1",
4
4
  "description": "Taro Service",
5
5
  "author": "O2Team",
6
6
  "license": "MIT",
@@ -31,14 +31,14 @@
31
31
  "resolve": "^1.22.8",
32
32
  "tapable": "^2.2.1",
33
33
  "webpack-merge": "^5.10.0",
34
- "@tarojs/helper": "4.0.12",
35
- "@tarojs/shared": "4.0.12",
36
- "@tarojs/runner-utils": "4.0.12"
34
+ "@tarojs/helper": "4.0.13-alpha.1",
35
+ "@tarojs/runner-utils": "4.0.13-alpha.1",
36
+ "@tarojs/shared": "4.0.13-alpha.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "webpack": "^5.91.0",
40
40
  "webpack-chain": "^6.5.1",
41
- "@tarojs/taro": "4.0.12"
41
+ "@tarojs/taro": "4.0.13-alpha.1"
42
42
  },
43
43
  "scripts": {
44
44
  "prod": "pnpm run build",