284 Commits

Author SHA1 Message Date
Alex Neises
44fa7b07c3 Added BroadcastChannel (#2734) 2023-12-20 08:22:21 +01:00
Debadutta Panda
59ab0b3d15 Added detection of type worker option and aspect ratio (#2702)
* added detection of workeroption and aspectratio css property

* update aspectration.js rename workeroptions.js to workertypeoption.js update config-all.json and caniuse.js and all testcase passed

* update caniuse

* revert package-lock.json file

* apply requested changes on both files
2022-10-16 21:18:43 +02:00
dawidkulpa
4d36bb24f4 Adds PushManager feature detection #2703 (#2708)
* Adds PushManager feature detection

* Fixes author metadata
2022-10-16 21:03:09 +02:00
Edu Saborit
a8a24bf18d Add test for :focus-visible and fix wrong references in :focus-within (#2665)
* Create focusvisible.js

* Fix wrong reference to CSS focus-within feature

* Fix wrong reference for CSS focus-within feature

* Add css-focus-visible to caniuse integration tests

* Include focusvisible in config-all.json

* Add authors tag to focusvisible.js
2021-10-14 20:28:06 +02:00
Onkar Dahale
049b6cae45 Mediastream feature detect (#2669)
* Create mediastream.js

* added mediarecorder as test

* Update config-all.json

* Added metadata to mediastream.js

* Update mediastream.js

* Removed extra line, added a new tag 'media'

* moved mediastream.js to /webrtc dir

* Update config-all.json
2021-10-14 14:04:04 +02:00
Hélio Correia
594c996c18 Add a|area[ping] detection (#2671)
* Add a|area[ping] detect

* add aping|areaping to integration tests

* Add author tag
2021-10-13 21:40:12 +02:00
rejas
d4c7b60827 Cleanups
- Move codecov config into subdirectory
- Add notes for required node version
- Update dependencies
- Small code style cleanups
2021-08-28 12:52:13 +02:00
Michael Telatynski
313a7ade28 Fix config generation when minifying (#2657)
Co-authored-by: rejas <github@veeck.de>
2021-08-17 16:46:06 +02:00
Veeck
08ab91b828 Cleanup feature detects (#2639)
* Move tests with storage tag into that subdirectory

* Move tests with canvas tag into that subdirectory

* Move tests with image tag into that subdirectory

* Fix error

* Fix typo

* Move audio test into audio subdirectory

* Move battery test into that subdirectory

* Move canvas test into that subdirectory

* Move video test into that subdirectory

* Update dependencies

* Move form and input tests into input subdirectory

* Update dependencies again

* Move webgl, svg and event tests into subdirectories

* Update README
2021-03-10 08:18:51 +01:00
Tan Zhen Yong
dc2fd4efe2 Add feature detection for IndexedDB 2.0 (#2607) 2020-10-28 14:32:38 +01:00
Jordan Tepper
67eb032be2 Add detect/tests for prefetch (#2610)
* Add detect/tests for prefetch

* Move to link directory

* Add in check for ie11 edge case
2020-10-26 07:50:42 +01:00
Aditya Zope
3ccc7f1036 Add valid chars test for the property of metadata (#2601)
* Add check for metadata.property to be lowercase

* Improve test for metadata.property values

* Refactor to keep polyfill test block
2020-09-08 10:23:44 +02:00
Guilherme Simoes
bd06d5a713 Remove old test for String.prototype.contains (#2600)
> "includes" was originally going to be named "contains". Unfortunately
> (...) Array.prototype.contains was used by Mootools in a way that
> caused this to be a breaking change. If you don't remember Mootools,
> at one point it was a pretty popular framework. It's not heavily used
> now, but a ton of sites on the web were built with it and have used it
> for years without active maintenance. It is abandoned but valuable.
> This would break them overnight. The standards committee decided to
> prioritize a functional web over the perfect syntax, and instead
> changed "contains" to "includes" to preserve functionality that
> everyone expected to just keep working.

For more information:
https://www.telerik.com/blogs/web-going-2016#toc_4

Also notice that
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/contains
redirects to
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes
2020-09-06 14:17:27 +02:00
Chris Smith
ef2814687b Add detection for support of scrollToOptions mode of window.scrollTo() (#2575) 2020-08-27 13:40:44 +02:00
Markel F
ffad3e7aef Add Clipboard API (#2573)
* Add Clipboard API testing

* Implement sub-modules (but badly)

* Solve ESLint errors 🙄

* Improve the sub-properties detection

* Move feature detect location
2020-07-23 12:05:07 +02:00
Markel F
f81995d50f Fill the documentation (#2561)
* Create metadata.md

* Update the table

* Added builderAliases

* Updated aliases

* Added relative links + should not mentions

* Notes edits

* Remove authors note

* Rename file

Also changed the header levels to accomodate the new title/purpose

* Added introduction

* Revert "Added introduction"

This reverts commit 98005b1475.

* Sorry, signature problems

* Make some sentences a little bit more clear

* Add testing section

* Solve necessity typo

* Markdownlint executed

* Add Verify Your Tests section

* Install the Basics

* Restructure verify your tests section

* Add polyfills section

* Readability improvements

* Added submitting a PR section

* Table of contents fix

* Solve extra enter

* Fix link and correct polyfill name
2020-07-02 22:37:49 +02:00
Christian Andersson
22553679e5 Add support for ResizeObserver (#2582) 2020-07-02 22:17:32 +02:00
Markel F
d31f4a000d Solve some polyfill link issues (#2576)
* Delete broken links, fix redirects

* Removed 2 dead repositories

* Replace github http links with https

* Upgrade to https

* Solve metadata errors

* Restore css3pie
2020-06-24 21:35:36 +02:00
Markel F
fa7149c1fe Decrapt datalist.js (#2569) 2020-05-29 10:34:11 +02:00
Markel F
59f35a14c5 Add avif detection (#2539)
* Add avif detection

* Add tests

Both the integration test and the caniuse test

* Add polyfill
2020-05-05 14:57:26 +02:00
Markel F
7981322718 Require minimal values for metadata (#2551)
* Throw warning if metadata is not present

* Some extra comments added

* Change to error and tests fixed

* Change some test names
2020-05-03 09:13:50 +02:00
Veeck
870cf370ab Remove tests that were deprecated or duplicates (#2543)
* Remove tests that were deprecated or duplicates

* Review fix, use old name again
2020-04-27 20:03:38 +02:00
David BRETIN
5a784e7978 ES6: class (#2532)
* Create es6/class.js

* Modify 'config-all.json' for adding "es6/class"
2020-04-10 12:26:55 +02:00
David BRETIN
8b601245ed ES8: object (#2533)
* Create es8/object.js

* Modify 'config-all.json' for adding "es8/object"
2020-04-10 12:26:31 +02:00
David BRETIN
305868c20f Add feature-detect for TextEncoder and TextDecoder (#2531)
* textencoding.js

* Modify 'config-all.json' for adding "textencoding"
2020-04-08 11:14:41 +02:00
Veeck
2318c1307d Use eslint:recommended, cleanup warnings (#2527)
* Use eslint:recommended, cleanup warnings

* Update mkdirp
2020-04-03 08:40:09 +02:00
Tomer Hadad
9fb1097f64 fix issue #2520 - set scriptGlobalName causing an exception (#2521)
* fix issue #2520 - set scriptGlobalName causing an exception

* fix tests

Co-authored-by: tomer <tomer@securedtouch.com>
2020-03-23 11:33:46 +01:00
David BRETIN
49dc9d38e8 ES6 rest parameters test (#2516)
* ES6 rest parameters test

* Modify 'config-all.json' for adding "es6/rest-parameters"

* Indentation format

* Add caniuse tag

* Add spec link
2020-03-19 21:20:01 +01:00
David BRETIN
46efd67df3 ES7 - rest destructuring (#2517)
* ES7 - rest destructuring

* Modify 'config-all.json' for adding "es7/rest-destructuring"

* Indentation correction

* Create 2 checks for array and object

* Correct caniuse tag (cannot be a string array)
2020-03-19 19:27:23 +01:00
David BRETIN
610d2ceb2e ES6 - Spread syntax check (#2522)
* ES6 Spread check

* Modify 'config-all.json' for adding "es6/spread"

* Change "spread" -> "spread-array" (prepare ES7 spread object check)

* Change "es6/spread" to "es6/spread-array"

* Correct caniuse tag

* Move warning in correct section
2020-03-19 19:08:11 +01:00
David BRETIN
aabfaa64a4 ES7 - spread object (#2523)
* Check for ES7 spread object

* Modify 'config-all.json' for adding "es7/spread-object"
2020-03-19 17:37:43 +01:00
David BRETIN
0c23810831 ES6 - String template (#2518)
* ES6 String template

* Rename string-template to string-template.js

* Modify 'config-all.json' for adding "es6/string-template"

* Add caniuse tag

* Convert double equals to triple equals
2020-03-17 10:06:28 +01:00
David BRETIN
5e5f94bed0 ES7 array test (includes method) (#2515)
* ES7 array test (includes method)

* Strings must use singlequote

* Indentation format

* Modify 'config-all.json' for adding "es7/array"
2020-03-13 12:34:31 +01:00
buhi
f4d3aa0b3c feature detects for ES6 Symbol; (#2487)
* feature detects for ES6 Symbol;

* Add caniuse tag

Co-authored-by: Veeck <github@veeck.de>
2019-12-30 13:00:38 +01:00
Chris Smith
04ca29b3bf Add detection for gap CSS property for flexbox (#2485)
* Add detection for `gap` CSS property for flexbox

* Fix linting errors

* Fixed usage of createElement and docElement. Added test to config-all.json.

* Fix indentation. Add my name to authors list :)

* Authors should be an array.
2019-12-18 16:28:26 +01:00
Veeck
4aeac3d045 Deprecate some tests (#2472)
* Mark touchevents and unicode tests as deprecated

* Add documentation

* Deprecated with v4.0

* Fix typo

Co-Authored-By: Paul Irish <paul.irish@gmail.com>

* Update docs

* Update dependencies
2019-10-23 14:11:21 +02:00
Pascal Lim
d11cd99ac0 Add support for ShadowRoot DOM api feature detect through shadowroot and shadowroot-legacy (#2475)
Co-authored-by: Kevin Coyle <kevin.coyle@theuniprogroup.com>
2019-10-05 21:38:31 +02:00
Veeck
8c3cb1c5dd Issue 2343: Fix github.io page (#2443)
* Add script to prepare and deploy gh-pages

* Cleanup other script names

* Only copy neccessary files

* More copying and cleanups

* Switch to gulp

* Update dependencies

* Make that gulp flow actually work

* Update README
2019-06-25 00:11:16 +02:00
Brock Beaudry
d9305feab7 Add proxy detection (#2459)
* Add proxy detection

* Add Proxy polyfill

* Remove 'dom' tag and add author
2019-06-25 00:08:49 +02:00
rejas
8c5b557c8b Cleanup TODO tags, update dependencies 2019-06-16 09:24:48 +02:00
Georgy Perepecho
7231dd32a3 Added feature detect native lazy loading img (#2453)
* added feature detect native lazy load img

* change description for native lazy loading detection

* rename loading to lazyloading
2019-05-28 09:09:03 +02:00
Veeck
6a2f4256d8 Check for multi-spaces with eslint, fix those and cleanup some DOCs and notes 2019-04-18 17:54:02 +02:00
Veeck
b7454c3aa7 Switch to markdown-it from remarkable (#2424) 2019-03-14 18:29:49 +02:00
Veeck
b66558ed7a Add minify: false to default config, it is the current behaviour anyway 2019-03-02 08:49:45 +01:00
Veeck
342bcd5a88 Add missing tests to default config file 2019-02-28 11:05:17 +01:00
Veeck
8f37d1f3db fix #1663 - Configuration Options not working (#2413) 2019-02-26 22:34:36 +01:00
Eric Delia
e8bb3494af Adding PublicKeyCredential feature detect for webauthn (#2393)
* Adding PublicKeyCredential feature detect for webauthn

* Undoing package-lock.json, adding author tag
2018-11-12 11:50:42 +01:00
Ivan Nikolić
bd34db8bd7 Autogenerate info for license file (#2353)
Closes #2289.
2018-10-20 12:22:21 +02:00
Eric Delia
e14a7ae9a8 Adding feature detection for navigator.connection.effectiveType (#2381) 2018-10-20 12:16:24 +02:00
Mike Reinstein
d43ead3fac option to specify global var name to attach modernizr to #2362 (#2363)
* add option to specificy global variable name to attach modernizr to #2362

* add tests for scriptGlobalName #2362

* add command line option for script global name #2362
2018-08-13 09:18:24 -07:00