From 775670ebd5160d3363f85a3dea3937c2870d0eb6 Mon Sep 17 00:00:00 2001 From: Veeck Date: Thu, 24 Oct 2019 17:24:56 +0200 Subject: [PATCH] v3.8.0 --- CHANGELOG.md | 537 +++++++++++++++++++++++++++------------------- LICENSE | 2 +- package-lock.json | 8 +- package.json | 4 +- 4 files changed, 318 insertions(+), 233 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1572b8f6..e33dd010 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,12 +4,52 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). +#### [v3.8.0](https://github.com/Modernizr/Modernizr/compare/v3.7.1...v3.8.0) + +> 24 October 2019 + +- Fix vh unit issue on ios safari / android chrome #1805 [`#2452`](https://github.com/Modernizr/Modernizr/pull/2452) +- [BUGFIX] Prevent viewport jumping when using CSS Hyphens (#1781) [`#2369`](https://github.com/Modernizr/Modernizr/pull/2369) +- Deprecate some tests [`#2472`](https://github.com/Modernizr/Modernizr/pull/2472) +- Add new CodeOfConduct [`#2427`](https://github.com/Modernizr/Modernizr/pull/2427) +- Add support for ShadowRoot DOM api feature detect through `shadowroot` and `shadowroot-legacy` [`#2475`](https://github.com/Modernizr/Modernizr/pull/2475) +- Update dependencies and appveyor [`#2474`](https://github.com/Modernizr/Modernizr/pull/2474) +- Use addTest for some tests like inputtypes [`#2469`](https://github.com/Modernizr/Modernizr/pull/2469) +- Check if userAgent is empty [`#2471`](https://github.com/Modernizr/Modernizr/pull/2471) +- Catch exception when running in headless chrome [`#2436`](https://github.com/Modernizr/Modernizr/pull/2436) +- Bump eslint-utils from 1.3.1 to 1.4.2 [`#2467`](https://github.com/Modernizr/Modernizr/pull/2467) +- Issue 2343: Fix github.io page [`#2443`](https://github.com/Modernizr/Modernizr/pull/2443) +- Add proxy detection [`#2459`](https://github.com/Modernizr/Modernizr/pull/2459) +- emoji devicePixelRatio vs backingStorePixelRatio fixes #2419 [`#2420`](https://github.com/Modernizr/Modernizr/pull/2420) +- Added feature detect native lazy loading img [`#2453`](https://github.com/Modernizr/Modernizr/pull/2453) +- Issue 2406: Update jquery [`#2448`](https://github.com/Modernizr/Modernizr/pull/2448) +- Use gulp for the dev pipeline [`#2429`](https://github.com/Modernizr/Modernizr/pull/2429) +- Add domPrefixesAll helper method [`#2442`](https://github.com/Modernizr/Modernizr/pull/2442) +- fix datachannel #2307 [`#2437`](https://github.com/Modernizr/Modernizr/pull/2437) +- Tweak testProps.js documentation to avoid misreading [`#2426`](https://github.com/Modernizr/Modernizr/pull/2426) +- [BUGFIX] Prevent viewport jumping when using CSS Hyphens (#1781) (#2369) [`#1781`](https://github.com/Modernizr/Modernizr/issues/1781) +- emoji devicePixelRatio vs backingStorePixelRatio fixes #2419 (#2420) [`#2419`](https://github.com/Modernizr/Modernizr/issues/2419) +- Use gulp for the dev pipeline (#2429) [`#2332`](https://github.com/Modernizr/Modernizr/issues/2332) +- Update dependencies [`8982d5b`](https://github.com/Modernizr/Modernizr/commit/8982d5bc9cada7e04c68292002c45da072e134ae) +- Add script for serving the gh-pages (and therefore the browser tests) locally [`6daed0f`](https://github.com/Modernizr/Modernizr/commit/6daed0f623890706d3814c46226573d2cc2b39e8) +- Update main entry in package.json [`377a630`](https://github.com/Modernizr/Modernizr/commit/377a6303b3b6d400979eeae351e1dcf43972eef4) +- Update dependencies [`569b682`](https://github.com/Modernizr/Modernizr/commit/569b6824bebed3eb6cec50eb42434a05f147d3c9) +- Cleanups after switch to gulp, move some legacy files into own directory for reference, store some test files in tmp directory [`c47441b`](https://github.com/Modernizr/Modernizr/commit/c47441be1f346f6f60a3d4edf11a8849307ec2b7) +- Fix typo in README, Update dependencies and gitignore [`a335662`](https://github.com/Modernizr/Modernizr/commit/a335662549432100b5bd70833ccd45375532b77f) +- Cleanup TODO tags, update dependencies [`8c5b557`](https://github.com/Modernizr/Modernizr/commit/8c5b557c8b903ab73a5a66645e7775670b14a0e0) +- Add npm shortcuts to some gulp tasks [`332a68b`](https://github.com/Modernizr/Modernizr/commit/332a68b8270c29479225d32bb1e9520f47ccdcfe) +- Check for multi-spaces with eslint, fix those and cleanup some DOCs and notes [`6a2f425`](https://github.com/Modernizr/Modernizr/commit/6a2f4256d86876edf23f9123c9db8fbc55d00517) +- Add npm badge to README [`1b95490`](https://github.com/Modernizr/Modernizr/commit/1b9549035dbed6ebbd07443513aa03abfeb9c2dd) +- Fix double DOC entry [`7599d26`](https://github.com/Modernizr/Modernizr/commit/7599d26b7fd49cacad297cd3cf824b9133d76d69) +- Exit with non-zero status if there were failures [`1818d61`](https://github.com/Modernizr/Modernizr/commit/1818d61a02e02feca59119ddddb730e11e160e9f) +- Add coveralls badge [`4ee23c7`](https://github.com/Modernizr/Modernizr/commit/4ee23c7f6d3a8ff3dcbc48fa87e4b3d2d3e27833) + #### [v3.7.1](https://github.com/Modernizr/Modernizr/compare/v3.7.0...v3.7.1) > 14 March 2019 - Switch to markdown-it from remarkable [`#2424`](https://github.com/Modernizr/Modernizr/pull/2424) -- Fix touch event detection for Chrome >= 70, see https://www.chromestatus.com/feature/4764225348042752 [`#2409`](https://github.com/Modernizr/Modernizr/pull/2409) +- Fix touch event detection for Chrome >= 70, see https://www.chromestatus.com/feature/4764225348042752 [`#2409`](https://github.com/Modernizr/Modernizr/pull/2409) - Move find-parent-dir into devDependencies, since its only used in tests. [`6f34ec8`](https://github.com/Modernizr/Modernizr/commit/6f34ec8266a5368792eaa65b7e63a82ec955ab7e) - Add missing tests to default config file [`342bcd5`](https://github.com/Modernizr/Modernizr/commit/342bcd5a883c801726605086b1d13f76fe4eac6b) - Add minify: false to default config, it is the current behaviour anyway [`b66558e`](https://github.com/Modernizr/Modernizr/commit/b66558ed7a90ed14cbe336e5408f96a9a947f574) @@ -42,7 +82,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Fixed csshypens detection on FireFox and Safari. [`#2345`](https://github.com/Modernizr/Modernizr/pull/2345) - Added test for postMessage structured clones. fixes Modernizr/Modernizr#388 [`#1250`](https://github.com/Modernizr/Modernizr/pull/1250) - Add audio autoplay feature detect [`#2185`](https://github.com/Modernizr/Modernizr/pull/2185) -- Replace text-justification -> text-justify [`#2339`](https://github.com/Modernizr/Modernizr/pull/2339) +- Replace text-justification -> text-justify [`#2339`](https://github.com/Modernizr/Modernizr/pull/2339) - Update eslint [`#2348`](https://github.com/Modernizr/Modernizr/pull/2348) - Update require js, Uglify2 is now the default minifier (and therefore simply called uglify) (see http://jrburke.com/2016/03/17/requirejs-2.2-alameda-1.0-released/) [`#2344`](https://github.com/Modernizr/Modernizr/pull/2344) - add Media Source Extension API feature dectection [`#2233`](https://github.com/Modernizr/Modernizr/pull/2233) @@ -68,6 +108,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Update eslint [`#2304`](https://github.com/Modernizr/Modernizr/pull/2304) - Cleanup and Update some dependencies [`#2294`](https://github.com/Modernizr/Modernizr/pull/2294) - touchevents: Use mq in touch event detection. [`#2309`](https://github.com/Modernizr/Modernizr/pull/2309) +- fix #1663 - Configuration Options not working (#2413) [`#1663`](https://github.com/Modernizr/Modernizr/issues/1663) +- Fix IE caniuse conflict for svgasimg (#2397) [`#2386`](https://github.com/Modernizr/Modernizr/issues/2386) +- Autogenerate info for license file (#2353) [`#2289`](https://github.com/Modernizr/Modernizr/issues/2289) +- Correctly define prefixes, fixes #2119 (#2341) [`#2119`](https://github.com/Modernizr/Modernizr/issues/2119) +- Fix #2325 (#2326) [`#2325`](https://github.com/Modernizr/Modernizr/issues/2325) +- Remove some no-op code in webgl.js (#2318) [`#2300`](https://github.com/Modernizr/Modernizr/issues/2300) +- Passive event listener detection causes error for EdgeHTML 15 (close #2298) (#2299) [`#2298`](https://github.com/Modernizr/Modernizr/issues/2298) - Cleanup some extra whitespace [`4d10f04`](https://github.com/Modernizr/Modernizr/commit/4d10f046a8aab199fe6a73a85779a2b92717afc3) - Add task to serve test-directory for test results [`f933bf7`](https://github.com/Modernizr/Modernizr/commit/f933bf7ebef45e2e5ef9a3391b6b2b68a31aa7f8) - Update dependencies, Remove unused greenkeeper entry [`9bae119`](https://github.com/Modernizr/Modernizr/commit/9bae119d57827aa1c3e6ac0a7168eae5115047a6) @@ -93,6 +140,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - chore(readme): fix missing COC link [`#2211`](https://github.com/Modernizr/Modernizr/pull/2211) - Update autoplay.js [`#2207`](https://github.com/Modernizr/Modernizr/pull/2207) - Update hairline.js [`#2198`](https://github.com/Modernizr/Modernizr/pull/2198) +- Brought across @myakura's code changes to fix #1812 (#2250) [`#1812`](https://github.com/Modernizr/Modernizr/issues/1812) +- Add test for CSS `:focus-within` pseudo-selector (#2287) [`#2270`](https://github.com/Modernizr/Modernizr/issues/2270) +- Update version number in License file (#2279) [`#2165`](https://github.com/Modernizr/Modernizr/issues/2165) - tag 3.6.0 [`9120b22`](https://github.com/Modernizr/Modernizr/commit/9120b2214dcbbe200192c76f07582e7f5543110f) #### [v3.5.0](https://github.com/Modernizr/Modernizr/compare/v3.4.0...v3.5.0) @@ -118,7 +168,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Feature detect: CSS Transforms Level 2. Fixes #1625. [`#2100`](https://github.com/Modernizr/Modernizr/pull/2100) - Fix false positive IndexedDB Blob test on iOS 10 [`#2102`](https://github.com/Modernizr/Modernizr/pull/2102) - Fix minor typos in comment block [`#2128`](https://github.com/Modernizr/Modernizr/pull/2128) -- contains => includes (String.prototype) [`#2136`](https://github.com/Modernizr/Modernizr/pull/2136) +- contains => includes (String.prototype) [`#2136`](https://github.com/Modernizr/Modernizr/pull/2136) - Update proxyquire to version 1.7.11 🚀 [`#2150`](https://github.com/Modernizr/Modernizr/pull/2150) - Update supports.js [`#2097`](https://github.com/Modernizr/Modernizr/pull/2097) - 👻😱 Node.js 0.10 is unmaintained 😱👻 [`#2115`](https://github.com/Modernizr/Modernizr/pull/2115) @@ -142,7 +192,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - allow for setClasses to be included via cli flag [`#2043`](https://github.com/Modernizr/Modernizr/pull/2043) - chore(package): update lodash to version 4.14.0 [`#2038`](https://github.com/Modernizr/Modernizr/pull/2038) - chore(package): update yargs to version 4.8.1 [`#2033`](https://github.com/Modernizr/Modernizr/pull/2033) -- Check for >=6 as chrome rounds down value when page is zoomed [`#2005`](https://github.com/Modernizr/Modernizr/pull/2005) +- Check for >=6 as chrome rounds down value when page is zoomed [`#2005`](https://github.com/Modernizr/Modernizr/pull/2005) - alias svgasimg to svgincss [`#2031`](https://github.com/Modernizr/Modernizr/pull/2031) - IndexedDB detection tests for indexedDB.open [`#2030`](https://github.com/Modernizr/Modernizr/pull/2030) - history APIs should be false on file:// uris [`#2029`](https://github.com/Modernizr/Modernizr/pull/2029) @@ -217,13 +267,18 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Add semicolons to avoid unicode feature-detect generating typos [`#1823`](https://github.com/Modernizr/Modernizr/pull/1823) - Update grunt-contrib-jshint to version 0.12.0 🚀 [`#1843`](https://github.com/Modernizr/Modernizr/pull/1843) - Update yargs to version 3.32.0 🚀 [`#1840`](https://github.com/Modernizr/Modernizr/pull/1840) +- Merge pull request #2095 from PikadudeNo1/patch-1 [`#1851`](https://github.com/Modernizr/Modernizr/issues/1851) +- Merge pull request #2100 from rupl/csstransforms-level2 [`#1625`](https://github.com/Modernizr/Modernizr/issues/1625) - Update readme.md [`#2047`](https://github.com/Modernizr/Modernizr/issues/2047) - Check if the put request is successful. [`#2101`](https://github.com/Modernizr/Modernizr/issues/2101) - Remove blacklisting of old Android from fontface.js. Closes #1851 [`#1851`](https://github.com/Modernizr/Modernizr/issues/1851) - Repair detect regions [`#2079`](https://github.com/Modernizr/Modernizr/issues/2079) +- IndexedDB detection tests for indexedDB.open (#2030) [`#1390`](https://github.com/Modernizr/Modernizr/issues/1390) +- history APIs should be false on file:// uris (#2029) [`#1592`](https://github.com/Modernizr/Modernizr/issues/1592) - add detects for hover and pointer mediq queries [`#664`](https://github.com/Modernizr/Modernizr/issues/664) - update incorrect metadata [`#2011`](https://github.com/Modernizr/Modernizr/issues/2011) - closes #1961 [`#1961`](https://github.com/Modernizr/Modernizr/issues/1961) +- Merge pull request #1919 from roblarsen/windows-cli [`#1910`](https://github.com/Modernizr/Modernizr/issues/1910) - fix usePrefixes for some detects. [`#1852`](https://github.com/Modernizr/Modernizr/issues/1852) - remove stale jshint control comments [`9f4f44b`](https://github.com/Modernizr/Modernizr/commit/9f4f44bb4906718f85ac6b5a9636d1e71897375a) - whoops [`ff9fe4b`](https://github.com/Modernizr/Modernizr/commit/ff9fe4b3421f1ef7c704b8479bb09f7ab7fc4af7) @@ -293,6 +348,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Fix IndexedDB check in Firefox with disabled cookies [`#1831`](https://github.com/Modernizr/Modernizr/pull/1831) - Update jquery to version 1.12.0 🚀 [`#1828`](https://github.com/Modernizr/Modernizr/pull/1828) - add comment documenting the purpose of the heartz string, closes #1814 [`#1814`](https://github.com/Modernizr/Modernizr/issues/1814) +- Merge pull request #1833 from patrickkettner/fix-global-config-leak [`#1832`](https://github.com/Modernizr/Modernizr/issues/1832) - create a requireConfig instance per build call. fixes #1832 [`#1832`](https://github.com/Modernizr/Modernizr/issues/1832) - chore(package): update lodash to version 4.0.0 [`4738f5a`](https://github.com/Modernizr/Modernizr/commit/4738f5a957e1ecd25850007293f5c8c59cf03bbe) - Remove unnecessary assignment [`715d60b`](https://github.com/Modernizr/Modernizr/commit/715d60bdd68c6235783737d0895bbfa3179319be) @@ -341,6 +397,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Fix dependency name ordering in css/filters test [`#1744`](https://github.com/Modernizr/Modernizr/pull/1744) - Specifiy codec name when check support of mp3 [`#1740`](https://github.com/Modernizr/Modernizr/pull/1740) - Update joi to version 6.10.0 🚀 [`#1738`](https://github.com/Modernizr/Modernizr/pull/1738) +- Merge pull request #1813 from alexgibson/update-web-notifications-test [`#1660`](https://github.com/Modernizr/Modernizr/issues/1660) - Fix false positive in Notifications test for Chrome on Android (fixes #1660) [`#1660`](https://github.com/Modernizr/Modernizr/issues/1660) - chore(package): update grunt-jscs to version 2.3.0 [`2373539`](https://github.com/Modernizr/Modernizr/commit/2373539b1226204d48e23a4869573d84c9017817) - Add Feature Detect for Force Touch (AKA 3d Touch) [`93ceb13`](https://github.com/Modernizr/Modernizr/commit/93ceb130d6b6128c1a243c0b726719f745e2cfd2) @@ -399,6 +456,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Update joi to version 6.9.1 🚀 [`#1713`](https://github.com/Modernizr/Modernizr/pull/1713) - fix spelling in command help [`#1708`](https://github.com/Modernizr/Modernizr/pull/1708) - Update yargs to version 3.27.0 🚀 [`#1705`](https://github.com/Modernizr/Modernizr/pull/1705) +- Merge pull request #1514 from ryanhughes/firefox-css-hyphens [`#1438`](https://github.com/Modernizr/Modernizr/issues/1438) +- Merge pull request #1622 from TRowbotham/master [`#1621`](https://github.com/Modernizr/Modernizr/issues/1621) - Adds hasOwnProperty check to testRunner [`cbbd1c5`](https://github.com/Modernizr/Modernizr/commit/cbbd1c55e64f13f57ccef905456dc7bfb73991c0) - Fix audio preload on iOS (reviewed) [`055ab50`](https://github.com/Modernizr/Modernizr/commit/055ab500ce4af93082aa88ffd69c2bb90943044e) - fix style issue [`ce6c8b6`](https://github.com/Modernizr/Modernizr/commit/ce6c8b69b2cf8f64713031d3e9cb0b6069c1b943) @@ -646,7 +705,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - update border-image knownbugs to include android 1.*'s buggy rendering [`#1130`](https://github.com/Modernizr/Modernizr/pull/1130) - change vw/vh tests to clientWidth rather than innerWidth in case of [`#1084`](https://github.com/Modernizr/Modernizr/pull/1084) - add vp9 detect [`#1100`](https://github.com/Modernizr/Modernizr/pull/1100) -- Fixing typo, flexbox -> flexwrap [`#1128`](https://github.com/Modernizr/Modernizr/pull/1128) +- Fixing typo, flexbox -> flexwrap [`#1128`](https://github.com/Modernizr/Modernizr/pull/1128) - add srcset test [`#1105`](https://github.com/Modernizr/Modernizr/pull/1105) - Updated config-all.json [`#1121`](https://github.com/Modernizr/Modernizr/pull/1121) - Reverting PR #874 [`#1122`](https://github.com/Modernizr/Modernizr/pull/1122) @@ -712,7 +771,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Add Async Event Support [`#921`](https://github.com/Modernizr/Modernizr/pull/921) - Improved 'csspointerevents' test [`#924`](https://github.com/Modernizr/Modernizr/pull/924) - Detect ES5 features [`#901`](https://github.com/Modernizr/Modernizr/pull/901) -- Add detect for SVG in `` tag [`#913`](https://github.com/Modernizr/Modernizr/pull/913) +- Add detect for SVG in `<img>` tag [`#913`](https://github.com/Modernizr/Modernizr/pull/913) - Update WebSockets detection [`#912`](https://github.com/Modernizr/Modernizr/pull/912) - HTML Media Capture attribute test [`#909`](https://github.com/Modernizr/Modernizr/pull/909) - Added knownBug report of Modernizr.touchevents false-positive on some BB6 builds [`#910`](https://github.com/Modernizr/Modernizr/pull/910) @@ -738,7 +797,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). - Fixed test fails [`#1`](https://github.com/Modernizr/Modernizr/pull/1) - Take data out of comments and put it into data blocks up top. [`#846`](https://github.com/Modernizr/Modernizr/pull/846) - A fixe for the build output. Plus some free meta data. [`#843`](https://github.com/Modernizr/Modernizr/pull/843) -- Added detect for