amps-in-the-trunk
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "amps-in-the-trunk", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Turns HTML in Google AMP HTML. Includes express middleware.", | ||
@@ -19,8 +19,9 @@ "main": "index.js", | ||
"dedent": "^0.6.0", | ||
"dedent-js": "^1.0.1", | ||
"image-size": "^0.5.0" | ||
}, | ||
"repository" : { | ||
"type" : "git", | ||
"url" : "https://github.com/mikemaccana/amps-in-the-trunk.git" | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mikemaccana/amps-in-the-trunk.git" | ||
} | ||
} |
@@ -9,3 +9,3 @@ // Tests. Mocha TDD/assert style. See | ||
ampsInTheTrunk = require('../index.js')(), | ||
dedent = require('dedent'), | ||
dedent = require('dedent-js'), | ||
log = console.log.bind(console) | ||
@@ -19,3 +19,3 @@ | ||
var html = dedent(` | ||
<div> | ||
<div> | ||
<p> | ||
@@ -47,4 +47,4 @@ I've gone into full girl meltdown. | ||
<h2 style="color: green;"> | ||
Woo I am a heading! | ||
</h2> | ||
Woo I am a heading! | ||
</h2> | ||
`) | ||
@@ -51,0 +51,0 @@ var actual = ampsInTheTrunk.stripInlineStyles(html).replace(".*"); |
1507088
4
+ Addeddedent-js@^1.0.1
+ Addeddedent-js@1.0.1(transitive)