Comparing version 1.1.1 to 1.1.2
@@ -0,1 +1,22 @@ | ||
<a name="1.1.2"></a> | ||
## [1.1.2](https://github.com/poppinss/edge/compare/v1.1.1...v1.1.2) (2017-10-29) | ||
### Bug Fixes | ||
* **ast:** trim whitespace in tag end ([2ff8b36](https://github.com/poppinss/edge/commit/2ff8b36)), closes [#3](https://github.com/poppinss/edge/issues/3) | ||
* **component:** access globals and optionally share data ([5bc9889](https://github.com/poppinss/edge/commit/5bc9889)), closes [#2](https://github.com/poppinss/edge/issues/2) | ||
### Features | ||
* **tags:** add set tag ([a6735fc](https://github.com/poppinss/edge/commit/a6735fc)) | ||
### Reverts | ||
* **component:** remove option to share data with component ([83c57e5](https://github.com/poppinss/edge/commit/83c57e5)) | ||
<a name="1.1.1"></a> | ||
@@ -2,0 +23,0 @@ ## [1.1.1](https://github.com/poppinss/edge/compare/v1.1.0...v1.1.1) (2017-10-08) |
{ | ||
"name": "edge.js", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Node.js logical templating engine with fresh air", | ||
@@ -20,6 +20,6 @@ "main": "index.js", | ||
"cheerio": "^1.0.0-rc.2", | ||
"coveralls": "^2.13.1", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"coveralls": "^3.0.0", | ||
"cz-conventional-changelog": "^2.1.0", | ||
"dedent-js": "^1.0.1", | ||
"japa": "^1.0.4", | ||
"japa": "^1.0.5", | ||
"japa-cli": "^1.0.1", | ||
@@ -34,3 +34,3 @@ "node-req": "^2.0.1", | ||
"dependencies": { | ||
"debug": "^3.0.1", | ||
"debug": "^3.1.0", | ||
"encodeurl": "^1.0.1", | ||
@@ -43,3 +43,3 @@ "escape-html": "^1.0.3", | ||
"require-uncached": "^1.0.3", | ||
"upcast": "^1.0.4" | ||
"upcast": "^2.1.1" | ||
}, | ||
@@ -51,2 +51,2 @@ "config": { | ||
} | ||
} | ||
} |
@@ -152,3 +152,3 @@ 'use strict' | ||
tag, | ||
args: args ? args.replace(/\)$/, '') : undefined, | ||
args: args ? args.trim().replace(/\)$/, '') : undefined, | ||
selfClosing, | ||
@@ -155,0 +155,0 @@ childs: [], |
@@ -25,3 +25,4 @@ 'use strict' | ||
unless: new (require('./UnlessTag'))(), | ||
mustache: new (require('./MustacheTag'))() | ||
mustache: new (require('./MustacheTag'))(), | ||
set: new (require('./SetTag'))() | ||
} |
@@ -415,2 +415,3 @@ 'use strict' | ||
let presenter = null | ||
const data = _.transform(props, (result, prop) => { | ||
@@ -428,2 +429,3 @@ if (prop.presenter) { | ||
template._makeContext(data) | ||
return template | ||
@@ -430,0 +432,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
545397
92
5758
+ Addedcross-env@5.2.1(transitive)
+ Addedcross-spawn@6.0.5(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addednice-try@1.0.5(transitive)
+ Addedpath-key@2.0.1(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedshebang-command@1.2.0(transitive)
+ Addedshebang-regex@1.0.0(transitive)
+ Addedupcast@2.1.2(transitive)
+ Addedwhich@1.3.1(transitive)
- Removedupcast@1.0.4(transitive)
Updateddebug@^3.1.0
Updatedupcast@^2.1.1