@tarojs/service 3.4.0 → 3.4.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/dist/Config.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const path = require("path");
4
4
  const fs = require("fs-extra");
5
- const lodash_1 = require("lodash");
5
+ const merge = require("webpack-merge");
6
6
  const helper_1 = require("@tarojs/helper");
7
7
  const constants_1 = require("./utils/constants");
8
8
  class Config {
@@ -23,7 +23,7 @@ class Config {
23
23
  ]
24
24
  });
25
25
  try {
26
- this.initialConfig = helper_1.getModuleDefaultExport(require(this.configPath))(lodash_1.merge);
26
+ this.initialConfig = helper_1.getModuleDefaultExport(require(this.configPath))(merge);
27
27
  this.isInitSuccess = true;
28
28
  }
29
29
  catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/service",
3
- "version": "3.4.0",
3
+ "version": "3.4.3",
4
4
  "description": "Taro Service",
5
5
  "main": "index.js",
6
6
  "types": "types/index.d.ts",
@@ -34,13 +34,14 @@
34
34
  "homepage": "https://github.com/NervJS/taro#readme",
35
35
  "dependencies": {
36
36
  "@hapi/joi": "17.1.1",
37
- "@tarojs/helper": "3.4.0",
38
- "@tarojs/shared": "3.4.0",
39
- "@tarojs/taro": "3.4.0",
37
+ "@tarojs/helper": "3.4.3",
38
+ "@tarojs/shared": "3.4.3",
39
+ "@tarojs/taro": "3.4.3",
40
40
  "fs-extra": "^8.0.1",
41
41
  "lodash": "^4.17.21",
42
42
  "resolve": "^1.6.0",
43
- "tapable": "^1.1.3"
43
+ "tapable": "^1.1.3",
44
+ "webpack-merge": "^4.2.2"
44
45
  },
45
- "gitHead": "a0e97bc937f878cc059f54748c9a3829fa3f4664"
46
+ "gitHead": "de55da7a845e9c09ba65528e74c7310e5082c2d5"
46
47
  }
package/src/Config.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as path from 'path'
2
2
  import * as fs from 'fs-extra'
3
3
 
4
- import { merge } from 'lodash'
4
+ import * as merge from 'webpack-merge'
5
5
  import { IProjectConfig } from '@tarojs/taro/types/compile'
6
6
  import {
7
7
  SOURCE_DIR,