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

@cloudfour/hbs-helpers

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudfour/hbs-helpers - npm Package Compare versions

Comparing version 0.6.1 to 0.7.0

10

lib/svg.js

@@ -24,2 +24,3 @@ 'use strict';

var svg;
var prepend;

@@ -46,2 +47,7 @@ if (arguments.length < 2) {

if (!R.isNil(options.fn)) {
prepend = ltx.parse('<root>' + options.fn(this) + '</root>');
svg.children = R.concat(prepend.children, svg.children);
}
return new Handlebars.SafeString(svg.root());

@@ -68,2 +74,6 @@ }

* {{svg "foo/test" class="foo" width="24" height="24"}}
*
* {{#svg "foo/test" aria-labelledby="foo-title"}}
* <title id="foo-title">Hello world</title>
* {{/svg}}
*/

@@ -70,0 +80,0 @@

2

package.json
{
"name": "@cloudfour/hbs-helpers",
"version": "0.6.1",
"version": "0.7.0",
"description": "Handlebars helpers used for various Cloud Four projects.",

@@ -5,0 +5,0 @@ "author": "Cloud Four (http://cloudfour.com)",

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