Socket
Socket
Sign inDemoInstall

gulp-ttf2eot

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-ttf2eot - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

.coveralls.yml

25

package.json
{
"name": "gulp-ttf2eot",
"description": "Create an EOT font from a TTF font",
"version": "1.0.2",
"description": "Create an EOT font from a TTF one",
"version": "1.1.0",
"homepage": "https://github.com/nfroidure/gulp-ttf2eot",

@@ -28,9 +28,11 @@ "author": {

"scripts": {
"test": "mocha tests/*.mocha.js"
"test": "mocha tests/*.mocha.js",
"coveralls": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"cover": "./node_modules/istanbul/lib/cli.js cover --report html ./node_modules/mocha/bin/_mocha -- tests/*.mocha.js -R spec -t 5000"
},
"dependencies": {
"ttf2eot": "latest",
"gulp-util": "~3.0.5",
"bufferstreams": "1.0.1",
"readable-stream": "^1.0.33"
"bufferstreams": "^1.0.2",
"gulp-util": "^3.0.6",
"readable-stream": "^2.0.1",
"ttf2eot": "^1.3.0"
},

@@ -47,6 +49,9 @@ "keywords": [

"devDependencies": {
"gulp": "~3.9.0",
"mocha": "~2.2.5",
"streamtest": "^1.2.0"
"coveralls": "^2.11.2",
"gulp": "^3.9.0",
"istanbul": "^0.3.16",
"mocha": "^2.2.5",
"mocha-lcov-reporter": "^0.0.2",
"streamtest": "^1.2.1"
}
}

4

README.md
# gulp-ttf2eot
> Create a EOT font from a TTF font with [Gulp](http://gulpjs.com/).
> Create an EOT font from a TTF one with [Gulp](http://gulpjs.com/).
[![NPM version](https://badge.fury.io/js/gulp-ttf2eot.png)](https://npmjs.org/package/gulp-ttf2eot) [![Build status](https://secure.travis-ci.org/nfroidure/gulp-ttf2eot.png)](https://travis-ci.org/nfroidure/gulp-ttf2eot) [![Dependency Status](https://david-dm.org/nfroidure/gulp-ttf2eot.png)](https://david-dm.org/nfroidure/gulp-ttf2eot) [![devDependency Status](https://david-dm.org/nfroidure/gulp-ttf2eot/dev-status.png)](https://david-dm.org/nfroidure/gulp-ttf2eot#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/gulp-ttf2eot/badge.png?branch=master)](https://coveralls.io/r/nfroidure/gulp-ttf2eot?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/gulp-ttf2eot.png)](https://codeclimate.com/github/nfroidure/gulp-ttf2eot)
[![NPM version](https://badge.fury.io/js/gulp-ttf2eot.svg)](https://npmjs.org/package/gulp-ttf2eot) [![Build status](https://secure.travis-ci.org/nfroidure/gulp-ttf2eot.svg)](https://travis-ci.org/nfroidure/gulp-ttf2eot) [![Dependency Status](https://david-dm.org/nfroidure/gulp-ttf2eot.svg)](https://david-dm.org/nfroidure/gulp-ttf2eot) [![devDependency Status](https://david-dm.org/nfroidure/gulp-ttf2eot/dev-status.svg)](https://david-dm.org/nfroidure/gulp-ttf2eot#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/gulp-ttf2eot/badge.svg?branch=master)](https://coveralls.io/r/nfroidure/gulp-ttf2eot?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/gulp-ttf2eot.svg)](https://codeclimate.com/github/nfroidure/gulp-ttf2eot)

@@ -6,0 +6,0 @@ ## Usage

@@ -0,1 +1,3 @@

'use strict';
var path = require('path');

@@ -7,3 +9,3 @@ var Stream = require('readable-stream');

const PLUGIN_NAME = 'gulp-ttf2eot';
var PLUGIN_NAME = 'gulp-ttf2eot';

@@ -24,4 +26,4 @@ // File level transform function

cb(null, buf);
} catch(err) {
cb(new gutil.PluginError(PLUGIN_NAME, err, {showStack: true}));
} catch(err2) {
cb(new gutil.PluginError(PLUGIN_NAME, err2, {showStack: true}));
}

@@ -68,3 +70,3 @@

}
file.path = gutil.replaceExtension(file.path, ".eot");

@@ -88,3 +90,3 @@

}
stream.push(file);

@@ -96,3 +98,3 @@ done();

};
}

@@ -104,2 +106,1 @@ // Export the file level transform function for other plugins usage

module.exports = ttf2eotGulp;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc