
Research
GemStuffer Campaign Abuses RubyGems as Exfiltration Channel Targeting UK Local Government
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.
@spaced-out/postcss-flexbugs-strict
Advanced tools
PostCSS plugin that tries to enforce unambiguous flexbox declarations
PostCSS plugin This project tries to encourage less ambiguous Flexbox CSS while fixing some of flexbug's issues.
This started as a fork of postcss-flexbugs-fixes because I was not happy with some of the changes it made to support shorthand flex declarations. This is not the fault of that plugin (which is great!); it is an issue with the goal of supporting ambiguous declarations in browsers like IE and Safari. See https://github.com/luisrudge/postcss-flexbugs-fixes/issues/59
My solution was to change the goal. Instead of supporting declarations like flex: 100% 0; and flex: 1, we force users to declare all three
values explicitly. Furthermore, we do not automatically translate any values from one unit to another. We force users to specify a unit that is compatible with all target browsers.
In my experience, most developers have no idea what the defaults of flex are let alone what flex: 1; means, and flex: 1 1 auto; is actually not much more code. It forces developers to think about exactly what they want.
flex declarations must contain 3 values.Okay
.foo { flex: 1 0 0%; }
Bad
.foo { flex: 1; }
grow and shrink values must be unit-less.Bad
.foo { flex: 100% 1 0%; }
basis value must have a unit, and cannot be 0px.Bad
.foo { flex: 1 1 0px; }
Also bad
.foo { flex: 1 0 0; }
The calc check for flex-basis is benign so we still do it.
.foo { flex: 1 0 calc(1vw - 1px); }
.foo {
flex-grow: 1;
flex-shrink: 0;
flex-basis: calc(1vw - 1px);
}
postcss([require('@spaced-out/postcss-flexbugs-strict')]);
See PostCSS docs for examples for your environment.
FAQs
PostCSS plugin that tries to enforce unambiguous flexbox declarations
The npm package @spaced-out/postcss-flexbugs-strict receives a total of 10 weekly downloads. As such, @spaced-out/postcss-flexbugs-strict popularity was classified as not popular.
We found that @spaced-out/postcss-flexbugs-strict demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.

Research
GemStuffer abuses RubyGems as an exfiltration channel, packaging scraped UK council portal data into junk gems published from new accounts.

Company News
Socket was named to the Rising in Cyber 2026 list, recognizing 30 private cybersecurity startups selected by CISOs and security executives.

Research
Socket detected 84 compromised TanStack npm package artifacts modified with suspected CI credential-stealing malware.