Skip to content

Commit

Permalink
Updated svgicons2svgfont to 7.0.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
NaridaL committed Aug 24, 2017
1 parent cf80c6e commit 7df0139
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -43,7 +43,7 @@
"gulp-util": "~3.0.6",
"plexer": "1.0.1",
"readable-stream": "^2.0.2",
"svgicons2svgfont": "^6.0.0"
"svgicons2svgfont": "^7.0.1"
},
"devDependencies": {
"coveralls": "~2.13.1",
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
@@ -1,6 +1,6 @@
'use strict';

const svgicons2svgfont = require('svgicons2svgfont');
const SVGIcon2SVGFontStream = require('svgicons2svgfont');
const gutil = require('gulp-util');
const Stream = require('readable-stream');
const path = require('path');
Expand Down Expand Up @@ -82,7 +82,7 @@ module.exports = (options) => {

if(0 === filesBuffer.length) {
// Generating the font
fontStream = svgicons2svgfont(options);
fontStream = new SVGIcon2SVGFontStream(options);
fontStream.on('error', (err) => {
outputStream.emit('error', err);
});
Expand Down
22 changes: 11 additions & 11 deletions tests/expected/test-cleanicons-font.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions tests/expected/test-originalicons-font.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions tests/expected/test-prefixedicons-font.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions tests/expected/test-unicons-font.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions tests/expected/test-unprefixedicons-font.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7df0139

Please sign in to comment.