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

koishi-utils

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koishi-utils - npm Package Compare versions

Comparing version 3.1.1 to 3.1.2

2

dist/cqCode.js

@@ -44,3 +44,3 @@ "use strict";

return null;
const [_, type, attrs] = capture;
const [, type, attrs] = capture;
const data = {};

@@ -47,0 +47,0 @@ attrs.slice(1).split(/,/g).forEach((str) => {

@@ -34,3 +34,3 @@ "use strict";

weightedPick(weights) {
const total = Object.entries(weights).reduce((prev, [_, curr]) => prev + curr, 0);
const total = Object.entries(weights).reduce((prev, [, curr]) => prev + curr, 0);
const pointer = this.value * total;

@@ -37,0 +37,0 @@ let counter = 0;

{
"name": "koishi-utils",
"description": "Utilities for Koishi",
"version": "3.1.1",
"version": "3.1.2",
"main": "dist/index.js",

@@ -36,7 +36,8 @@ "typings": "dist/index.d.ts",

"@types/supports-color": "^5.3.0",
"mockdate": "^3.0.2"
"mockdate": "^3.0.2",
"koishi-test-utils": "^4.0.0"
},
"dependencies": {
"supports-color": "^7.1.0"
"supports-color": "^7.2.0"
}
}

Sorry, the diff of this file is not supported yet

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