customizr 2.0.0 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,112 +5,118 @@
5
5
  .blobconstructor,
6
6
  .no-canvas,
7
7
  .canvastext,
8
- .no-contenteditable,
9
- .contextmenu,
10
- .no-cookies,
11
- .cors,
12
- .no-cryptography,
13
- .customelements,
14
- .no-customprotocolhandler,
15
- .customevent,
16
- .no-dart,
17
- .dataview,
18
- .no-emoji,
19
- .eventlistener,
20
- .no-exiforientation,
21
- .flash,
22
- .no-forcetouch,
23
- .fullscreen,
24
- .no-gamepads,
25
- .geolocation,
26
- .no-hashchange,
27
- .hiddenscroll,
28
- .no-history,
29
- .htmlimports,
30
- .no-ie8compat,
31
- .indexeddb,
32
- .no-indexeddbblob,
33
- .input,
34
- .no-inputsearchevent,
35
- .inputtypes,
36
- .no-intl,
37
- .json,
38
- .no-ligatures,
39
- .olreversed,
40
- .no-mathml,
41
- .mediasource,
42
- .no-messagechannel,
43
- .notification,
44
- .no-pagevisibility,
45
- .performance,
46
- .no-pointerevents,
47
- .pointerlock,
48
- .no-postmessage,
49
- .proximity,
50
- .no-Proxy,
51
- .queryselector,
52
- .no-quotamanagement,
53
- .requestanimationframe,
8
+ .no-clipboard,
9
+ .contenteditable,
10
+ .no-contextmenu,
11
+ .cookies,
12
+ .no-cors,
13
+ .cryptography,
14
+ .no-customelements,
15
+ .customprotocolhandler,
16
+ .no-customevent,
17
+ .dart,
18
+ .no-dataview,
19
+ .emoji,
20
+ .no-eventlistener,
21
+ .exiforientation,
22
+ .no-flash,
23
+ .forcetouch,
24
+ .no-fullscreen,
25
+ .gamepads,
26
+ .no-geolocation,
27
+ .hashchange,
28
+ .no-hiddenscroll,
29
+ .history,
30
+ .no-htmlimports,
31
+ .ie8compat,
32
+ .no-indexeddb,
33
+ .indexeddbblob,
34
+ .no-input,
35
+ .inputsearchevent,
36
+ .no-inputtypes,
37
+ .intl,
38
+ .no-json,
39
+ .ligatures,
40
+ .no-olreversed,
41
+ .mathml,
42
+ .no-mediasource,
43
+ .messagechannel,
44
+ .no-notification,
45
+ .pagevisibility,
46
+ .no-performance,
47
+ .pointerevents,
48
+ .no-pointerlock,
49
+ .postmessage,
50
+ .no-proximity,
51
+ .proxy,
52
+ .no-queryselector,
53
+ .quotamanagement,
54
+ .no-requestanimationframe,
55
+ .scrolltooptions,
54
56
  .no-serviceworker,
55
57
  .svg,
56
58
  .no-templatestrings,
