Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

browserslist-config-wikimedia

Package Overview
Dependencies
Maintainers
5
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserslist-config-wikimedia

Wikimedia shareable Browserslist configuration

  • 0.7.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
18K
decreased by-17.91%
Maintainers
5
Weekly downloads
 
Created
Source

Wikimedia Browserslist browserslist-config-wikimedia

Shareable Browserslist configuration for Wikimedia projects.

Configuration list to target the Wikimedia and MediaWiki supported browsers.

Install

$ npm install --save-dev browserslist-config-wikimedia

Use

  1. To use this package in an application, add this to your package.json:
{
	"browserslist": [
		"extends browserslist-config-wikimedia/modern"
	]
}
  1. Or add this line into your Browserslist config file .browserslistrc:
extends browserslist-config-wikimedia/modern
  1. To manually configure a tool that uses Browserslist, importing this package returns the array of supported browsers.

For example, when configuring @babel/preset-env via JavaScript:

{
  presets: [
	[ 'env', {
		targets: {
			browsers: require( 'browserslist-config-wikimedia/modern' )
		}
	} ]
  ]
}
  1. To override or slightly adapt one of the available Browserslist configurations, modern or basic, add your overrides to the list. Exemplified with .browerslistrc:
extends browserslist-config-wikimedia/basic
not Android <= 8

License

This is available under the MIT LICENSE.

Keywords

FAQs

Package last updated on 23 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc