@xfe-repo/mini-utils 0.0.2 → 0.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.
@@ -100,7 +100,7 @@ function removeLocalData2(key) {
100
100
  }
101
101
 
102
102
  // src/storage.ts
103
- __reExport(storage_exports, require("querystring"));
103
+ __reExport(storage_exports, require("query-string"));
104
104
  var platform = process.env.TARO_ENV || "weapp";
105
105
  var isWeapp = platform === "weapp";
106
106
  var getLocalData3 = isWeapp ? getLocalData2 : getLocalData;
package/dist/env.js CHANGED
@@ -84,7 +84,7 @@ function removeLocalData2(key) {
84
84
  }
85
85
 
86
86
  // src/storage.ts
87
- __reExport(storage_exports, require("querystring"));
87
+ __reExport(storage_exports, require("query-string"));
88
88
  var platform = process.env.TARO_ENV || "weapp";
89
89
  var isWeapp = platform === "weapp";
90
90
  var getLocalData3 = isWeapp ? getLocalData2 : getLocalData;
package/dist/storage.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { setLocalData as setLocalData$1 } from './storage.h5.js';
2
2
  import { getLocalData as getLocalData$1, removeLocalData as removeLocalData$1 } from './storage.weapp.js';
3
- export * from 'querystring';
3
+ export * from 'query-string';
4
4
 
5
5
  declare const platform: string;
6
6
  declare const getLocalData: typeof getLocalData$1;
package/dist/storage.js CHANGED
@@ -66,7 +66,7 @@ function removeLocalData2(key) {
66
66
  }
67
67
 
68
68
  // src/storage.ts
69
- __reExport(storage_exports, require("querystring"), module.exports);
69
+ __reExport(storage_exports, require("query-string"), module.exports);
70
70
  var platform = process.env.TARO_ENV || "weapp";
71
71
  var isWeapp = platform === "weapp";
72
72
  var getLocalData3 = isWeapp ? getLocalData2 : getLocalData;
@@ -78,5 +78,5 @@ var removeLocalData3 = isWeapp ? removeLocalData2 : removeLocalData;
78
78
  platform,
79
79
  removeLocalData,
80
80
  setLocalData,
81
- ...require("querystring")
81
+ ...require("query-string")
82
82
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfe-repo/mini-utils",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "sideEffects": false,
5
5
  "module": "dist/*.js",
6
6
  "types": "types/*.d.ts",
@@ -28,8 +28,8 @@
28
28
  "devDependencies": {
29
29
  "@types/js-cookie": "^3.0.6",
30
30
  "@types/node": "^20.10.3",
31
- "@xfe-repo/eslint-config": "0.0.5",
32
- "@xfe-repo/typescript-config": "0.0.6"
31
+ "@xfe-repo/typescript-config": "0.0.6",
32
+ "@xfe-repo/eslint-config": "0.0.5"
33
33
  },
34
34
  "publishConfig": {
35
35
  "registry": "https://registry.npmjs.org/"