Socket
Socket
Sign inDemoInstall

@aomex/helper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aomex/helper - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

CHANGELOG.md
# @aomex/helper
## 0.0.2
### Patch Changes
- [`956bba9`](https://github.com/aomex/aomex/commit/956bba9e5b954f34486ad5f2b45a5277c1f980c9) Thanks [@geekact](https://github.com/geekact)! - feat(helper): 新的 sleep 函数
## 0.0.1

@@ -4,0 +10,0 @@

4

dist/index.d.ts

@@ -6,2 +6,4 @@ export { default as color } from 'chalk';

declare const sleep: (ms: number) => Promise<void>;
type NonReadonly<T extends object> = {

@@ -12,2 +14,2 @@ -readonly [K in keyof T]: T[K];

export { NonReadonly, Union2Intersection, toArray };
export { NonReadonly, Union2Intersection, sleep, toArray };

@@ -6,2 +6,7 @@ // src/to-array.ts

// src/sleep.ts
var sleep = (ms) => ms <= 0 ? Promise.resolve(void 0) : new Promise((resolve) => {
setTimeout(resolve, ms);
});
// src/index.ts

@@ -11,4 +16,5 @@ import { default as default2 } from "chalk";

default2 as color,
sleep,
toArray
};
//# sourceMappingURL=index.js.map
{
"name": "@aomex/helper",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -25,3 +25,4 @@ "type": "module",

"keywords": [],
"author": "geekact",
"repository": "git@github.com:aomex/aomex.git",
"homepage": "https://aomex.js.org",
"license": "MIT",

@@ -28,0 +29,0 @@ "dependencies": {

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