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

@cainiaofe/cn-utils

Package Overview
Dependencies
Maintainers
23
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cainiaofe/cn-utils - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

es/utils/classnames/index.d.ts

79

dist/dsm-meta.json
{
"version": "0.2.7",
"version": "0.2.8",
"publisher": "chaojie.bcj",
"publishTime": 1703470276668,
"publishTime": 1705893650098,
"componentList": [
{
"component": "browser",
"component": "浏览器信息 browser",
"pcDocs": [
{
"title": "浏览器信息",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=浏览器信息--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=浏览器信息--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -16,7 +16,7 @@ ]

{
"component": "cookie",
"component": "Cookie",
"pcDocs": [
{
"title": "Cookie",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=cookie--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=cookie--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -26,7 +26,7 @@ ]

{
"component": "decimal",
"component": "数字处理 decimal",
"pcDocs": [
{
"title": "数字处理",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=数字处理--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=数字处理--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -36,7 +36,7 @@ ]

{
"component": "encrypt",
"component": "加密&解密 encrypt",
"pcDocs": [
{
"title": "加密&解密",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=加密&解密--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=加密&解密--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -46,7 +46,7 @@ ]

{
"component": "env",
"component": "运行时环境 env",
"pcDocs": [
{
"title": "运行时环境",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=运行时环境--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=运行时环境--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -56,7 +56,7 @@ ]

{
"component": "events",
"component": "事件处理 events",
"pcDocs": [
{
"title": "事件处理",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=事件处理--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=事件处理--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -66,7 +66,7 @@ ]

{
"component": "html",
"component": "HTML处理",
"pcDocs": [
{
"title": "HTML处理",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=html处理--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=html处理--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -76,7 +76,7 @@ ]

{
"component": "os",
"component": "OS信息",
"pcDocs": [
{
"title": "OS信息",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=os信息--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=os信息--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -86,7 +86,7 @@ ]

{
"component": "oss",
"component": "文件上传与下载 oss",
"pcDocs": [
{
"title": "文件上传与下载",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=文件上传与下载--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=文件上传与下载--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -96,7 +96,7 @@ ]

{
"component": "other",
"component": "其他 other",
"pcDocs": [
{
"title": "其他",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=其他--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=其他--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -106,7 +106,7 @@ ]

{
"component": "url",
"component": "URL处理",
"pcDocs": [
{
"title": "URL处理",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=url处理--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=url处理--docs&viewMode=docs&cnUtilsVersion=0.2.8"
}

@@ -154,2 +154,20 @@ ]

{
"text": "className工具 - classnames",
"key": "classnames",
"type": "iframe",
"url": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=classnames--docs&viewMode=docs"
},
{
"text": "copy工具 - copy-to-clipboard",
"key": "copy-to-clipboard",
"type": "iframe",
"url": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=copy--docs&viewMode=docs"
},
{
"text": "query-string",
"key": "query-string",
"type": "iframe",
"url": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=querystring--docs&viewMode=docs"
},
{
"text": "实用工具库 - lodash",

@@ -173,8 +191,2 @@ "key": "lodash",

{
"text": "className工具 - classnames",
"key": "classnames",
"type": "link",
"url": "https://github.com/JedWatson/classnames#readme"
},
{
"text": "npm版本号处理 - semver",

@@ -188,6 +200,9 @@ "key": "semver",

],
"cdnMap": {},
"cdnMap": {
"index.js": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/dist/index.js",
"index.polyfill.js": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/dist/index.polyfill.js"
},
"readme": {
"title": "快速上手",
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.7/docs/iframe.html?id=快速上手--docs&viewMode=docs&cnUtilsVersion=0.2.7"
"link": "https://cn.alicdn.com/lib/cn-utils/cainiaofe/cn-utils/0.2.8/docs/iframe.html?id=快速上手--docs&viewMode=docs&cnUtilsVersion=0.2.8"
},

@@ -194,0 +209,0 @@ "libraryName": "CN_UTILS",

@@ -0,1 +1,7 @@

/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! https://mths.be/punycode v1.4.1 by @mathias */

@@ -0,1 +1,7 @@

/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
/*! https://mths.be/punycode v1.4.1 by @mathias */

@@ -13,1 +13,4 @@ export * from './utils/env';

export * from './utils/other';
export * from './utils/classnames';
export * from './utils/copy-to-clipboard';
export * from './utils/query-string';

@@ -13,1 +13,4 @@ export * from './utils/env';

export * from './utils/other';
export * from './utils/classnames';
export * from './utils/copy-to-clipboard';
export * from './utils/query-string';

@@ -16,1 +16,4 @@ "use strict";

tslib_1.__exportStar(require("./utils/other"), exports);
tslib_1.__exportStar(require("./utils/classnames"), exports);
tslib_1.__exportStar(require("./utils/copy-to-clipboard"), exports);
tslib_1.__exportStar(require("./utils/query-string"), exports);
{
"name": "@cainiaofe/cn-utils",
"version": "0.2.7",
"version": "0.2.8",
"description": "菜鸟前端基础工具库",

@@ -21,3 +21,3 @@ "main": "lib/index.js",

"pre-commit": "lint-staged",
"prepublishOnly": "npm run build && cone cdn upload dist.tgz -n cn-utils -d dist",
"prepublishOnly": "npm run build && cone cdn upload dist.tgz -n cn-utils -d dist --env prod",
"commit-msg": "commitlint --edit",

@@ -107,5 +107,8 @@ "pub": "node ./scripts/public-publish/prepub.js && npm publish --registry=https://registry.npmjs.org --access=public && tnpm sync @cainiaofe/cn-utils",

"dependencies": {
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"eventemitter3": "^4.0.7",
"js-base64": "^3.7.5",
"path-browserify": "^1.0.1",
"query-string": "^8.1.0",
"url": "^0.11.1",

@@ -112,0 +115,0 @@ "uuid": "^9.0.0"

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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