@unocss/preset-attributify 65.4.2 → 65.5.0

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 +3 -3
package/dist/index.mjs CHANGED
@@ -91,7 +91,7 @@ function autocompleteExtractorAttributify(options) {
91
91
  if (options?.prefixedOnly && !hasPrefix)
92
92
  return null;
93
93
  const attrNameWithoutPrefix = hasPrefix ? attrName.slice(options.prefix.length) : attrName;
94
- if (attrValues === undefined) {
94
+ if (attrValues === void 0) {
95
95
  return {
96
96
  extracted: attrNameWithoutPrefix,
97
97
  resolveReplacement(suggestion) {
@@ -117,7 +117,7 @@ function autocompleteExtractorAttributify(options) {
117
117
  currentPos += matchSplit.index + matched.length;
118
118
  matchSplit = splitterRE$1.exec(attrValues.slice(currentPos));
119
119
  }
120
- if (value === undefined)
120
+ if (value === void 0)
121
121
  value = attrValues.slice(currentPos);
122
122
  const [, variants = "", body] = value.match(variantsRE) || [];
123
123
  return {
@@ -210,7 +210,7 @@ const presetAttributify = definePreset((options = {}) => {
210
210
  autocomplete: {
211
211
  extractors: autocompleteExtractors
212
212
  },
213
- extractorDefault: options.strict ? false : undefined
213
+ extractorDefault: options.strict ? false : void 0
214
214
  };
215
215
  });
216
216
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-attributify",
3
3
  "type": "module",
4
- "version": "65.4.2",
4
+ "version": "65.5.0",
5
5
  "description": "Attributify preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "homepage": "https://unocss.dev",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/unocss/unocss",
12
+ "url": "git+https://github.com/unocss/unocss",
13
13
  "directory": "packages-presets/preset-attributify"
14
14
  },
15
15
  "bugs": {
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@unocss/core": "65.4.2"
36
+ "@unocss/core": "65.5.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "unbuild",