
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
sass-math-pow
Advanced tools
Math pow() polyfill/feature detection with non-integer exponents support for (without compass) ruby sass, sass and sass+eyeglass
Math pow() polyfill/feature detection with non-integer exponents support for (without compass) ruby sass, plain sass and sass+eyeglass
It will autodetect whether pow() with native non-integer exponents support is available (by eyeglass+sass with eyeglass-math) for full performance and also tries to intall it (as dependency of this package), otherwise, in case of ruby sass without compass or plain sass, a pow() polyfill is used instead that supports pow() with non-integer exponents.
This polyfill is useful for projects that may use pow() with non-integer exponents and should correctly caluclate across different sass variants and versions.
> npm install --save-dev sass-math-pow
Note: To @import from npm packages/node_modules with ruby sass or plain sass (without eyeglass), sass-include-paths helper may be useful.
@import 'math-pow';
@debug poly-pow(9, 0.5); // =3 across different sass variants
/
Dart SASS fix and code improvements by polarbirke.FAQs
Math pow() polyfill/feature detection with non-integer exponents support for (without compass) ruby sass, sass and sass+eyeglass
The npm package sass-math-pow receives a total of 1,083 weekly downloads. As such, sass-math-pow popularity was classified as popular.
We found that sass-math-pow demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.