57
- .touchevents,
58
- .no-typedarrays,
59
- .unicoderange,
60
- .no-unicode,
61
- .userdata,
62
- .no-vibrate,
63
- .video,
64
- .no-vml,
65
- .webintents,
66
- .no-webanimations,
67
- .webgl,
68
- .no-websockets,
69
- .xdomainrequest,
70
- .no-adownload,
71
- .audioautoplay,
72
- .no-audioloop,
73
- .audiopreload,
74
- .no-webaudio,
75
- .lowbattery,
76
- .no-canvasblending,
77
- .todataurljpeg, .todataurlpng, .todataurlwebp,
78
- .no-canvaswinding,
79
- .getrandomvalues,
80
- .no-cssall,
81
- .cssanimations,
82
- .no-appearance,
83
- .backdropfilter,
84
- .no-backgroundblendmode,
85
- .backgroundcliptext,
86
- .no-bgpositionshorthand,
87
- .bgpositionxy,
88
- .no-bgrepeatspace, .bgrepeatround,
89
- .backgroundsize,
90
- .no-bgsizecover,
91
- .borderimage,
92
- .no-borderradius,
93
- .boxdecorationbreak,
94
- .no-boxshadow,
95
- .boxsizing,
96
- .no-csscalc,
97
- .checked,
98
- .no-csschunit,
99
- .csscolumns,
100
- .no-cssgrid, .cssgridlegacy,
101
- .cubicbezierrange,
102
- .no-customproperties,
103
- .display-runin,
104
- .no-displaytable,
105
- .ellipsis,
106
- .no-cssescape,
107
- .cssexunit,
108
- .no-cssfilters,
109
- .flexbox,
110
- .no-flexboxlegacy,
111
- .flexboxtweener,
112
- .no-flexgap,
113
- .flexwrap,
59
+ .textencoder, .textdecoder,
60
+ .no-touchevents,
61
+ .typedarrays,
62
+ .no-unicoderange,
63
+ .unicode,
64
+ .no-userdata,
65
+ .vibrate,
66
+ .no-video,
67
+ .vml,
68
+ .no-webintents,
69
+ .webanimations,
70
+ .no-webgl,
71
+ .websockets,
72
+ .no-xdomainrequest,
73
+ .aping,
74
+ .no-areaping,
75
+ .adownload,
76
+ .no-audioautoplay,
77
+ .audioloop,
78
+ .no-audiopreload,
79
+ .webaudio,
80
+ .no-lowbattery,
81
+ .canvasblending,
82
+ .no-todataurljpeg, .todataurlpng, .todataurlwebp,
83
+ .canvaswinding,
84
+ .no-getrandomvalues,
85
+ .cssall,
86
+ .no-cssanimations,
87
+ .appearance,
88
+ .no-backdropfilter,
89
+ .backgroundblendmode,
90
+ .no-backgroundcliptext,
91
+ .bgpositionshorthand,
92
+ .no-bgpositionxy,
93
+ .bgrepeatspace, .bgrepeatround,
94
+ .no-backgroundsize,
95
+ .bgsizecover,
96
+ .no-borderimage,
97
+ .borderradius,
98
+ .no-boxdecorationbreak,
99
+ .boxshadow,
100
+ .no-boxsizing,
101
+ .csscalc,
102
+ .no-checked,
103
+ .csschunit,
104
+ .no-csscolumns,
105
+ .cssgrid, .cssgridlegacy,
106
+ .no-cubicbezierrange,
107
+ .customproperties,
108
+ .no-display-runin,
109
+ .displaytable,
110
+ .no-ellipsis,
111
+ .cssescape,
112
+ .no-cssexunit,
113
+ .cssfilters,
114
+ .no-flexbox,
115
+ .flexboxlegacy,
116
+ .no-flexboxtweener,
117
+ .flexgap,
118
+ .no-flexwrap,
119
+ .focusvisible,
114
120
  .no-focuswithin,
115
121
  .fontdisplay,
116
122
  .no-fontface,
@@ -194,21 +200,23 @@
194
200
  .no-es5undefined,
195
201
  .es6array,
196
202
  .no-arrow,
197
- .es6collections,
198
- .no-contains,
199
- .generators,
200
- .no-es6math,
201
- .es6number,
202
- .no-es6object,
203
- .promises,
204
- .no-restparameters,
205
- .spreadarray,
206
- .no-stringtemplate,
207
- .es6string,
208
- .no-es6symbol,
209
- .es7array,
210
- .no-restdestructuringarray, .restdestructuringobject,
211
- .spreadobject,
203
+ .es6class,
204
+ .no-es6collections,
205
+ .contains,
206
+ .no-generators,
207
+ .es6math,
208
+ .no-es6number,
209
+ .es6object,
210
+ .no-promises,
211
+ .restparameters,
212
+ .no-spreadarray,
213
+ .stringtemplate,
214
+ .no-es6string,
215
+ .es6symbol,
216
+ .no-es7array,
217
+ .restdestructuringarray, .restdestructuringobject,
218
+ .no-spreadobject,
219
+ .es8object,
212
220
  .no-devicemotion, .deviceorientation,
213
221
  .oninput,
214
222
  .no-filereader,
@@ -225,21 +233,23 @@
225
233
  .seamless,
226
234
  .no-srcdoc,
227
235
  .apng,
228
- .no-imgcrossorigin,
229
- .jpeg2000,
230
- .no-jpegxr,
231
- .lazyloading,
232
- .no-sizes,
233
- .srcset,
234
- .no-webpalpha,
235
- .webpanimation,
236
- .no-webplossless, .webp-lossless,
237
- .webp,
238
- .no-inputformaction,
239
- .inputformenctype,
240
- .no-inputformmethod,
241
- .inputformnovalidate,
242
- .no-inputformtarget,
236
+ .no-avif,
237
+ .imgcrossorigin,
238
+ .no-jpeg2000,
239
+ .jpegxr,
240
+ .no-lazyloading,
241
+ .sizes,
242
+ .no-srcset,
243
+ .webpalpha,
244
+ .no-webpanimation,
245
+ .webplossless, .webp-lossless,
246
+ .no-webp,
247
+ .inputformaction,
248
+ .no-inputformenctype,
249
+ .inputformmethod,
250
+ .no-inputformnovalidate,
251
+ .inputformtarget,
252
+ .no-prefetch,
243
253
  .hovermq,
