@quasar/icongenie 3.1.0 → 3.1.1

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.
@@ -2,5 +2,8 @@
2
2
  import { readFileSync } from 'node:fs'
3
3
 
4
4
  export const packageJson = JSON.parse(
5
- readFileSync(new URL('../../package.json', import.meta.url), 'utf-8')
5
+ readFileSync(
6
+ new URL('../../package.json', import.meta.url),
7
+ 'utf-8'
8
+ )
6
9
  )
@@ -1,6 +1,7 @@
1
1
 
2
2
  import { existsSync, lstatSync } from 'node:fs'
3
3
  import { resolve, normalize, isAbsolute } from 'node:path'
4
+ import { fileURLToPath } from 'node:url'
4
5
  import untildify from 'untildify'
5
6
 
6
7
  import { getPngSize } from './get-png-size.js'
@@ -149,7 +150,9 @@ function icon (value, argv) {
149
150
  if (!value) {
150
151
  warn(`No source icon file specified, so using the sample one`)
151
152
  argv.icon = normalize(
152
- new URL('../../samples/icongenie-icon.png', import.meta.url).pathname
153
+ fileURLToPath(
154
+ new URL('../../samples/icongenie-icon.png', import.meta.url)
155
+ )
153
156
  )
154
157
  return
155
158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quasar/icongenie",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "A Quasar tool for generating all your Quasar App's icons and splashscreens",
5
5
  "bin": {
6
6
  "icongenie": "./bin/icongenie.js"