@weapp-tailwindcss/runtime 0.1.4 → 0.1.5

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/index.mjs +3 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -15,9 +15,9 @@ function mergeWithDefaultMap(map) {
15
15
  };
16
16
  }
17
17
  function resolveSharedMap(options) {
18
- const { escape: escape$1, unescape: unescape$1 } = options ?? {};
19
- if (isConfig(escape$1) && escape$1.map) return mergeWithDefaultMap(escape$1.map);
20
- if (isConfig(unescape$1) && unescape$1.map) return mergeWithDefaultMap(unescape$1.map);
18
+ const { escape, unescape } = options ?? {};
19
+ if (isConfig(escape) && escape.map) return mergeWithDefaultMap(escape.map);
20
+ if (isConfig(unescape) && unescape.map) return mergeWithDefaultMap(unescape.map);
21
21
  return MappingChars2String;
22
22
  }
23
23
  function resolveTransformers(options) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/runtime",
3
3
  "type": "module",
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "description": "Shared runtime helpers (transformers, clsx wrappers, metadata) for weapp-tailwindcss 在小程序运行时的适配层。",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@weapp-core/escape": "^6.0.1",
49
+ "@weapp-core/escape": "^7.0.0",
50
50
  "clsx": "^2.1.1"
51
51
  },
52
52
  "scripts": {