Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
airtap-match-browsers
Advanced tools
Readme
Match browser manifests to a desired set of browsers.
Replacessauce-browsers
in conjunction withairtap-sauce-browsers
.
const sauce = require('airtap-sauce-browsers').promise
const match = require('airtap-match-browsers')
// Browsers available on Sauce Labs, as manifests
const available = await sauce()
// Browsers that we want, by manifest properties
const wanted = [
{ name: 'firefox', platform: 'linux' },
{ name: 'chrome', version: '78..latest' },
{ name: 'ios safari', version: '13' }
]
// Find matches
const manifests = match(available, wanted)
name
Required, must be a string. Matched loosely using browser-names
.
version
Defaults to "latest". Supported forms (compatible with Zuul & Airtap):
<start>..<end>
, where start
and end
are either a version or a keyword. This will result in one or more matches.-<n>..latest
, for example -1..latest
which means the last 2 numeric versions.oldest..latest
excludes "dev" and latest..dev
includes e.g. latest, "beta" and "dev".If a manifest doesn't have a version
, it behaves like a prerelease.
platform
and any other (nested) propertyYet to document. A quick example:
const manifests = match(available, [{
name: 'chrome for android',
version: '10',
capabilities: {
appium: {
// Select a specific emulator (case-insensitive)
deviceName: 'google pixel 3a googleapi emulator'
}
}
}])
Yet to document.
Yet to document.
With npm do:
npm install airtap-match-browsers
MIT © 2020-present Vincent Weevers
FAQs
Match browser manifests to a desired set of browsers
The npm package airtap-match-browsers receives a total of 1,215 weekly downloads. As such, airtap-match-browsers popularity was classified as popular.
We found that airtap-match-browsers 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.