@plumeria/unplugin 18.2.32 → 18.2.34

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/core.js CHANGED
@@ -958,7 +958,9 @@ const unpluginFactory = (options = {}, unpluginMeta) => {
958
958
  given.set(String(prop.key.value), prop.value);
959
959
  }
960
960
  });
961
- const argObj = resolveObjectArg(argExpr) ?? {};
961
+ const argObj = argExpr
962
+ ? (resolveObjectArg(argExpr) ?? {})
963
+ : {};
962
964
  func.named.forEach(({ key, local }) => {
963
965
  const source = given.get(key);
964
966
  if (!source) {
package/dist/core.mjs CHANGED
@@ -922,7 +922,9 @@ export const unpluginFactory = (options = {}, unpluginMeta) => {
922
922
  given.set(String(prop.key.value), prop.value);
923
923
  }
924
924
  });
925
- const argObj = resolveObjectArg(argExpr) ?? {};
925
+ const argObj = argExpr
926
+ ? (resolveObjectArg(argExpr) ?? {})
927
+ : {};
926
928
  func.named.forEach(({ key, local }) => {
927
929
  const source = given.get(key);
928
930
  if (!source) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/unplugin",
3
- "version": "18.2.32",
3
+ "version": "18.2.34",
4
4
  "description": "Universal Plumeria plugin for various build tools",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",
@@ -89,7 +89,7 @@
89
89
  "dependencies": {
90
90
  "@rollup/pluginutils": "^5.4.0",
91
91
  "unplugin": "^3.0.0",
92
- "@plumeria/utils": "^18.2.32"
92
+ "@plumeria/utils": "^18.2.34"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@swc/core": "1.15.47",