Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@icreate/core
Advanced tools
<!-- * @Author: 文贝 * @Date: 2022-02-08 21:36:57 * @LastEditors: 文贝 * @LastEditTime: 2022-02-12 02:10:59 * @Descripttion: * @FilePath: \README.md --> ### Usage
npm i @icreate/core
You can import the generated bundle to use the whole library generated by this starter:
import { ics, Event, BlockUI, Logger, Utils, LogLevels, ExecOptons, UIOptions } from '@icreate/core'
$on(eventName: string, callback: Function): void
$off(eventName: string, callback: Function): void
$emit(eventName: string): void
block(opts: UIOptions): void
unblock(opts: UIOptions): void
setBusy(opts: UIOptions): void
clearBusy(opts: UIOptions): void
level: LogLevels
debug(logObject: any): void
info(logObject: any): void
warn(logObject: any): void
error(logObject: any): void
fatal(logObject: any): void
createNamespace(root: any, ns: string): object
replaceAll(str: string, search: string, replacement: string): string
formatString(): string | null
toPascalCase(str: string): string
toCamelCase(str: string): string
truncateString(str: string, maxLength: number): string
truncateStringWithPostfix(str: string, maxLength: number, postfix: string): string
isFunction(obj: any): boolean
buildQueryString(key: string, value: string, expireDate: Date, path: string): void
getCookieValue(key: string): string | null
deleteCookie(key: string, path: string): void
htmlEscape(html: string): string
extend(dstObj: object, srcObj: object): object
command(opts: ExecOptons): void
function(opts: ExecOptons): Promise<any>
FAQs
Ics核心包封装
The npm package @icreate/core receives a total of 53 weekly downloads. As such, @icreate/core popularity was classified as not popular.
We found that @icreate/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.