![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@console/assessment-js
Advanced tools
Readme
This will assess your familiarity with vanilla Javascript. It will mainly test your ability and understanding working with collections.
It will cover the following concepts:
Requirements
./index.js
What to do
npm install --production
./index.js
to make the tests in __tests__/index.js
passnpm run test
npm run test:watch
while you developScoring
Assessment Criteria
Given an array of objects, create a new array where the objects inside don't include the supplied properties.
Note: object mutation is fine here.
Given an array of objects, create a new array which excludes objects based on a supplied property.
Compute sums based on deep properties.
Create a function which creates an array of objects where each object includes its matching status code. The association between colors and status codes are supplied as the first argument where the keys identify the colors, and the values are arrays of status codes matching the color. You can assume that a status code can only belong to one color.
Constraints
if
or switch
statements
to find the appropriate color.Figure out what to do from the test.
Create a function which adds default properties to an object if necessary.
Create a function that fetches a user by name, the user's company and a status.
./__tests__/__helpers__/p7.js
FAQs
JS Assessment
The npm package @console/assessment-js receives a total of 19 weekly downloads. As such, @console/assessment-js popularity was classified as not popular.
We found that @console/assessment-js demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 86 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.