
Security News
Critical Security Vulnerability in React Server Components
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.
@astro-my/featuretoggle
Advanced tools
A client-side Javascript SDK that handles communication with Feature Flag service
The SDK will make an API call to the service which will retrieve the information from cache before resorting to calling the DB
Calling the get method with featureId (which can be found on the feature store in admin portal) will return information for the particular flag
const ICode = require('@astro-my/idc-code')
const featureflag = require('@astro-my/featuretoggle')
exports.get = async (req, res, next) => {
try {
const { featureId } = req.query
const result = await featureflag.get(featureId)
return res.status(ICode.HTTP.OK).json({
responseCode: ICode.HTTP.OK,
responseMessage: 'Flag successfully fetched',
response: result
})
} catch (err) {
return next(err)
}
}
get accepts a single featureId or an array of featureId as input. An array of matching feature flags will be return in the case of passing in array as input
FAQs
Retrieve feature flags status for services or portal
The npm package @astro-my/featuretoggle receives a total of 8 weekly downloads. As such, @astro-my/featuretoggle popularity was classified as not popular.
We found that @astro-my/featuretoggle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 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.

Security News
React disclosed a CVSS 10.0 RCE in React Server Components and is advising users to upgrade affected packages and frameworks to patched versions now.

Research
/Security News
We spotted a wave of auto-generated “elf-*” npm packages published every two minutes from new accounts, with simple malware variants and early takedowns underway.

Security News
TypeScript 6.0 will be the last JavaScript-based major release, as the project shifts to the TypeScript 7 native toolchain with major build speedups.