🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

para-lib

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

para-lib

para-lib 工具库

latest
npmnpm
Version
1.5.3
Version published
Maintainers
2
Created
Source

版本更新说明

1.5.3

修改whatOS,增加一组iOS的判断,讲原来返回的iPhone修改成iOS

1.5.0

新增 http/utils 模块默认导出

1.4.12

debuger与context组件请求标记为global:true,跳过拦截器处理;

1.4.10

新增Esso工具方法
新增Promise版Delay(time)延迟方法

1.4.6

新增水印方法 Watermark(config: WatermarkConfig, target?: HTMLElement | string),WatermarkRemove(box: HTMLElement | string)
export interface WatermarkConfig {
    content: string // 水印内容
    fontName?: string // 字体名  不传用默认值
    fontSize?: number // 字体大小
    angular?: number // 旋转角度 -180 到180
    horizontalDensity?: number // 水平间距 px
    longitudinalDensity?: number // 垂直间距 px
    transparency?: number // 透明度 0 - 1
    color?: string // 文字颜色
}

1.2.87

  • 更新网关请求的地址适配最新3.0网关

FAQs

Package last updated on 13 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts