New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ttf2woff2

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ttf2woff2 - npm Package Compare versions

Comparing version

to
1.1.1

builderror.log

6

jssrc/index.js

@@ -11,3 +11,3 @@ var theTTFToWOFF2Module = require('./ttf2woff2');

// Run
var outputBufferPtr = theTTFToWOFF2Module._TTFToWOFF2(inputBuffer, inputContent.length + 1, outputSizePtr);
var outputBufferPtr = theTTFToWOFF2Module._convertTTFToWOFF2(inputBuffer, inputContent.length + 1, outputSizePtr);

@@ -22,3 +22,7 @@ // Retrieve output

theTTFToWOFF2Module._free(inputBuffer);
theTTFToWOFF2Module._free(outputSizePtr);
theTTFToWOFF2Module._freeTTFToWOFF2(outputBufferPtr);
return outputContent;
};

17

package.json
{
"name": "ttf2woff2",
"version": "1.1.0",
"version": "1.1.1",
"description": "Convert TTF files to WOFF2 ones.",

@@ -16,2 +16,4 @@ "main": "src/index.js",

"make": "node-gyp build",
"emcc": "miniquery -p \"targets.#.sources.#\" ./binding.gyp | grep -v \"csrc/addon.cc\" | xargs emcc -o jssrc/ttf2woff2.js -O3 --memory-init-file 0 -s EXPORTED_FUNCTIONS=\"['_convertTTFToWOFF2','_freeTTFToWOFF2']\" -s \"TOTAL_MEMORY=536870912\" -s \"ALLOW_MEMORY_GROWTH=1\" csrc/fallback.cc",
"emcc-debug": "miniquery -p \"targets.#.sources.#\" ./binding.gyp | grep -v \"csrc/addon.cc\" | xargs emcc -o jssrc/ttf2woff2.js -s EXPORTED_FUNCTIONS=\"['_convertTTFToWOFF2','_freeTTFToWOFF2']\" -s \"ALLOW_MEMORY_GROWTH=1\" -s \"ASSERTIONS=1\" csrc/fallback.cc",
"install": "(node-gyp rebuild > builderror.log) || (exit 0)"

@@ -35,12 +37,13 @@ },

"dependencies": {
"bufferstreams": "^1.0.1",
"bufferstreams": "^1.0.2",
"bindings": "~1.2.1",
"nan": "~1.3.0"
"nan": "~1.8.4",
"node-gyp": "^2.0.1"
},
"devDependencies": {
"coveralls": "~2.11.2",
"istanbul": "~0.3.16",
"miniquery": "^1.1.1",
"mocha": "~2.2.5",
"mocha-lcov-reporter": "0.0.2",
"coveralls": "~2.11.2",
"istanbul": "~0.3.14",
"node-gyp": "^2.0.1"
"mocha-lcov-reporter": "0.0.2"
},

@@ -47,0 +50,0 @@ "preferGlobal": "true",

@@ -5,3 +5,3 @@ # ttf2woff2

[![NPM version](https://badge.fury.io/js/ttf2woff2.png)](https://npmjs.org/package/ttf2woff2) [![Build status](https://secure.travis-ci.org/nfroidure/ttf2woff2.png)](https://travis-ci.org/nfroidure/ttf2woff2) [![Dependency Status](https://david-dm.org/nfroidure/ttf2woff2.png)](https://david-dm.org/nfroidure/ttf2woff2) [![devDependency Status](https://david-dm.org/nfroidure/ttf2woff2/dev-status.png)](https://david-dm.org/nfroidure/ttf2woff2#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/ttf2woff2/badge.png?branch=master)](https://coveralls.io/r/nfroidure/ttf2woff2?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/ttf2woff2.png)](https://codeclimate.com/github/nfroidure/ttf2woff2)
[![NPM version](https://badge.fury.io/js/ttf2woff2.svg)](https://npmjs.org/package/ttf2woff2) [![Build status](https://secure.travis-ci.org/nfroidure/ttf2woff2.svg)](https://travis-ci.org/nfroidure/ttf2woff2) [![Dependency Status](https://david-dm.org/nfroidure/ttf2woff2.svg)](https://david-dm.org/nfroidure/ttf2woff2) [![devDependency Status](https://david-dm.org/nfroidure/ttf2woff2/dev-status.svg)](https://david-dm.org/nfroidure/ttf2woff2#info=devDependencies) [![Coverage Status](https://coveralls.io/repos/nfroidure/ttf2woff2/badge.svg?branch=master)](https://coveralls.io/r/nfroidure/ttf2woff2?branch=master) [![Code Climate](https://codeclimate.com/github/nfroidure/ttf2woff2.svg)](https://codeclimate.com/github/nfroidure/ttf2woff2)

@@ -40,2 +40,1 @@ This is a NodeJS wrapper for the Google [WOFF2](https://github.com/google/woff2)

[![NPM](https://nodei.co/npm-dl/ttf2woff2.png)](https://nodei.co/npm/ttf2woff2/)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display