@unocss/preset-icons 0.30.2 → 0.30.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.
package/dist/index.cjs CHANGED
@@ -6,7 +6,7 @@ const core = require('@unocss/core');
6
6
  const utils = require('@iconify/utils');
7
7
  const encodeSvgForCss = require('@iconify/utils/lib/svg/encode-svg-for-css');
8
8
 
9
- const isNode = typeof process < "u" && typeof process.stdout < "u";
9
+ const isNode = typeof process < "u" && typeof process.stdout < "u" && !process.versions.deno;
10
10
  const isVSCode = isNode && !!process.env.VSCODE_CWD;
11
11
 
12
12
  const COLLECTION_NAME_PARTS_MAX = 3;
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { warnOnce } from '@unocss/core';
2
2
  import { loadIcon } from '@iconify/utils';
3
3
  import { encodeSvgForCss } from '@iconify/utils/lib/svg/encode-svg-for-css';
4
4
 
5
- const isNode = typeof process < "u" && typeof process.stdout < "u";
5
+ const isNode = typeof process < "u" && typeof process.stdout < "u" && !process.versions.deno;
6
6
  const isVSCode = isNode && !!process.env.VSCODE_CWD;
7
7
 
8
8
  const COLLECTION_NAME_PARTS_MAX = 3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/preset-icons",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
4
4
  "description": "Pure CSS Icons for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -38,7 +38,7 @@
38
38
  "sideEffects": false,
39
39
  "dependencies": {
40
40
  "@iconify/utils": "^1.0.30",
41
- "@unocss/core": "0.30.2"
41
+ "@unocss/core": "0.30.3"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@iconify/types": "^1.1.0"