-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies and include fixes due to breaking changes
- Loading branch information
1 parent
1b40fce
commit 0883c10
Showing
9 changed files
with
4,125 additions
and
4,356 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./node_modules/@magica11y/cauldron/.eslintrc.js'); | ||
module.exports = require('./node_modules/@magica11y/cauldron/.eslintrc'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,15 @@ | |
> Detects user’s preferences for contrast using the `prefers-contrast` CSS3 level 5 media query. | ||
[![Travis](https://img.shields.io/travis/com/magica11y/prefers-contrast.svg?style=for-the-badge)](https://travis-ci.com/magica11y/prefers-contrast) | ||
[![npm](https://img.shields.io/npm/v/@magica11y/prefers-contrast.svg?style=for-the-badge "NPM")](https://www.npmjs.com/package/@magica11y/prefers-contrast) | ||
[![NPM](https://img.shields.io/npm/v/@magica11y/prefers-contrast.svg?style=for-the-badge "NPM")](https://www.npmjs.com/package/@magica11y/prefers-contrast) | ||
[![Bundlephobia](https://img.shields.io/bundlephobia/min/@magica11y/prefers-contrast.svg?style=for-the-badge "Bundle size (minified)")](https://bundlephobia.com/result?p=@magica11y/prefers-contrast) | ||
[![Bundlephobia](https://img.shields.io/bundlephobia/minzip/@magica11y/prefers-contrast.svg?style=for-the-badge "Bundle size (minified+gzipped)")](https://bundlephobia.com/result?p=@magica11y/prefers-contrast) | ||
[![Coveralls](https://img.shields.io/coveralls/magica11y/prefers-contrast.svg?style=for-the-badge "Test coverage status")](https://coveralls.io/r/magica11y/prefers-contrast) | ||
[![David](https://img.shields.io/david/magica11y/prefers-contrast.svg?style=for-the-badge "Dependencies")](https://david-dm.org/magica11y/prefers-contrast) | ||
[![David](https://img.shields.io/david/dev/magica11y/prefers-contrast.svg?style=for-the-badge "Dev Dependencies")](https://david-dm.org/magica11y/prefers-contrast?type=dev) | ||
[![node](https://img.shields.io/node/v/@magica11y/prefers-contrast.svg?style=for-the-badge "Node engine")](https://www.npmjs.com/package/@magica11y/prefers-contrast) | ||
[![Coveralls](https://img.shields.io/coveralls/github/magica11y/prefers-contrast.svg?style=for-the-badge "Test coverage status")](https://coveralls.io/github/magica11y/prefers-contrast) | ||
[![David DM](https://img.shields.io/david/magica11y/prefers-contrast.svg?style=for-the-badge "Dependencies")](https://david-dm.org/magica11y/prefers-contrast) | ||
[![David DM](https://img.shields.io/david/dev/magica11y/prefers-contrast.svg?style=for-the-badge "Dev Dependencies")](https://david-dm.org/magica11y/prefers-contrast?type=dev) | ||
[![NodeJS](https://img.shields.io/node/v/@magica11y/prefers-contrast.svg?style=for-the-badge "Node engine")](https://www.npmjs.com/package/@magica11y/prefers-contrast) | ||
[![License](https://img.shields.io/github/license/magica11y/prefers-contrast.svg?style=for-the-badge "MIT license")](LICENSE.md) | ||
![Greenkeeper](https://badges.greenkeeper.io/magica11y/prefers-contrast.svg?style=flat-square "Greenkeeper") | ||
[![Snyk](https://img.shields.io/snyk/vulnerabilities/github/magica11y/prefers-contrast?style=for-the-badge "Snyk vulnerabilities status")](https://snyk.io/test/github/magica11y/prefers-contrast?targetFile=package.json) | ||
|
||
[![Magica11y cover](https://cdn.jsdelivr.net/gh/magica11y/[email protected]/assets/Magica11y-cover.jpg "Magica11y cover")](https://magica11y.github.io) | ||
|
||
|
@@ -84,7 +84,7 @@ const useHighContrastColorScheme = (contrastPreference === prefersContrast.contr | |
… or as an ES module… | ||
|
||
```js | ||
import prefersContrast, { contrastPreferences } from 'magica11y/prefersContrast'; | ||
import prefersContrast, { contrastPreferences } from '@magica11y/prefersContrast'; | ||
|
||
const contrastPreference = prefersContrast(); | ||
const useHighContrastColorScheme = (contrastPreference === contrastPreferences.HIGH); | ||
|
@@ -131,6 +131,6 @@ type (i.e. `ContrastPreference`). So using the `?` prefix to indicate nullable t | |
|
||
See [LICENSE.md](LICENSE.md) for more details. | ||
|
||
Handcrafted with :heart: by [Rishabh Rao](https://github.com/rishabhsrao). | ||
Handcrafted with :heart: by [Rishabh](https://rishabh.ink). | ||
|
||
[![Twitter](https://img.shields.io/twitter/follow/rishabhsrao.svg?style=social)](https://twitter.com/rishabhsrao) | ||
[![Twitter](https://img.shields.io/twitter/follow/rishabh_ink.svg?style=social)](https://twitter.com/rishabh_ink) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://babeljs.io/docs/en/configuration | ||
|
||
module.exports = require('./node_modules/@magica11y/cauldron/babel.config.js'); | ||
module.exports = require('./node_modules/@magica11y/cauldron/babel.config'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://jestjs.io/docs/en/configuration.html | ||
|
||
module.exports = require('./node_modules/@magica11y/cauldron/jest.config.js'); | ||
module.exports = require('./node_modules/@magica11y/cauldron/jest.config'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// See https://prettier.io/docs/en/configuration.html | ||
|
||
module.exports = require('./node_modules/@magica11y/cauldron/prettier.config.js'); | ||
module.exports = require('./node_modules/@magica11y/cauldron/prettier.config'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.