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

@hi-ui/badge

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hi-ui/badge - npm Package Compare versions

Comparing version 4.0.0-beta.13 to 4.0.0-beta.14

4

lib/cjs/Badge.js

@@ -73,4 +73,4 @@ /** @LICENSE

if (Array.isArray(offset)) {
env.invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number array.');
env.invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number array.');
env.invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number type.');
env.invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number type.');
style.marginTop = offset[1];

@@ -77,0 +77,0 @@ style.marginRight = -offset[0];

@@ -52,4 +52,4 @@ /** @LICENSE

if (Array.isArray(offset)) {
invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number array.');
invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number array.');
invariant(typeof offset[0] === 'number', 'The offset[0] prop should be number type.');
invariant(typeof offset[1] === 'number', 'The offset[1] prop should be number type.');
style.marginTop = offset[1];

@@ -56,0 +56,0 @@ style.marginRight = -offset[0];

{
"name": "@hi-ui/badge",
"version": "4.0.0-beta.13",
"version": "4.0.0-beta.14",
"description": "A sub-package for @hi-ui/hiui.",

@@ -47,4 +47,4 @@ "keywords": [],

"@hi-ui/classname": "^4.0.0-beta.0",
"@hi-ui/core": "^4.0.0-beta.9",
"@hi-ui/core-css": "^4.0.0-beta.5",
"@hi-ui/core": "^4.0.0-beta.10",
"@hi-ui/core-css": "^4.0.0-beta.6",
"@hi-ui/env": "^4.0.0-beta.1",

@@ -62,3 +62,3 @@ "@hi-ui/type-assertion": "^4.0.0-beta.5"

},
"gitHead": "3180ed00bbe4a23ff0d5bfa1f5ca95f39ff9f494"
"gitHead": "43cfc64831263176a31bf951a5add214df340248"
}
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