Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@console/assessment-js
Advanced tools
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
We found that @console/assessment-js demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.