odesza
Advanced tools
Comparing version 0.9.3 to 0.10.0
@@ -7,3 +7,2 @@ 'use strict' | ||
const path = require('path'); | ||
const stripComments = require('strip-comments'); | ||
@@ -53,8 +52,4 @@ const findStatements = /(block|extends|include) ([\/\.\w]+)/g; | ||
vars = vars && 'object' == typeof vars ? vars : {}; | ||
template = this.filterEscapes(template); | ||
// strips comments | ||
template = stripComments(template); | ||
let statements = this.getStatements(template); | ||
@@ -61,0 +56,0 @@ |
{ | ||
"name": "odesza", | ||
"version": "0.9.3", | ||
"version": "0.10.0", | ||
"description": "Write clean, expressive templates with just HTML and inline JavaScript", | ||
@@ -24,5 +24,4 @@ "main": "index.js", | ||
"btoa": "^1.1.2", | ||
"commander": "^2.9.0", | ||
"strip-comments": "^0.4.2" | ||
"commander": "^2.9.0" | ||
} | ||
} |
2
22605
419
- Removedstrip-comments@^0.4.2
- Removeddefine-property@0.2.5(transitive)
- Removedesprima@2.7.3(transitive)
- Removedesprima-extract-comments@0.2.1(transitive)
- Removedextend-shallow@2.0.1(transitive)
- Removedextract-comments@0.10.1(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-accessor-descriptor@1.0.1(transitive)
- Removedis-data-descriptor@1.0.1(transitive)
- Removedis-descriptor@0.1.7(transitive)
- Removedis-extendable@0.1.1(transitive)
- Removedparse-code-context@0.2.2(transitive)
- Removedstrip-comments@0.4.4(transitive)