Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Simple tool for creating ["barrel" files](https://basarat.gitbook.io/typescript/main-1/barrel) in TypeScript
Simple tool for creating "barrel" files in TypeScript
Caveats:
export default
or have specific exports in the index. If you need this, exclude and re-export from another moduleexport
in ts files
paths
/ exclude
/ ignored
optionsautobarrel [--config path/to/autobarrel.json] [--watch]
autobarrel.json:
{
/**
* Relative glob patterns we want to process
*/
paths: string[]
/**
* Relative glob patterns we want to ignore entirely
*/
ignore?: string[]
/**
* Relative glob patterns of files / directories we want to avoid re-exporting
*/
exclude?: string[]
}
import { autobarrel, resolveAutobarrelConfig } from "autobarrel"
//
await autobarrel(
// Converts relative paths to absolute paths for consistency
await resolveAutobarrelConfig({
path: path.join(__dirname, "testing", "autobarrel.json"),
})
)
MIT
FAQs
Simple tool for creating ["barrel" files](https://basarat.gitbook.io/typescript/main-1/barrel) in TypeScript
The npm package autobarrel receives a total of 565 weekly downloads. As such, autobarrel popularity was classified as not popular.
We found that autobarrel 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.