Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

magicpen

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

magicpen - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

.travis.yml

2

lib/MagicPen.js

@@ -192,2 +192,4 @@ var shim = require('./shim');

MagicPen.prototype.isMagicPen = true;
function callculateLineSize(line) {

@@ -194,0 +196,0 @@ var size = { height: 1, width: 0 };

@@ -399,2 +399,4 @@ /*!

MagicPen.prototype.isMagicPen = true;
function callculateLineSize(line) {

@@ -401,0 +403,0 @@ var size = { height: 1, width: 0 };

8

package.json
{
"name": "magicpen",
"version": "0.3.1",
"version": "0.3.2",
"description": "Styled output in both consoles and browsers",

@@ -14,5 +14,6 @@ "main": "./lib/MagicPen.js",

"scripts": {
"test": "gulp test",
"test": "mocha -R spec",
"travis": "npm test && npm run coverage && <coverage/lcov.info coveralls",
"prepublish": "(echo '/*!' && <LICENSE sed -e's/^/ * /' | sed -e's/\\s+$//' && echo ' */' && browserify -p bundle-collapser/plugin -e lib/MagicPen -s weknowhow.MagicPen) > magicpen.js",
"coverage": "NODE_ENV=development ./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- --reporter dot"
"coverage": "NODE_ENV=development istanbul cover _mocha -- --reporter dot"
},

@@ -23,2 +24,3 @@ "author": "Sune Simonsen",

"bundle-collapser": "^1.1.0",
"coveralls": "^2.11.1",
"del": "^0.1.1",

@@ -25,0 +27,0 @@ "istanbul": "^0.3.0",

@@ -8,2 +8,7 @@ # MagicPen

[![NPM version](https://badge.fury.io/js/magicpen.png)](http://badge.fury.io/js/magicpen)
[![Build Status](https://travis-ci.org/sunesimonsen/magicpen.png)](https://travis-ci.org/sunesimonsen/magicpen)
[![Coverage Status](https://coveralls.io/repos/sunesimonsen/magicpen/badge.png)](https://coveralls.io/r/sunesimonsen/magicpen)
[![Dependency Status](https://david-dm.org/sunesimonsen/magicpen.png)](https://david-dm.org/sunesimonsen/magicpen)
## Installation

@@ -10,0 +15,0 @@

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