Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
cypress-wikibase-api
Advanced tools
Support package for developing cypress tests that use the Wikibase API
Cypress plugin and utility functions for writing Cypress tests of Wikibase
This module contains Cypress tasks to be used in Cypress browser tests for Wikibase and its extensions.
For example, in the Cypress tests in WikibaseLexeme, we use the API to get data about an entity that we created during our testing:
lexemePage.headerId().then( ( lexemeId ) => {
cy.task( 'MwApi:GetEntityData', { entityId: lexemeId } ).then( ( lexeme ) => {
expect( lexeme.lemmas[ languageItemsLanguageCode ].value ).to.eq( lemma );
expect( lexeme.language ).to.eq( languageId );
expect( lexeme.lexicalCategory ).to.eq( lexicalCategoryId );
} );
});
When testing changes locally, you can install the checked-out module from the project that you are working on:
npm rm cypress-wikibase-api
npm i -D ~/work/cypress-wikibase-api
Please file any bugs or issues with our issue-tracker at phabricator.wikimedia.org.
For instruction of how to create a new release, please see CONTRIBUTING.md
FAQs
Support package for developing cypress tests that use the Wikibase API
The npm package cypress-wikibase-api receives a total of 110 weekly downloads. As such, cypress-wikibase-api popularity was classified as not popular.
We found that cypress-wikibase-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.