icon-gen
Advanced tools
Comparing version 1.2.0 to 1.2.1
# ChangeLog | ||
## v1.2.1 | ||
### Changes | ||
* Support Node 9 [#87](https://github.com/akabekobeko/npm-icon-gen/issues/87) | ||
## v1.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -19,3 +19,3 @@ 'use strict'; | ||
var _pngjs = require('pngjs'); | ||
var _pngjsNozlib = require('pngjs-nozlib'); | ||
@@ -220,3 +220,3 @@ var _rle = require('./rle.js'); | ||
const png = _pngjs.PNG.sync.read(data); | ||
const png = _pngjsNozlib.PNG.sync.read(data); | ||
const results = { colors: [], masks: [] }; | ||
@@ -223,0 +223,0 @@ const r = []; |
@@ -19,3 +19,3 @@ 'use strict'; | ||
var _pngjs = require('pngjs'); | ||
var _pngjsNozlib = require('pngjs-nozlib'); | ||
@@ -85,3 +85,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
const data = _fs2.default.readFileSync(image.path); | ||
return _pngjs.PNG.sync.read(data); | ||
return _pngjsNozlib.PNG.sync.read(data); | ||
}); | ||
@@ -88,0 +88,0 @@ |
@@ -63,3 +63,3 @@ 'use strict'; | ||
const destDirPath = _path2.default.resolve(dir); | ||
logger.log('Icon generetor from SVG:'); | ||
logger.log('Icon generator from SVG:'); | ||
logger.log(' src: ' + svgFilePath); | ||
@@ -66,0 +66,0 @@ logger.log(' dir: ' + destDirPath); |
{ | ||
"name": "icon-gen", | ||
"description": "Generate an icon files from the SVG or PNG files", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": "akabeko (http://akabeko.me/)", | ||
@@ -31,3 +31,3 @@ "license": "MIT", | ||
"source": "./src", | ||
"destination": "./esdoc", | ||
"destination": "./docs", | ||
"plugins": [ | ||
@@ -75,5 +75,5 @@ { | ||
"mkdirp": "^0.5.1", | ||
"pngjs": "^3.3.1", | ||
"pngjs-nozlib": "^1.0.0", | ||
"svg2png": "4.1.1", | ||
"uuid": "^3.1.0" | ||
"uuid": "^3.2.1" | ||
}, | ||
@@ -83,15 +83,15 @@ "devDependencies": { | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-power-assert": "^1.0.0", | ||
"babel-preset-power-assert": "^2.0.0", | ||
"babel-register": "^6.26.0", | ||
"esdoc": "^1.0.4", | ||
"esdoc-standard-plugin": "^1.0.0", | ||
"eslint": "^4.11.0", | ||
"eslint-config-standard": "^10.2.1", | ||
"eslint-plugin-import": "^2.8.0", | ||
"eslint-plugin-node": "^5.2.1", | ||
"eslint-plugin-promise": "^3.6.0", | ||
"eslint": "^4.19.1", | ||
"eslint-config-standard": "^11.0.0", | ||
"eslint-plugin-import": "^2.9.0", | ||
"eslint-plugin-node": "^6.0.1", | ||
"eslint-plugin-promise": "^3.7.0", | ||
"eslint-plugin-standard": "^3.0.1", | ||
"mocha": "^4.0.1", | ||
"mocha": "^5.0.5", | ||
"power-assert": "^1.4.4" | ||
} | ||
} |
@@ -6,3 +6,3 @@ # npm-icon-gen | ||
[![Build Status](https://travis-ci.org/akabekobeko/npm-icon-gen.svg?branch=master)](https://travis-ci.org/akabekobeko/npm-icon-gen) | ||
[![Document](https://doc.esdoc.org/github.com/akabekobeko/npm-icon-gen/badge.svg?t=0)](https://doc.esdoc.org/github.com/akabekobeko/npm-icon-gen) | ||
[![Document](https://img.shields.io/badge/document-ESDoc-brightgreen.svg)](https://akabekobeko.github.io/npm-icon-gen/) | ||
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](http://standardjs.com/) | ||
@@ -9,0 +9,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
72002
0
+ Addedpngjs-nozlib@^1.0.0
+ Addedpngjs-nozlib@1.0.0(transitive)
- Removedpngjs@^3.3.1
- Removedpngjs@3.4.0(transitive)
Updateduuid@^3.2.1