unocss 0.58.2 → 0.58.4

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/index.cjs CHANGED
@@ -47,5 +47,8 @@ exports.transformerCompileClass = transformerCompileClass__default;
47
47
  exports.transformerAttributifyJsx = transformerAttributifyJsx__default;
48
48
  exports.defineConfig = defineConfig;
49
49
  Object.keys(core).forEach(function (k) {
50
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k];
50
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
51
+ enumerable: true,
52
+ value: core[k]
53
+ }) : exports[k] = core[k];
51
54
  });
@@ -12,5 +12,8 @@ const presetAttributify__default = /*#__PURE__*/_interopDefaultCompat(presetAttr
12
12
 
13
13
  exports.default = presetAttributify__default;
14
14
  Object.keys(presetAttributify).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetAttributify[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetAttributify[k]
18
+ }) : exports[k] = presetAttributify[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetIcons__default = /*#__PURE__*/_interopDefaultCompat(presetIcons);
12
12
 
13
13
  exports.default = presetIcons__default;
14
14
  Object.keys(presetIcons).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetIcons[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetIcons[k]
18
+ }) : exports[k] = presetIcons[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetMini__default = /*#__PURE__*/_interopDefaultCompat(presetMini);
12
12
 
13
13
  exports.default = presetMini__default;
14
14
  Object.keys(presetMini).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetMini[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetMini[k]
18
+ }) : exports[k] = presetMini[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetTagify__default = /*#__PURE__*/_interopDefaultCompat(presetTagify);
12
12
 
13
13
  exports.default = presetTagify__default;
14
14
  Object.keys(presetTagify).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTagify[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetTagify[k]
18
+ }) : exports[k] = presetTagify[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetTypography__default = /*#__PURE__*/_interopDefaultCompat(presetTypog
12
12
 
13
13
  exports.default = presetTypography__default;
14
14
  Object.keys(presetTypography).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetTypography[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetTypography[k]
18
+ }) : exports[k] = presetTypography[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetUno__default = /*#__PURE__*/_interopDefaultCompat(presetUno);
12
12
 
13
13
  exports.default = presetUno__default;
14
14
  Object.keys(presetUno).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetUno[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetUno[k]
18
+ }) : exports[k] = presetUno[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetWebFonts__default = /*#__PURE__*/_interopDefaultCompat(presetWebFont
12
12
 
13
13
  exports.default = presetWebFonts__default;
14
14
  Object.keys(presetWebFonts).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWebFonts[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetWebFonts[k]
18
+ }) : exports[k] = presetWebFonts[k];
16
19
  });
@@ -12,5 +12,8 @@ const presetWind__default = /*#__PURE__*/_interopDefaultCompat(presetWind);
12
12
 
13
13
  exports.default = presetWind__default;
14
14
  Object.keys(presetWind).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = presetWind[k];
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
16
+ enumerable: true,
17
+ value: presetWind[k]
18
+ }) : exports[k] = presetWind[k];
16
19
  });
package/dist/vite.cjs CHANGED
@@ -23,5 +23,8 @@ function UnocssVitePlugin(configOrPath) {
23
23
 
24
24
  exports.default = UnocssVitePlugin;
25
25
  Object.keys(VitePlugin).forEach(function (k) {
26
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = VitePlugin[k];
26
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
27
+ enumerable: true,
28
+ value: VitePlugin[k]
29
+ }) : exports[k] = VitePlugin[k];
27
30
  });
package/dist/webpack.cjs CHANGED
@@ -23,5 +23,8 @@ function UnocssWebpackPlugin(configOrPath) {
23
23
 
24
24
  exports.default = UnocssWebpackPlugin;
25
25
  Object.keys(WebpackPlugin).forEach(function (k) {
26
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = WebpackPlugin[k];
26
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) k === '__proto__' ? Object.defineProperty(exports, k, {
27
+ enumerable: true,
28
+ value: WebpackPlugin[k]
29
+ }) : exports[k] = WebpackPlugin[k];
27
30
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unocss",
3
- "version": "0.58.2",
3
+ "version": "0.58.4",
4
4
  "description": "The instant on-demand Atomic CSS engine.",
5
5
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -104,7 +104,7 @@
104
104
  },
105
105
  "peerDependencies": {
106
106
  "vite": "^2.9.0 || ^3.0.0-0 || ^4.0.0 || ^5.0.0-0",
107
- "@unocss/webpack": "0.58.2"
107
+ "@unocss/webpack": "0.58.4"
108
108
  },
109
109
  "peerDependenciesMeta": {
110
110
  "@unocss/webpack": {
@@ -115,30 +115,30 @@
115
115
  }
116
116
  },
117
117
  "dependencies": {
118
- "@unocss/astro": "0.58.2",
119
- "@unocss/cli": "0.58.2",
120
- "@unocss/core": "0.58.2",
121
- "@unocss/extractor-arbitrary-variants": "0.58.2",
122
- "@unocss/postcss": "0.58.2",
123
- "@unocss/preset-attributify": "0.58.2",
124
- "@unocss/preset-icons": "0.58.2",
125
- "@unocss/preset-mini": "0.58.2",
126
- "@unocss/preset-tagify": "0.58.2",
127
- "@unocss/preset-typography": "0.58.2",
128
- "@unocss/preset-uno": "0.58.2",
129
- "@unocss/preset-web-fonts": "0.58.2",
130
- "@unocss/preset-wind": "0.58.2",
131
- "@unocss/reset": "0.58.2",
132
- "@unocss/transformer-attributify-jsx": "0.58.2",
133
- "@unocss/transformer-attributify-jsx-babel": "0.58.2",
134
- "@unocss/transformer-compile-class": "0.58.2",
135
- "@unocss/transformer-directives": "0.58.2",
136
- "@unocss/transformer-variant-group": "0.58.2",
137
- "@unocss/vite": "0.58.2"
118
+ "@unocss/astro": "0.58.4",
119
+ "@unocss/cli": "0.58.4",
120
+ "@unocss/core": "0.58.4",
121
+ "@unocss/extractor-arbitrary-variants": "0.58.4",
122
+ "@unocss/postcss": "0.58.4",
123
+ "@unocss/preset-attributify": "0.58.4",
124
+ "@unocss/preset-icons": "0.58.4",
125
+ "@unocss/preset-mini": "0.58.4",
126
+ "@unocss/preset-tagify": "0.58.4",
127
+ "@unocss/preset-typography": "0.58.4",
128
+ "@unocss/preset-uno": "0.58.4",
129
+ "@unocss/preset-web-fonts": "0.58.4",
130
+ "@unocss/preset-wind": "0.58.4",
131
+ "@unocss/reset": "0.58.4",
132
+ "@unocss/transformer-attributify-jsx": "0.58.4",
133
+ "@unocss/transformer-attributify-jsx-babel": "0.58.4",
134
+ "@unocss/transformer-compile-class": "0.58.4",
135
+ "@unocss/transformer-directives": "0.58.4",
136
+ "@unocss/transformer-variant-group": "0.58.4",
137
+ "@unocss/vite": "0.58.4"
138
138
  },
139
139
  "devDependencies": {
140
- "vite": "^5.0.10",
141
- "@unocss/webpack": "0.58.2"
140
+ "vite": "^5.0.12",
141
+ "@unocss/webpack": "0.58.4"
142
142
  },
143
143
  "scripts": {
144
144
  "build": "unbuild",