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

@yowasp/wavedrom

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yowasp/wavedrom - npm Package Compare versions

Comparing version 3.5.0-7 to 3.5.0-8

2

package.json
{
"name": "@yowasp/wavedrom",
"version": "3.5.0-7",
"version": "3.5.0-8",
"description": "WaveDrom generates diagrams for digital waveforms, bit fields, and simple combinational circuits",

@@ -5,0 +5,0 @@ "author": "Catherine <whitequark@whitequark.org>",

@@ -52,4 +52,5 @@ YoWASP WaveDrom package

* The `id` attribute of the root `<svg>` element is removed.
* The stylesheets are altered to take into account dark color scheme preference via media queries.
* By default, the diagrams automatically switch between light and dark color schemes based on the user preference. The light variant is the default upstream WaveDrom color scheme, and the dark variant is the same but with colors inverted. Unfortunately, it is not feasible to use media queries to switch between the default/light skin and the dark skin for waveform diagrams, and an inversion filter is used instead.
* The stylesheets are altered to take into account dark color scheme preference via media queries. If the user agent reports dark color scheme preference, the colors in the diagram are inverted.
* In case of the `dark` waveform diagram skin, this will cause it to use light colors.
* When the SVG image is embedded in an HTML document using the `<img>` tag, the color scheme preference can be set per-image using a CSS rule such as `img { color-scheme: light; }`. This can be used to make the images responsive to dynamic theming, or simply to override the default behavior.
* Several otherwise blocking bugs are worked around.

@@ -56,0 +57,0 @@

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

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