customizr 2.0.3 → 3.0.0

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.
@@ -0,0 +1,326 @@
1
+ {
2
+ "version": "2.0.4",
3
+ "modernizr": "^3",
4
+ "options": {
5
+ "feature-detects": [
6
+ "test/ambientlight",
7
+ "test/applicationcache",
8
+ "test/audio",
9
+ "test/battery",
10
+ "test/blob",
11
+ "test/canvas",
12
+ "test/canvastext",
13
+ "test/clipboard",
14
+ "test/contenteditable",
15
+ "test/contextmenu",
16
+ "test/cookies",
17
+ "test/cors",
18
+ "test/crypto",
19
+ "test/custom-elements",
20
+ "test/custom-protocol-handler",
21
+ "test/customevent",
22
+ "test/dart",
23
+ "test/dataview-api",
24
+ "test/emoji",
25
+ "test/eventlistener",
26
+ "test/exif-orientation",
27
+ "test/flash",
28
+ "test/forcetouch",
29
+ "test/fullscreen-api",
30
+ "test/gamepad",
31
+ "test/geolocation",
32
+ "test/hashchange",
33
+ "test/hiddenscroll",
34
+ "test/history",
35
+ "test/htmlimports",
36
+ "test/ie8compat",
37
+ "test/indexeddb",
38
+ "test/indexeddbblob",
39
+ "test/input",
40
+ "test/inputsearchevent",
41
+ "test/inputtypes",
42
+ "test/intl",
43
+ "test/json",
44
+ "test/ligatures",
45
+ "test/lists-reversed",
46
+ "test/mathml",
47
+ "test/media-source-extension-api",
48
+ "test/messagechannel",
49
+ "test/notification",
50
+ "test/pagevisibility-api",
51
+ "test/performance",
52
+ "test/pointerevents",
53
+ "test/pointerlock-api",
54
+ "test/postmessage",
55
+ "test/proximity",
56
+ "test/proxy",
57
+ "test/queryselector",
58
+ "test/quota-management-api",
59
+ "test/requestanimationframe",
60
+ "test/scrolltooptions",
61
+ "test/serviceworker",
62
+ "test/svg",
63
+ "test/templatestrings",
64
+ "test/textencoding",
65
+ "test/touchevents",
66
+ "test/typed-arrays",
67
+ "test/unicode-range",
68
+ "test/unicode",
69
+ "test/userdata",
70
+ "test/vibration",
71
+ "test/video",
72
+ "test/vml",
73
+ "test/web-intents",
74
+ "test/webanimations",
75
+ "test/webgl",
76
+ "test/websockets",
77
+ "test/xdomainrequest",
78
+ "test/a/aping",
79
+ "test/a/areaping",
80
+ "test/a/download",
81
+ "test/audio/autoplay",
82
+ "test/audio/loop",
83
+ "test/audio/preload",
84
+ "test/audio/webaudio",
85
+ "test/battery/lowbattery",
86
+ "test/canvas/blending",
87
+ "test/canvas/todataurl",
88
+ "test/canvas/winding",
89
+ "test/crypto/getrandomvalues",
90
+ "test/css/all",
91
+ "test/css/animations",
92
+ "test/css/appearance",
93
+ "test/css/aspectratio",
94
+ "test/css/backdropfilter",
95
+ "test/css/backgroundblendmode",
96
+ "test/css/backgroundcliptext",
97
+ "test/css/backgroundposition-shorthand",
98
+ "test/css/backgroundposition-xy",
99
+ "test/css/backgroundrepeat",
100
+ "test/css/backgroundsize",
101
+ "test/css/backgroundsizecover",
102
+ "test/css/borderimage",
103
+ "test/css/borderradius",
104
+ "test/css/boxdecorationbreak",
105
+ "test/css/boxshadow",
106
+ "test/css/boxsizing",
107
+ "test/css/calc",
108
+ "test/css/checked",
109
+ "test/css/chunit",
110
+ "test/css/columns",
111
+ "test/css/cssgrid",
112
+ "test/css/cubicbezierrange",
113
+ "test/css/customproperties",
114
+ "test/css/displayrunin",
115
+ "test/css/displaytable",
116
+ "test/css/ellipsis",
117
+ "test/css/escape",
118
+ "test/css/exunit",
119
+ "test/css/filters",
120
+ "test/css/flexbox",
121
+ "test/css/flexboxlegacy",
122
+ "test/css/flexboxtweener",
123
+ "test/css/flexgap",
124
+ "test/css/flexwrap",
125
+ "test/css/focusvisible",
126
+ "test/css/focuswithin",
127
+ "test/css/fontdisplay",
128
+ "test/css/fontface",
129
+ "test/css/generatedcontent",
130
+ "test/css/gradients",
131
+ "test/css/hairline",
132
+ "test/css/hsla",
133
+ "test/css/hyphens",
134
+ "test/css/invalid",
135
+ "test/css/lastchild",
136
+ "test/css/mask",
137
+ "test/css/mediaqueries",
138
+ "test/css/multiplebgs",
139
+ "test/css/nthchild",
140
+ "test/css/objectfit",
141
+ "test/css/opacity",
142
+ "test/css/overflow-scrolling",
143
+ "test/css/pointerevents",
144
+ "test/css/positionsticky",
145
+ "test/css/pseudoanimations",
146
+ "test/css/pseudotransitions",
147
+ "test/css/reflections",
148
+ "test/css/regions",
149
+ "test/css/remunit",
150
+ "test/css/resize",
151
+ "test/css/rgba",
152
+ "test/css/scrollbars",
153
+ "test/css/scrollsnappoints",
154
+ "test/css/shapes",
155
+ "test/css/siblinggeneral",
156
+ "test/css/subpixelfont",
157
+ "test/css/supports",
158
+ "test/css/target",
159
+ "test/css/textalignlast",
160
+ "test/css/textdecoration",
161
+ "test/css/textshadow",
162
+ "test/css/transforms",
163
+ "test/css/transforms3d",
164
+ "test/css/transformslevel2",
165
+ "test/css/transformstylepreserve3d",
166
+ "test/css/transitions",
167
+ "test/css/userselect",
168
+ "test/css/valid",
169
+ "test/css/variablefonts",
170
+ "test/css/vhunit",
171
+ "test/css/vmaxunit",
172
+ "test/css/vminunit",
173
+ "test/css/vwunit",
174
+ "test/css/will-change",
175
+ "test/css/wrapflow",
176
+ "test/dom/classlist",
177
+ "test/dom/createElement-attrs",
178
+ "test/dom/dataset",
179
+ "test/dom/documentfragment",
180
+ "test/dom/hidden",
181
+ "test/dom/intersection-observer",
182
+ "test/dom/microdata",
183
+ "test/dom/mutationObserver",
184
+ "test/dom/passiveeventlisteners",
185
+ "test/dom/shadowroot",
186
+ "test/dom/shadowrootlegacy",
187
+ "test/elem/bdi",
188
+ "test/elem/datalist",
189
+ "test/elem/details",
190
+ "test/elem/output",
191
+ "test/elem/picture",
192
+ "test/elem/progress-meter",
193
+ "test/elem/ruby",
194
+ "test/elem/template",
195
+ "test/elem/time",
196
+ "test/elem/track",
197
+ "test/elem/unknown",
198
+ "test/es5/array",
199
+ "test/es5/date",
200
+ "test/es5/function",
201
+ "test/es5/object",
202
+ "test/es5/specification",
203
+ "test/es5/strictmode",
204
+ "test/es5/string",
205
+ "test/es5/syntax",
206
+ "test/es5/undefined",
207
+ "test/es6/array",
208
+ "test/es6/arrow",
209
+ "test/es6/class",
210
+ "test/es6/collections",
211
+ "test/es6/contains",
212
+ "test/es6/generators",
213
+ "test/es6/math",
214
+ "test/es6/number",
215
+ "test/es6/object",
216
+ "test/es6/promises",
217
+ "test/es6/rest-parameters",
218
+ "test/es6/spread-array",
219
+ "test/es6/string-template",
220
+ "test/es6/string",
221
+ "test/es6/symbol",
222
+ "test/es7/array",
223
+ "test/es7/rest-destructuring",
224
+ "test/es7/spread-object",
225
+ "test/es8/object",
226
+ "test/event/deviceorientation-motion",
227
+ "test/event/oninput",
228
+ "test/file/api",
229
+ "test/file/filesystem",
230
+ "test/forms/capture",
231
+ "test/forms/fileinput",
232
+ "test/forms/fileinputdirectory",
233
+ "test/forms/formattribute",
234
+ "test/forms/inputnumber-l10n",
235
+ "test/forms/placeholder",
236
+ "test/forms/requestautocomplete",
237
+ "test/forms/validation",
238
+ "test/iframe/sandbox",
239
+ "test/iframe/seamless",
240
+ "test/iframe/srcdoc",
241
+ "test/img/apng",
242
+ "test/img/avif",
243
+ "test/img/crossorigin",
244
+ "test/img/jpeg2000",
245
+ "test/img/jpegxr",
246
+ "test/img/lazyloading",
247
+ "test/img/sizes",
248
+ "test/img/srcset",
249
+ "test/img/webp-alpha",
250
+ "test/img/webp-animation",
251
+ "test/img/webp-lossless",
252
+ "test/img/webp",
253
+ "test/input/formaction",
254
+ "test/input/formenctype",
255
+ "test/input/formmethod",
256
+ "test/input/formnovalidate",
257
+ "test/input/formtarget",
258
+ "test/link/prefetch",
259
+ "test/mediaquery/hovermq",
260
+ "test/mediaquery/pointermq",
261
+ "test/network/beacon",
262
+ "test/network/connection-effectivetype",
263
+ "test/network/connection",
264
+ "test/network/eventsource",
265
+ "test/network/fetch",
266
+ "test/network/xhr-responsetype-arraybuffer",
267
+ "test/network/xhr-responsetype-blob",
268
+ "test/network/xhr-responsetype-document",
269
+ "test/network/xhr-responsetype-json",
270
+ "test/network/xhr-responsetype-text",
271
+ "test/network/xhr-responsetype",
272
+ "test/network/xhr2",
273
+ "test/script/async",
274
+ "test/script/defer",
275
+ "test/speech/speech-recognition",
276
+ "test/speech/speech-synthesis",
277
+ "test/storage/indexeddb2",
278
+ "test/storage/localstorage",
279
+ "test/storage/sessionstorage",
280
+ "test/storage/websqldatabase",
281
+ "test/style/scoped",
282
+ "test/svg/asimg",
283
+ "test/svg/clippaths",
284
+ "test/svg/filters",
285
+ "test/svg/foreignobject",
286
+ "test/svg/inline",
287
+ "test/svg/smil",
288
+ "test/textarea/maxlength",
289
+ "test/url/bloburls",
290
+ "test/url/data-uri",
291
+ "test/url/parser",
292
+ "test/url/urlsearchparams",
293
+ "test/video/autoplay",
294
+ "test/video/crossorigin",
295
+ "test/video/loop",
296
+ "test/video/preload",
297
+ "test/webauthn/publickeycredential",
298
+ "test/webgl/extensions",
299
+ "test/webrtc/datachannel",
300
+ "test/webrtc/getusermedia",
301
+ "test/webrtc/mediastream",
302
+ "test/webrtc/peerconnection",
303
+ "test/websockets/binary",
304
+ "test/window/atob-btoa",
305
+ "test/window/framed",
306
+ "test/window/matchmedia",
307
+ "test/window/pushmanager",
308
+ "test/window/resizeobserver",
309
+ "test/workers/blobworkers",
310
+ "test/workers/dataworkers",
311
+ "test/workers/sharedworkers",
312
+ "test/workers/transferables",
313
+ "test/workers/webworkers",
314
+ "test/workers/workertypeoption"
315
+ ],
316
+ "options": [
317
+ "setClasses",
318
+ "addTest",
319
+ "html5printshiv",
320
+ "testProp"
321
+ ],
322
+ "minify": true,
323
+ "dest": "build/modernizr-custom.js",
324
+ "classPrefix": ""
325
+ }
326
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "customizr",
3
3
  "description": "Build out a lean, mean Modernizr machine.",
4
- "version": "2.0.3",
4
+ "version": "3.0.0",
5
5
  "main": "src",
6
6
  "bin": {
7
7
  "customizr": "bin/customizr"
@@ -24,24 +24,25 @@
24
24
  "colors": "^1.4.0",
25
25
  "cross-spawn": "^7.0.3",
26
26
  "fast-deep-equal": "^3.1.3",
27
- "glob": "^7.1.6",
27
+ "glob": "^7.2.0",
28
28
  "lodash": "^4.17.21",
29
29
  "mkdirp": "^1.0.4",
30
30
  "modernizr": "^3",
31
31
  "nopt": "^5.0.0",
32
- "promised-io": "^0.3.6"
32
+ "promised-io": "^0.3.6",
33
+ "yargs": "^17.7.2"
33
34
  },
34
35
  "devDependencies": {
35
- "chai": "^4.3.4",
36
- "fs-extra": "^9.1.0",
37
- "mocha": "^8.3.2",
36
+ "chai": "^4.3.7",
37
+ "fs-extra": "^11.1.1",
38
+ "mocha": "^10.2.0",
38
39
  "nexpect": "^0.6.0"
39
40
  },
40
41
  "optionalDependencies": {
41
42
  "fsevents": "^2.3.2"
42
43
  },
43
44
  "engines": {
44
- "node": ">=10"
45
+ "node": ">=16"
45
46
  },
46
47
  "keywords": [
47
48
  "modernizr",
@@ -5,52 +5,54 @@
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,
@@ -68,6 +70,8 @@
68
70
  .no-webgl,
69
71
  .websockets,
70
72
  .no-xdomainrequest,
73
+ .aping,
74
+ .no-areaping,
71
75
  .adownload,
72
76
  .no-audioautoplay,
73
77
  .audioloop,
@@ -81,37 +85,39 @@
81
85
  .cssall,
82
86
  .no-cssanimations,
83
87
  .appearance,
84
- .no-backdropfilter,
85
- .backgroundblendmode,
86
- .no-backgroundcliptext,
87
- .bgpositionshorthand,
88
- .no-bgpositionxy,
89
- .bgrepeatspace, .bgrepeatround,
90
- .no-backgroundsize,
91
- .bgsizecover,
92
- .no-borderimage,
93
- .borderradius,
94
- .no-boxdecorationbreak,
95
- .boxshadow,
96
- .no-boxsizing,
97
- .csscalc,
98
- .no-checked,
99
- .csschunit,
100
- .no-csscolumns,
101
- .cssgrid, .cssgridlegacy,
102
- .no-cubicbezierrange,
103
- .customproperties,
104
- .no-display-runin,
105
- .displaytable,
106
- .no-ellipsis,
107
- .cssescape,
108
- .no-cssexunit,
109
- .cssfilters,
110
- .no-flexbox,
111
- .flexboxlegacy,
112
- .no-flexboxtweener,
113
- .flexgap,
114
- .no-flexwrap,
88
+ .no-aspectratio,
89
+ .backdropfilter,
90
+ .no-backgroundblendmode,
91
+ .backgroundcliptext,
92
+ .no-bgpositionshorthand,
93
+ .bgpositionxy,
94
+ .no-bgrepeatspace, .bgrepeatround,
95
+ .backgroundsize,
96
+ .no-bgsizecover,
97
+ .borderimage,
98
+ .no-borderradius,
99
+ .boxdecorationbreak,
100
+ .no-boxshadow,
101
+ .boxsizing,
102
+ .no-csscalc,
103
+ .checked,
104
+ .no-csschunit,
105
+ .csscolumns,
106
+ .no-cssgrid, .cssgridlegacy,
107
+ .cubicbezierrange,
108
+ .no-customproperties,
109
+ .display-runin,
110
+ .no-displaytable,
111
+ .ellipsis,
112
+ .no-cssescape,
113
+ .cssexunit,
114
+ .no-cssfilters,
115
+ .flexbox,
116
+ .no-flexboxlegacy,
117
+ .flexboxtweener,
118
+ .no-flexgap,
119
+ .flexwrap,
120
+ .no-focusvisible,
115
121
  .focuswithin,
116
122
  .no-fontdisplay,
117
123
  .fontface,
@@ -228,21 +234,23 @@
228
234
  .no-seamless,
229
235
  .srcdoc,
230
236
  .no-apng,
231
- .imgcrossorigin,
232
- .no-jpeg2000,
233
- .jpegxr,
234
- .no-lazyloading,
235
- .sizes,
236
- .no-srcset,
237
- .webpalpha,
238
- .no-webpanimation,
239
- .webplossless, .webp-lossless,
240
- .no-webp,
241
- .inputformaction,
242
- .no-inputformenctype,
243
- .inputformmethod,
244
- .no-inputformnovalidate,
245
- .inputformtarget,
237
+ .avif,
238
+ .no-imgcrossorigin,
239
+ .jpeg2000,
240
+ .no-jpegxr,
241
+ .lazyloading,
242
+ .no-sizes,
243
+ .srcset,
244
+ .no-webpalpha,
245
+ .webpanimation,
246
+ .no-webplossless, .webp-lossless,
247
+ .webp,
248
+ .no-inputformaction,
249
+ .inputformenctype,
250
+ .no-inputformmethod,
251
+ .inputformnovalidate,
252
+ .no-inputformtarget,
253
+ .prefetch,
246
254
  .no-hovermq,
247
255
  .pointermq,
248
256
  .no-beacon,
@@ -261,39 +269,44 @@
261
269
  .scriptdefer,
262
270
  .no-speechrecognition,
263
271
  .speechsynthesis,
264
- .no-localstorage,
265
- .sessionstorage,
266
- .no-websqldatabase,
267
- .stylescoped,
268
- .no-svgasimg,
269
- .svgclippaths,
270
- .no-svgfilters,
271
- .svgforeignobject,
272
- .no-inlinesvg,
273
- .smil,
274
- .no-textareamaxlength,
275
- .bloburls,
276
- .no-datauri,
277
- .urlparser,
278
- .no-urlsearchparams,
279
- .videoautoplay,
280
- .no-videocrossorigin,
281
- .videoloop,
282
- .no-videopreload,
283
- .publickeycredential,
284
- .no-webglextensions,
285
- .datachannel,
286
- .no-getusermedia,
272
+ .no-indexeddb2,
273
+ .localstorage,
274
+ .no-sessionstorage,
275
+ .websqldatabase,
276
+ .no-stylescoped,
277
+ .svgasimg,
278
+ .no-svgclippaths,
279
+ .svgfilters,
280
+ .no-svgforeignobject,
281
+ .inlinesvg,
282
+ .no-smil,
283
+ .textareamaxlength,
284
+ .no-bloburls,
285
+ .datauri,
286
+ .no-urlparser,
287
+ .urlsearchparams,
288
+ .no-videoautoplay,
289
+ .videocrossorigin,
290
+ .no-videoloop,
291
+ .videopreload,
292
+ .no-publickeycredential,
293
+ .webglextensions,
294
+ .no-datachannel,
295
+ .getusermedia,
296
+ .no-mediarecorder,
287
297
  .peerconnection,
288
298
  .no-websocketsbinary,
289
299
  .atobbtoa,
290
300
  .no-framed,
291
301
  .matchmedia,
302
+ .no-pushmanager,
303
+ .resizeobserver,
292
304
  .no-blobworkers,
293
305
  .dataworkers,
294
306
  .no-sharedworkers,
295
307
  .transferables,
296
- .no-webworkers {
308
+ .no-webworkers,
309
+ .workertypeoption {
297
310
  background: red;
298
311
  }
299
312