New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@beisen-phoenix/mobile-style-token

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beisen-phoenix/mobile-style-token - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

10

lib/index.js

@@ -96,4 +96,5 @@ import "core-js/modules/es6.regexp.constructor";

export var $family = "\"PingFang SC\",\"Helvetica Neue\",Helvetica";
export var $smoothing = '-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;';
export var $alpha = function $alpha(token, opacity) {
return token.replace(/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/, "rgba($1, $2, $3, " + opacity + ")");
return token.replace(/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/, "rgba($1, $2, $3, ".concat(opacity, ")"));
};

@@ -147,7 +148,4 @@ export var $hexToRgb = function $hexToRgb(token) {

export var $randomClass = function $randomClass(length) {
if (length === void 0) {
length = 10;
}
export var $randomClass = function $randomClass() {
var length = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 10;
var text = '';

@@ -154,0 +152,0 @@ var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

2

package.json
{
"name": "@beisen-phoenix/mobile-style-token",
"version": "1.0.16",
"version": "1.0.17",
"description": "平台移动端UI组件的原子设计",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -91,2 +91,4 @@ export const skinBgS1: string

export const $smoothing: string
export function $alpha(token: string,opacity :string): string

@@ -93,0 +95,0 @@

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