244
254
  .no-pointermq,
245
255
  .beacon,
@@ -258,39 +268,42 @@
258
268
  .no-scriptdefer,
259
269
  .speechrecognition,
260
270
  .no-speechsynthesis,
261
- .localstorage,
262
- .no-sessionstorage,
263
- .websqldatabase,
264
- .no-stylescoped,
265
- .svgasimg,
266
- .no-svgclippaths,
267
- .svgfilters,
268
- .no-svgforeignobject,
269
- .inlinesvg,
270
- .no-smil,
271
- .textareamaxlength,
272
- .no-bloburls,
273
- .datauri,
274
- .no-urlparser,
275
- .urlsearchparams,
276
- .no-videoautoplay,
277
- .videocrossorigin,
278
- .no-videoloop,
279
- .videopreload,
280
- .no-publicKeyCredential,
281
- .webglextensions,
282
- .no-datachannel,
283
- .getusermedia,
271
+ .indexeddb2,
272
+ .no-localstorage,
273
+ .sessionstorage,
274
+ .no-websqldatabase,
275
+ .stylescoped,
276
+ .no-svgasimg,
277
+ .svgclippaths,
278
+ .no-svgfilters,
279
+ .svgforeignobject,
280
+ .no-inlinesvg,
281
+ .smil,
282
+ .no-textareamaxlength,
283
+ .bloburls,
284
+ .no-datauri,
285
+ .urlparser,
286
+ .no-urlsearchparams,
287
+ .videoautoplay,
288
+ .no-videocrossorigin,
289
+ .videoloop,
290
+ .no-videopreload,
291
+ .publickeycredential,
292
+ .no-webglextensions,
293
+ .datachannel,
294
+ .no-getusermedia,
295
+ .mediarecorder,
284
296
  .no-peerconnection,
285
297
  .websocketsbinary,
286
298
  .no-atobbtoa,
287
299
  .framed,
288
300
  .no-matchmedia,
