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

clay-badge

Package Overview
Dependencies
Maintainers
4
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-badge - npm Package Compare versions

Comparing version 2.0.0-rc.4 to 2.0.0-rc.5

5

lib/ClayBadge.soy.js

@@ -49,7 +49,6 @@ 'use strict';

* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function $render(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
var $$temp;
/** @type {!goog.soy.data.SanitizedContent|string} */

@@ -64,3 +63,3 @@ var label = soy.asserts.assertType(goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent, 'label', opt_data.label, '!goog.soy.data.SanitizedContent|string');

var attributes__soy23 = function attributes__soy23() {
incrementalDom.attr('class', 'badge badge-' + (($$temp = style) == null ? 'primary' : $$temp) + (elementClasses ? ' ' + elementClasses : ''));
incrementalDom.attr('class', 'badge badge-' + (style != null ? style : 'primary') + (elementClasses ? ' ' + elementClasses : ''));
if (id) {

@@ -67,0 +66,0 @@ incrementalDom.attr('id', id);

4

package.json
{
"name": "clay-badge",
"version": "2.0.0-rc.4",
"version": "2.0.0-rc.5",
"description": "Metal Clay Badge component.",

@@ -43,3 +43,3 @@ "license": "BSD",

"browserslist-config-clay-components": "^2.0.0-rc.3",
"clay": "^2.0.0-rc.4",
"clay": "^2.0.0-rc.5",
"metal-dom": "^2.13.2",

@@ -46,0 +46,0 @@ "metal-tools-soy": "^6.0.0",

@@ -30,7 +30,6 @@ /* jshint ignore:start */

* @return {void}
* @suppress {checkTypes}
* @suppress {checkTypes|uselessCode}
*/
var $render = function(opt_data, opt_ijData, opt_ijData_deprecated) {
opt_ijData = opt_ijData_deprecated || opt_ijData;
var $$temp;
/** @type {!goog.soy.data.SanitizedContent|string} */

@@ -45,3 +44,3 @@ var label = soy.asserts.assertType(goog.isString(opt_data.label) || opt_data.label instanceof goog.soy.data.SanitizedContent, 'label', opt_data.label, '!goog.soy.data.SanitizedContent|string');

var attributes__soy23 = function() {
incrementalDom.attr('class', 'badge badge-' + (($$temp = style) == null ? 'primary' : $$temp) + (elementClasses ? ' ' + elementClasses : ''));
incrementalDom.attr('class', 'badge badge-' + (style != null ? style : 'primary') + (elementClasses ? ' ' + elementClasses : ''));
if (id) {

@@ -48,0 +47,0 @@ incrementalDom.attr('id', id);

Sorry, the diff of this file is not supported yet

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