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

@chakra-ui/cli

Package Overview
Dependencies
Maintainers
4
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/cli - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

18

CHANGELOG.md
# @chakra-ui/cli
## 1.3.1
### Patch Changes
- [`e8f64a4a6`](https://github.com/chakra-ui/chakra-ui/commit/e8f64a4a6ab5eac862ec8127dcf6c5852a0f84dd)
[#3941](https://github.com/chakra-ui/chakra-ui/pull/3941) Thanks
[@jbarzegar](https://github.com/jbarzegar)! - Fixes issues with `tokens`
command hanging forever if theme workers run into errors during runtime. Now
when an error is discovered within a worker an `{ err: string }` object is
passed to the parent which will cause the promise to reject. This will in
turn, pass the same `err` upwards to allow the command to exit gracefully,
printing the `err` in question to `stdout`
- Updated dependencies
[[`d0f50a46e`](https://github.com/chakra-ui/chakra-ui/commit/d0f50a46ea6c2bcf06d8cad8b9b3994fd934be01),
[`b479ff22e`](https://github.com/chakra-ui/chakra-ui/commit/b479ff22ea10c1a1393224c37c36aa6ceabc4aab),
[`07d15eab4`](https://github.com/chakra-ui/chakra-ui/commit/07d15eab480724f8fee1a09b7cecdf1e968d9ddd)]:
- @chakra-ui/utils@1.8.0
## 1.3.0

@@ -4,0 +22,0 @@

@@ -46,2 +46,8 @@ "use strict";

worker.on("message", function (message) {
var errMessage = message == null ? void 0 : message.err;
if (errMessage) {
reject(new Error(errMessage));
}
return resolve(String(message));

@@ -48,0 +54,0 @@ });

9

dist/scripts/read-theme-file.worker.js

@@ -126,5 +126,12 @@ "use strict";

run()["catch"](function (e) {
process.stderr.write(e.message);
if (process.send) {
process.send({
err: e.toString()
});
} else {
process.stderr.write(e.message);
}
process.exit(1);
});
//# sourceMappingURL=read-theme-file.worker.js.map

4

package.json
{
"name": "@chakra-ui/cli",
"version": "1.3.0",
"version": "1.3.1",
"description": "Generate theme typings for autocomplete",

@@ -52,3 +52,3 @@ "keywords": [

"dependencies": {
"@chakra-ui/utils": "^1.4.0",
"@chakra-ui/utils": "^1.8.0",
"cli-check-node": "^1.3.4",

@@ -55,0 +55,0 @@ "cli-handle-unhandled": "^1.1.1",

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