289
- .blobworkers,
290
- .no-dataworkers,
291
- .sharedworkers,
292
- .no-transferables,
293
- .webworkers {
301
+ .resizeobserver,
302
+ .no-blobworkers,
303
+ .dataworkers,
304
+ .no-sharedworkers,
305
+ .transferables,
306
+ .no-webworkers {
294
307
  background: red;
295
308
  }
296
309
 
package/test/js/amd.js CHANGED
@@ -11,6 +11,7 @@ define(["Modernizr"], function (M) {
11
11
  "blob": M.blobconstructor,
12
12
  "canvas": M.canvas,
13
13
  "canvastext": M.canvastext,
14
+ "clipboard": M.clipboard,
14
15
  "contenteditable": M.contenteditable,
15
16
  "contextmenu": M.contextmenu,
16
17
  "cookies": M.cookies,
@@ -53,13 +54,18 @@ define(["Modernizr"], function (M) {
53
54
  "pointerlock-api": M.pointerlock,
54
55
  "postmessage": M.postmessage,
55
56
  "proximity": M.proximity,
56
- "proxy": M.Proxy,
57
+ "proxy": M.proxy,
57
58
  "queryselector": M.queryselector,
58
59
  "quota-management-api": M.quotamanagement,
59
60
  "requestanimationframe": M.requestanimationframe,
61
+ "scrolltooptions": M.scrolltooptions,
60
62
  "serviceworker": M.serviceworker,
61
63
  "svg": M.svg,
62
64
  "templatestrings": M.templatestrings,
65
+ "textencoding": [
66
+ M["textencoder"],
67
+ M["textdecoder"]
68
+ ],
63
69
  "touchevents": M.touchevents,
64
70
  "typed-arrays": M.typedarrays,
65
71
  "unicode-range": M.unicoderange,
@@ -75,6 +81,8 @@ define(["Modernizr"], function (M) {
75
81
  "xdomainrequest": M.xdomainrequest
76
82
  },
77
83
  "a": {
84
+ "aping": M.aping,
85
+ "areaping": M.areaping,
78
86
  "download": M.adownload
79
87
  },
80
88
  "audio": {
@@ -139,6 +147,7 @@ define(["Modernizr"], function (M) {
139
147
  "flexboxtweener": M.flexboxtweener,
140
148
  "flexgap": M.flexgap,
141
149
  "flexwrap": M.flexwrap,
150
+ "focusvisible": M.focusvisible,
142
151
  "focuswithin": M.focuswithin,
143
152
  "fontdisplay": M.fontdisplay,
144
153
  "fontface": M.fontface,
@@ -243,6 +252,7 @@ define(["Modernizr"], function (M) {
243
252
  "es6": {
244
253
  "array": M.es6array,
245
254
  "arrow": M.arrow,
255
+ "class": M.es6class,
246
256
  "collections": M.es6collections,
247
257
  "contains": M.contains,
248
258
  "generators": M.generators,
@@ -264,6 +274,9 @@ define(["Modernizr"], function (M) {
264
274
  ],
265
275
  "spread-object": M.spreadobject
266
276
  },
277
+ "es8": {
278
+ "object": M.es8object
279
+ },
267
280
  "event": {
268
281
  "deviceorientation-motion": [
269
282
  M["devicemotion"],
@@ -292,6 +305,7 @@ define(["Modernizr"], function (M) {
292
305
  },
293
306
  "img": {
294
307
  "apng": M.apng,
308
+ "avif": M.avif,
295
309
  "crossorigin": M.imgcrossorigin,
296
310
  "jpeg2000": M.jpeg2000,
297
311
  "jpegxr": M.jpegxr,
@@ -313,6 +327,9 @@ define(["Modernizr"], function (M) {
313
327
  "formnovalidate": M.inputformnovalidate,
314
328
  "formtarget": M.inputformtarget
315
329
  },
330
+ "link": {
331
+ "prefetch": M.prefetch
332
+ },
316
333
  "mediaquery": {
317
334
  "hovermq": M.hovermq,
318
335
  "pointermq": M.pointermq
@@ -340,6 +357,7 @@ define(["Modernizr"], function (M) {
340
357
  "speech-synthesis": M.speechsynthesis
341
358
  },
342
359
  "storage": {
360
+ "indexeddb2": M.indexeddb2,
343
361
  "localstorage": M.localstorage,
344
362
  "sessionstorage": M.sessionstorage,
345
363
  "websqldatabase": M.websqldatabase
@@ -371,7 +389,7 @@ define(["Modernizr"], function (M) {
371
389
  "preload": M.videopreload
372
390
  },
373
391
  "webauthn": {
374
- "publickeycredential": M.publicKeyCredential
392
+ "publickeycredential": M.publickeycredential
375
393
  },
376
394
  "webgl": {
377
395
  "extensions": M.webglextensions
@@ -379,6 +397,7 @@ define(["Modernizr"], function (M) {
379
397
  "webrtc": {
380
398
  "datachannel": M.datachannel,
381
399
  "getusermedia": M.getusermedia,
400
+ "mediastream": M.mediarecorder,
382
401
  "peerconnection": M.peerconnection
383
402
  },
384
403
  "websockets": {
@@ -387,7 +406,8 @@ define(["Modernizr"], function (M) {
387
406
  "window": {
388
407
  "atob-btoa": M.atobbtoa,
389
408
  "framed": M.framed,
390
- "matchmedia": M.matchmedia
409
+ "matchmedia": M.matchmedia,
410
+ "resizeobserver": M.resizeobserver
391
411
  },
392
412
  "workers": {
393
413
  "blobworkers": M.blobworkers,
@@ -9,6 +9,7 @@ var tests = {
9
9
  "blob": Modernizr.blobconstructor,
10
10
  "canvas": Modernizr.canvas,
11
11
  "canvastext": Modernizr.canvastext,
12
+ "clipboard": Modernizr.clipboard,
12
13
  "contenteditable": Modernizr.contenteditable,
13
14
  "contextmenu": Modernizr.contextmenu,
14
15
  "cookies": Modernizr.cookies,
@@ -51,13 +52,18 @@ var tests = {
51
52
  "pointerlock-api": Modernizr.pointerlock,
52
53
  "postmessage": Modernizr.postmessage,
53
54
  "proximity": Modernizr.proximity,
54
- "proxy": Modernizr.Proxy,
55
+ "proxy": Modernizr.proxy,
55
56
  "queryselector": Modernizr.queryselector,
56
57
  "quota-management-api": Modernizr.quotamanagement,
57
58
  "requestanimationframe": Modernizr.requestanimationframe,
59
+ "scrolltooptions": Modernizr.scrolltooptions,
58
60
  "serviceworker": Modernizr.serviceworker,
59
61
  "svg": Modernizr.svg,
60
62
  "templatestrings": Modernizr.templatestrings,
63
+ "textencoding": [
64
+ Modernizr["textencoder"],
65
+ Modernizr["textdecoder"]
66
+ ],
61
67
  "touchevents": Modernizr.touchevents,
62
68
  "typed-arrays": Modernizr.typedarrays,
63
69
  "unicode-range": Modernizr.unicoderange,
@@ -73,6 +79,8 @@ var tests = {
73
79
  "xdomainrequest": Modernizr.xdomainrequest
74
80
  },
75
81
  "a": {
82
+ "aping": Modernizr.aping,
83
+ "areaping": Modernizr.areaping,
76
84
  "download": Modernizr.adownload
77
85
  },
78
86
  "audio": {
@@ -137,6 +145,7 @@ var tests = {
137
145
  "flexboxtweener": Modernizr.flexboxtweener,
138
146
  "flexgap": Modernizr.flexgap,
139
147
  "flexwrap": Modernizr.flexwrap,
148
+ "focusvisible": Modernizr.focusvisible,
140
149
  "focuswithin": Modernizr.focuswithin,
141
150
  "fontdisplay": Modernizr.fontdisplay,
142
151
  "fontface": Modernizr.fontface,
@@ -241,6 +250,7 @@ var tests = {
241
250
  "es6": {
242
251
  "array": Modernizr.es6array,
243
252
  "arrow": Modernizr.arrow,
253
+ "class": Modernizr.es6class,
244
254
  "collections": Modernizr.es6collections,
245
255
  "contains": Modernizr.contains,
246
256
  "generators": Modernizr.generators,
@@ -262,6 +272,9 @@ var tests = {
262
272
  ],
263
273
  "spread-object": Modernizr.spreadobject
264
274
  },
275
+ "es8": {
276
+ "object": Modernizr.es8object
277
+ },
265
278
  "event": {
266
279
  "deviceorientation-motion": [
267
280
  Modernizr["devicemotion"],
@@ -290,6 +303,7 @@ var tests = {
290
303
  },
291
304
  "img": {
292
305
  "apng": Modernizr.apng,
306
+ "avif": Modernizr.avif,
293
307
  "crossorigin": Modernizr.imgcrossorigin,
294
308
  "jpeg2000": Modernizr.jpeg2000,
295
309
  "jpegxr": Modernizr.jpegxr,
@@ -311,6 +325,9 @@ var tests = {
311
325
  "formnovalidate": Modernizr.inputformnovalidate,
312
326
  "formtarget": Modernizr.inputformtarget
313
327
  },
328
+ "link": {
329
+ "prefetch": Modernizr.prefetch
330
+ },
314
331
  "mediaquery": {
315
332
  "hovermq": Modernizr.hovermq,
316
333
  "pointermq": Modernizr.pointermq
@@ -338,6 +355,7 @@ var tests = {
338
355
  "speech-synthesis": Modernizr.speechsynthesis
339
356
  },
340
357
  "storage": {
358
+ "indexeddb2": Modernizr.indexeddb2,
341
359
  "localstorage": Modernizr.localstorage,
342
360
  "sessionstorage": Modernizr.sessionstorage,
343
361
  "websqldatabase": Modernizr.websqldatabase
@@ -369,7 +387,7 @@ var tests = {
369
387
  "preload": Modernizr.videopreload
370
388
  },
371
389
  "webauthn": {
372
- "publickeycredential": Modernizr.publicKeyCredential
390
+ "publickeycredential": Modernizr.publickeycredential
373
391
  },
374
392
  "webgl": {
375
393
  "extensions": Modernizr.webglextensions
@@ -377,6 +395,7 @@ var tests = {
377
395
  "webrtc": {
378
396
  "datachannel": Modernizr.datachannel,
379
397
  "getusermedia": Modernizr.getusermedia,
398
+ "mediastream": Modernizr.mediarecorder,
380
399
  "peerconnection": Modernizr.peerconnection
381
400
  },
382
401
  "websockets": {
@@ -385,7 +404,8 @@ var tests = {
385
404
  "window": {
386
405
  "atob-btoa": Modernizr.atobbtoa,
387
406
  "framed": Modernizr.framed,
388
- "matchmedia": Modernizr.matchmedia
407
+ "matchmedia": Modernizr.matchmedia,
408
+ "resizeobserver": Modernizr.resizeobserver
389
409
  },
390
410
  "workers": {
391
411
  "blobworkers": Modernizr.blobworkers,