canvas-lms/packages/browserslist-config-canvas-lms
Ryan Shaw 644e5bb4f1 rename canvas-supported-browsers to browserslist-config-canvas-lms
this is to get it to work with how browserslist/autoprefixer/babel/
@instructure/ui-babel-preset expect things to work.

We had to change the name because 
https://github.com/browserslist/browserslist#shareable-configs
Says:
For security reasons, external configuration only supports packages that
have the browserslist-config- prefix. npm scoped packages are also 
supported, by naming or prefixing the module with 
@scope/browserslist-config, such as @scope/browserslist-config or 
@scope/browserslist-config-mycompany

And we have to add:
"browserslist": ["extends @instructure/browserslist-config-canvas-lms"],
to all of our package.jsons that use @instructure/ui-babel-preset 
because that by default will use 
"extends @instructure/browserslist-config-instructure—ui" which would
still do all the stuff for IE11

Test plan:
* run `yarn`
* all those errors about browserslist and postcss should not show uo

* look at the code in public/dist for canvas-planner,
* It should not include regenerator-runtime and you should see native
  `async` functions

Change-Id: Ic84c13ac59d58963c12b8365b3068b5da3ee618d
Reviewed-on: https://gerrit.instructure.com/204251
Tested-by: Jenkins
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2019-08-08 20:12:31 +00:00
..
LICENSE rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
README.md rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
index.js rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
package.json rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00

README.md

supported-browsers

The list of browsers that should be supported by Canvas LMS and all the products that are part of the Canvas Ecosystem

Canvas supports the current and first previous major releases of the following browsers:

  • Chrome
  • Firefox (Extended Releases are not supported)
  • Internet Explorer 11 (_Windows only—_functionally supported; may exhibit slight visual differences from other browsers, but these differences do not restrict product functionality or accessibility)
  • Edge (Windows only)
  • Respondus Lockdown Browser (supporting the latest system requirements)
  • Safari (Macintosh only)

Because browsers are constantly releasing new versions, the actual version numbers that "current and first previous major release" translates to will change over time. click here to see what that currently means

If you are using one of the mainstream browsers that updates itself automatically (eg: Chrome, Firefox, Microsoft Edge or Safari), you should not ever have to worry about this.