| 1 |
{ |
| 2 |
"_id": "detect-passive-events", |
| 3 |
"_rev": "11-3fd92ec99d974823f0aefc516f49eeaa", |
| 4 |
"name": "detect-passive-events", |
| 5 |
"description": "Detect if the browser supports passive events", |
| 6 |
"dist-tags": { |
| 7 |
"latest": "2.0.3" |
| 8 |
}, |
| 9 |
"versions": { |
| 10 |
"1.0.0": { |
| 11 |
"name": "detect-passive-events", |
| 12 |
"version": "1.0.0", |
| 13 |
"description": "Detect if the browser supports passive events", |
| 14 |
"main": "lib/index.js", |
| 15 |
"scripts": { |
| 16 |
"build": "rm -rf lib && babel src --presets babel-preset-es2015 -d lib", |
| 17 |
"prepublish": "npm run build" |
| 18 |
}, |
| 19 |
"files": [ |
| 20 |
"lib", |
| 21 |
"src" |
| 22 |
], |
| 23 |
"repository": { |
| 24 |
"type": "git", |
| 25 |
"url": "git+https://github.com/rafrex/detect-passive-events.git" |
| 26 |
}, |
| 27 |
"keywords": [ |
| 28 |
"detect", |
| 29 |
"passive", |
| 30 |
"passive events" |
| 31 |
], |
| 32 |
"author": { |
| 33 |
"name": "Rafael Pedicini", |
| 34 |
"email": "[email protected]" |
| 35 |
}, |
| 36 |
"license": "MIT", |
| 37 |
"bugs": { |
| 38 |
"url": "https://github.com/rafrex/detect-passive-events/issues" |
| 39 |
}, |
| 40 |
"homepage": "https://github.com/rafrex/detect-passive-events#readme", |
| 41 |
"devDependencies": { |
| 42 |
"babel-cli": "^6.18.0", |
| 43 |
"babel-eslint": "^7.1.0", |
| 44 |
"babel-preset-es2015": "^6.18.0", |
| 45 |
"eslint": "^3.9.1", |
| 46 |
"eslint-config-airbnb-base": "^10.0.1", |
| 47 |
"eslint-plugin-import": "^2.2.0" |
| 48 |
}, |
| 49 |
"gitHead": "ae21d52528e0bf389c9c6945ba03a725b293579f", |
| 50 |
"_id": "[email protected]", |
| 51 |
"_shasum": "fd6137d7bb06735fa8937024630162555a8ce027", |
| 52 |
"_from": ".", |
| 53 |
"_npmVersion": "3.10.7", |
| 54 |
"_nodeVersion": "6.2.0", |
| 55 |
"_npmUser": { |
| 56 |
"name": "rafrex", |
| 57 |
"email": "[email protected]" |
| 58 |
}, |
| 59 |
"dist": { |
| 60 |
"shasum": "fd6137d7bb06735fa8937024630162555a8ce027", |
| 61 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-1.0.0.tgz" |
| 62 |
}, |
| 63 |
"maintainers": [ |
| 64 |
{ |
| 65 |
"name": "rafrex", |
| 66 |
"email": "[email protected]" |
| 67 |
} |
| 68 |
], |
| 69 |
"_npmOperationalInternal": { |
| 70 |
"host": "packages-18-east.internal.npmjs.com", |
| 71 |
"tmp": "tmp/detect-passive-events-1.0.0.tgz_1478642438914_0.8338881353847682" |
| 72 |
}, |
| 73 |
"directories": {} |
| 74 |
}, |
| 75 |
"1.0.1": { |
| 76 |
"name": "detect-passive-events", |
| 77 |
"version": "1.0.1", |
| 78 |
"description": "Detect if the browser supports passive events", |
| 79 |
"main": "lib/index.js", |
| 80 |
"scripts": { |
| 81 |
"build": "rm -rf lib && babel src --presets babel-preset-es2015 -d lib", |
| 82 |
"prepublish": "npm run build" |
| 83 |
}, |
| 84 |
"files": [ |
| 85 |
"lib", |
| 86 |
"src" |
| 87 |
], |
| 88 |
"repository": { |
| 89 |
"type": "git", |
| 90 |
"url": "git+https://github.com/rafrex/detect-passive-events.git" |
| 91 |
}, |
| 92 |
"keywords": [ |
| 93 |
"detect", |
| 94 |
"passive", |
| 95 |
"passive events" |
| 96 |
], |
| 97 |
"author": { |
| 98 |
"name": "Rafael Pedicini", |
| 99 |
"email": "[email protected]" |
| 100 |
}, |
| 101 |
"license": "MIT", |
| 102 |
"bugs": { |
| 103 |
"url": "https://github.com/rafrex/detect-passive-events/issues" |
| 104 |
}, |
| 105 |
"homepage": "https://github.com/rafrex/detect-passive-events#readme", |
| 106 |
"devDependencies": { |
| 107 |
"babel-cli": "^6.18.0", |
| 108 |
"babel-eslint": "^7.1.0", |
| 109 |
"babel-preset-es2015": "^6.18.0", |
| 110 |
"eslint": "^3.9.1", |
| 111 |
"eslint-config-airbnb-base": "^10.0.1", |
| 112 |
"eslint-plugin-import": "^2.2.0" |
| 113 |
}, |
| 114 |
"gitHead": "385c8de66957d8a595ca5752c14700266e8a6dc4", |
| 115 |
"_id": "[email protected]", |
| 116 |
"_shasum": "e928ffcec09182275886358b32b397009c7ea5db", |
| 117 |
"_from": ".", |
| 118 |
"_npmVersion": "4.2.0", |
| 119 |
"_nodeVersion": "6.9.5", |
| 120 |
"_npmUser": { |
| 121 |
"name": "rafrex", |
| 122 |
"email": "[email protected]" |
| 123 |
}, |
| 124 |
"dist": { |
| 125 |
"shasum": "e928ffcec09182275886358b32b397009c7ea5db", |
| 126 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-1.0.1.tgz" |
| 127 |
}, |
| 128 |
"maintainers": [ |
| 129 |
{ |
| 130 |
"name": "rafrex", |
| 131 |
"email": "[email protected]" |
| 132 |
} |
| 133 |
], |
| 134 |
"_npmOperationalInternal": { |
| 135 |
"host": "packages-18-east.internal.npmjs.com", |
| 136 |
"tmp": "tmp/detect-passive-events-1.0.1.tgz_1487964050450_0.9768088310956955" |
| 137 |
}, |
| 138 |
"directories": {} |
| 139 |
}, |
| 140 |
"1.0.2": { |
| 141 |
"name": "detect-passive-events", |
| 142 |
"version": "1.0.2", |
| 143 |
"description": "Detect if the browser supports passive events", |
| 144 |
"main": "lib/index.js", |
| 145 |
"scripts": { |
| 146 |
"build": "rm -rf lib && babel src --presets babel-preset-es2015 -d lib", |
| 147 |
"prepublish": "npm run build" |
| 148 |
}, |
| 149 |
"files": [ |
| 150 |
"lib", |
| 151 |
"src" |
| 152 |
], |
| 153 |
"repository": { |
| 154 |
"type": "git", |
| 155 |
"url": "git+https://github.com/rafrex/detect-passive-events.git" |
| 156 |
}, |
| 157 |
"keywords": [ |
| 158 |
"detect", |
| 159 |
"passive", |
| 160 |
"passive events" |
| 161 |
], |
| 162 |
"author": { |
| 163 |
"name": "Rafael Pedicini", |
| 164 |
"email": "[email protected]" |
| 165 |
}, |
| 166 |
"license": "MIT", |
| 167 |
"bugs": { |
| 168 |
"url": "https://github.com/rafrex/detect-passive-events/issues" |
| 169 |
}, |
| 170 |
"homepage": "https://github.com/rafrex/detect-passive-events#readme", |
| 171 |
"devDependencies": { |
| 172 |
"babel-cli": "^6.23.0", |
| 173 |
"babel-eslint": "^7.1.1", |
| 174 |
"babel-preset-es2015": "^6.22.0", |
| 175 |
"eslint": "^3.16.1", |
| 176 |
"eslint-config-airbnb-base": "^10.0.1", |
| 177 |
"eslint-plugin-import": "^2.2.0" |
| 178 |
}, |
| 179 |
"gitHead": "eaa4289f496cdd555589c1bc3f96c9e66a53ff51", |
| 180 |
"_id": "[email protected]", |
| 181 |
"_shasum": "0e39d7b675907eff55b8965f5be3fc0b0f4178b9", |
| 182 |
"_from": ".", |
| 183 |
"_npmVersion": "4.2.0", |
| 184 |
"_nodeVersion": "6.9.5", |
| 185 |
"_npmUser": { |
| 186 |
"name": "rafrex", |
| 187 |
"email": "[email protected]" |
| 188 |
}, |
| 189 |
"dist": { |
| 190 |
"shasum": "0e39d7b675907eff55b8965f5be3fc0b0f4178b9", |
| 191 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-1.0.2.tgz" |
| 192 |
}, |
| 193 |
"maintainers": [ |
| 194 |
{ |
| 195 |
"name": "rafrex", |
| 196 |
"email": "[email protected]" |
| 197 |
} |
| 198 |
], |
| 199 |
"_npmOperationalInternal": { |
| 200 |
"host": "packages-12-west.internal.npmjs.com", |
| 201 |
"tmp": "tmp/detect-passive-events-1.0.2.tgz_1488224528464_0.4624527033884078" |
| 202 |
}, |
| 203 |
"directories": {} |
| 204 |
}, |
| 205 |
"1.0.3": { |
| 206 |
"name": "detect-passive-events", |
| 207 |
"version": "1.0.3", |
| 208 |
"description": "Detect if the browser supports passive events", |
| 209 |
"main": "lib/index.js", |
| 210 |
"scripts": { |
| 211 |
"build": "rm -rf lib && babel src --presets babel-preset-es2015 -d lib", |
| 212 |
"prepublish": "npm run build" |
| 213 |
}, |
| 214 |
"files": [ |
| 215 |
"lib", |
| 216 |
"src" |
| 217 |
], |
| 218 |
"repository": { |
| 219 |
"type": "git", |
| 220 |
"url": "git+https://github.com/rafrex/detect-passive-events.git" |
| 221 |
}, |
| 222 |
"keywords": [ |
| 223 |
"detect", |
| 224 |
"passive", |
| 225 |
"passive events" |
| 226 |
], |
| 227 |
"author": { |
| 228 |
"name": "Rafael Pedicini", |
| 229 |
"email": "[email protected]" |
| 230 |
}, |
| 231 |
"license": "MIT", |
| 232 |
"bugs": { |
| 233 |
"url": "https://github.com/rafrex/detect-passive-events/issues" |
| 234 |
}, |
| 235 |
"homepage": "https://github.com/rafrex/detect-passive-events#readme", |
| 236 |
"devDependencies": { |
| 237 |
"babel-cli": "^6.23.0", |
| 238 |
"babel-eslint": "^7.1.1", |
| 239 |
"babel-preset-es2015": "^6.22.0", |
| 240 |
"eslint": "^3.16.1", |
| 241 |
"eslint-config-airbnb-base": "^10.0.1", |
| 242 |
"eslint-plugin-import": "^2.2.0" |
| 243 |
}, |
| 244 |
"gitHead": "29f9ba08d4af04c47f3566fabfa712f55e75b7b1", |
| 245 |
"_id": "[email protected]", |
| 246 |
"_shasum": "8a05fd0583050bbd8622b769fa54f655761fea7e", |
| 247 |
"_from": ".", |
| 248 |
"_npmVersion": "3.10.10", |
| 249 |
"_nodeVersion": "6.11.1", |
| 250 |
"_npmUser": { |
| 251 |
"name": "rafrex", |
| 252 |
"email": "[email protected]" |
| 253 |
}, |
| 254 |
"dist": { |
| 255 |
"shasum": "8a05fd0583050bbd8622b769fa54f655761fea7e", |
| 256 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-1.0.3.tgz" |
| 257 |
}, |
| 258 |
"maintainers": [ |
| 259 |
{ |
| 260 |
"name": "rafrex", |
| 261 |
"email": "[email protected]" |
| 262 |
} |
| 263 |
], |
| 264 |
"_npmOperationalInternal": { |
| 265 |
"host": "s3://npm-registry-packages", |
| 266 |
"tmp": "tmp/detect-passive-events-1.0.3.tgz_1506365525351_0.6964403502643108" |
| 267 |
}, |
| 268 |
"directories": {} |
| 269 |
}, |
| 270 |
"1.0.4": { |
| 271 |
"name": "detect-passive-events", |
| 272 |
"version": "1.0.4", |
| 273 |
"description": "Detect if the browser supports passive events", |
| 274 |
"main": "lib/index.js", |
| 275 |
"scripts": { |
| 276 |
"build": "rm -rf lib && babel src --presets babel-preset-es2015 -d lib", |
| 277 |
"prepublish": "npm run build" |
| 278 |
}, |
| 279 |
"files": [ |
| 280 |
"lib", |
| 281 |
"src" |
| 282 |
], |
| 283 |
"repository": { |
| 284 |
"type": "git", |
| 285 |
"url": "git+https://github.com/rafrex/detect-passive-events.git" |
| 286 |
}, |
| 287 |
"keywords": [ |
| 288 |
"detect", |
| 289 |
"passive", |
| 290 |
"passive events" |
| 291 |
], |
| 292 |
"author": { |
| 293 |
"name": "Rafael Pedicini", |
| 294 |
"email": "[email protected]" |
| 295 |
}, |
| 296 |
"license": "MIT", |
| 297 |
"bugs": { |
| 298 |
"url": "https://github.com/rafrex/detect-passive-events/issues" |
| 299 |
}, |
| 300 |
"homepage": "https://github.com/rafrex/detect-passive-events#readme", |
| 301 |
"devDependencies": { |
| 302 |
"babel-cli": "^6.23.0", |
| 303 |
"babel-eslint": "^7.1.1", |
| 304 |
"babel-preset-es2015": "^6.22.0", |
| 305 |
"eslint": "^3.16.1", |
| 306 |
"eslint-config-airbnb-base": "^10.0.1", |
| 307 |
"eslint-plugin-import": "^2.2.0" |
| 308 |
}, |
| 309 |
"gitHead": "6f03f9367bdbad77c1251e98ba8f04fdb5b32568", |
| 310 |
"_id": "[email protected]", |
| 311 |
"_shasum": "6ed477e6e5bceb79079735dcd357789d37f9a91a", |
| 312 |
"_from": ".", |
| 313 |
"_npmVersion": "3.10.10", |
| 314 |
"_nodeVersion": "6.11.1", |
| 315 |
"_npmUser": { |
| 316 |
"name": "rafrex", |
| 317 |
"email": "[email protected]" |
| 318 |
}, |
| 319 |
"dist": { |
| 320 |
"shasum": "6ed477e6e5bceb79079735dcd357789d37f9a91a", |
| 321 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-1.0.4.tgz" |
| 322 |
}, |
| 323 |
"maintainers": [ |
| 324 |
{ |
| 325 |
"name": "rafrex", |
| 326 |
"email": "[email protected]" |
| 327 |
} |
| 328 |
], |
| 329 |
"_npmOperationalInternal": { |
| 330 |
"host": "s3://npm-registry-packages", |
| 331 |
"tmp": "tmp/detect-passive-events-1.0.4.tgz_1506449460026_0.20262566534802318" |
| 332 |
}, |
| 333 |
"directories": {} |
| 334 |
}, |
| 335 |
"1.0.5": { |
| 336 |
"name": "detect-passive-events", |
| 337 |
"version": "1.0.5", |
| 338 |
"description": "Detect if the browser supports passive events", |
| 339 |
"main": "lib/index.js", |
| 340 |
"scripts": { |
| 341 |
"build": "rm -rf lib && babel src --presets babel-preset-es2015 -d lib", |
| 342 |
"prepublish": "npm run build" |
| 343 |
}, |
| 344 |
"repository": { |
| 345 |
"type": "git", |
| 346 |
"url": "git+https://github.com/rafgraph/detect-passive-events.git" |
| 347 |
}, |
| 348 |
"keywords": [ |
| 349 |
"detect", |
| 350 |
"passive", |
| 351 |
"passive events" |
| 352 |
], |
| 353 |
"author": { |
| 354 |
"name": "Rafael Pedicini", |
| 355 |
"email": "[email protected]" |
| 356 |
}, |
| 357 |
"license": "MIT", |
| 358 |
"bugs": { |
| 359 |
"url": "https://github.com/rafgraph/detect-passive-events/issues" |
| 360 |
}, |
| 361 |
"homepage": "https://github.com/rafgraph/detect-passive-events#readme", |
| 362 |
"devDependencies": { |
| 363 |
"babel-cli": "^6.23.0", |
| 364 |
"babel-eslint": "^7.1.1", |
| 365 |
"babel-preset-es2015": "^6.22.0", |
| 366 |
"eslint": "^3.16.1", |
| 367 |
"eslint-config-airbnb-base": "^10.0.1", |
| 368 |
"eslint-plugin-import": "^2.2.0" |
| 369 |
}, |
| 370 |
"gitHead": "b6a23021a25b5732b6087c3ba4b47b2cecd55dbf", |
| 371 |
"_id": "[email protected]", |
| 372 |
"_nodeVersion": "12.18.3", |
| 373 |
"_npmVersion": "6.14.6", |
| 374 |
"dist": { |
| 375 |
"integrity": "sha512-foW7Q35wwOCxVzW0xLf5XeB5Fhe7oyRgvkBYdiP9IWgLMzjqUqTvsJv9ymuEWGjY6AoDXD3OC294+Z9iuOw0QA==", |
| 376 |
"shasum": "ce324db665123bef9e368b8059ff95d95217cc05", |
| 377 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-1.0.5.tgz", |
| 378 |
"fileCount": 5, |
| 379 |
"unpackedSize": 6453, |
| 380 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWnvbCRA9TVsSAnZWagAA5SQP/1OFZwxC/5Pwd37jN6qN\n2QLX/ajkU8U7vm1YYv6H3j4Qqn4VgHSFmZoa2Spv1HtkUuPLcNIor6iefvLC\nkF/k4QnGChH+pGwtprhdguQjJm6Gk5OXs0ELpCSKevuVc58+mflDTYXv4vv3\nrK6a5j4Y4vqqkacf/n9t1UknQLsgcQ2c3ELat5IgjRtUe3FuI61zh5VxadiN\na4qiD+ML8ClaC8/KuYGxkaLNBQI+pRpEiwcGD6jzJeC/NOUHCI7gsZzuim9Q\nDTiF/DbBPQgkM3MPRDxnsPP6Yo7lOb5zBmtBhLXun8y1MOWFaeGbeQoQS6LR\nbDl1uip4gUyOiwvx9B16ZLsYKdMKfJlR+oTTvAq7Zia1wqOWPCRNWO0I1Ck+\n2iT8PhdF4a0cgnNuIBfAKz8Vzh9qw5JLjd2yf2F7yG17WSxeo38IWQjp+ZSj\nzNglXJOqNuK5Qf6bNVyb2AGGX33ailrPSECtsHJV+IiUF9aOnp+yWKcDq+3q\nXc46WF2LcMLZOS3cI9WepjTg3DFN0GyfGXndf+X0H6cfCbV6jMVCtzaF7/8e\nDuO3WMLHY6m42HUnka2rCpcRE+6Dz3F9fV7GvkN7oyBVAqauE2DUrFmzzYlq\ncqsYgeSktmLtipwLCA52w2FnHD24s1YoDrNl2vd7szqI3AV9Xc4W1IananeI\nYmeG\r\n=FVtw\r\n-----END PGP SIGNATURE-----\r\n" |
| 381 |
}, |
| 382 |
"maintainers": [ |
| 383 |
{ |
| 384 |
"name": "rafgraph", |
| 385 |
"email": "[email protected]" |
| 386 |
} |
| 387 |
], |
| 388 |
"_npmUser": { |
| 389 |
"name": "rafgraph", |
| 390 |
"email": "[email protected]" |
| 391 |
}, |
| 392 |
"directories": {}, |
| 393 |
"_npmOperationalInternal": { |
| 394 |
"host": "s3://npm-registry-packages", |
| 395 |
"tmp": "tmp/detect-passive-events_1.0.5_1599765467492_0.1658390660595772" |
| 396 |
}, |
| 397 |
"_hasShrinkwrap": false |
| 398 |
}, |
| 399 |
"2.0.0": { |
| 400 |
"name": "detect-passive-events", |
| 401 |
"version": "2.0.0", |
| 402 |
"description": "Detect if the browser supports passive events", |
| 403 |
"source": "src/index.ts", |
| 404 |
"main": "dist/detect-passive-events.js", |
| 405 |
"umd:main": "dist/detect-passive-events.umd.min.js", |
| 406 |
"module": "dist/detect-passive-events.esm.js", |
| 407 |
"types": "dist/index.d.ts", |
| 408 |
"scripts": { |
| 409 |
"dev": "npm link && npm run watch && npm unlink", |
| 410 |
"watch": "rm -rf dist && trap 'exit 0' SIGINT; microbundle watch --format esm,cjs --no-compress --strict & microbundle watch --format umd --compress --strict", |
| 411 |
"build": "rm -rf dist && microbundle build --format esm,cjs --no-compress --strict && microbundle build --format umd --compress --strict", |
| 412 |
"prepublishOnly": "npm run test && npm run build", |
| 413 |
"tsc": "tsc --watch", |
| 414 |
"test": "jest", |
| 415 |
"test:watch": "jest --watchAll", |
| 416 |
"coverage": "npx live-server coverage/lcov-report" |
| 417 |
}, |
| 418 |
"repository": { |
| 419 |
"type": "git", |
| 420 |
"url": "git+https://github.com/rafgraph/detect-passive-events.git" |
| 421 |
}, |
| 422 |
"keywords": [ |
| 423 |
"detect", |
| 424 |
"passive", |
| 425 |
"passive events" |
| 426 |
], |
| 427 |
"author": { |
| 428 |
"name": "Rafael Pedicini", |
| 429 |
"email": "[email protected]" |
| 430 |
}, |
| 431 |
"license": "MIT", |
| 432 |
"bugs": { |
| 433 |
"url": "https://github.com/rafgraph/detect-passive-events/issues" |
| 434 |
}, |
| 435 |
"homepage": "https://detect-it.rafgraph.dev", |
| 436 |
"devDependencies": { |
| 437 |
"@types/jest": "^26.0.14", |
| 438 |
"jest": "^26.5.3", |
| 439 |
"microbundle": "^0.12.4", |
| 440 |
"prettier": "^2.1.2", |
| 441 |
"ts-jest": "^26.4.1", |
| 442 |
"typescript": "^4.0.3" |
| 443 |
}, |
| 444 |
"prettier": { |
| 445 |
"singleQuote": true, |
| 446 |
"trailingComma": "all", |
| 447 |
"printWidth": 100 |
| 448 |
}, |
| 449 |
"gitHead": "fe27bfb367bb62a12047fdc653b6a863c1f62c1a", |
| 450 |
"_id": "[email protected]", |
| 451 |
"_nodeVersion": "12.18.3", |
| 452 |
"_npmVersion": "6.14.8", |
| 453 |
"dist": { |
| 454 |
"integrity": "sha512-RkPvKkEzTlCeLno9Pv9DZjz1OW8QBuX56Op9KGbnHzUutgi4mA6Z1bwUUgu6LZXxpKMIQWhPW5POzbWMZUz2lA==", |
| 455 |
"shasum": "862afcd534021179bb030fac726c416f96d793b7", |
| 456 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-2.0.0.tgz", |
| 457 |
"fileCount": 14, |
| 458 |
"unpackedSize": 12862, |
| 459 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiET8CRA9TVsSAnZWagAA84IQAIo6NuQG6sdZgtxvd9mZ\n4e0QIhRdmE0i03yfsePzVi+TgF3kPo5llVovMqchVXTr262tHDMbOuLPab+O\n8QZ2Ko7iOCHSgo7fyoN8WzQ2oUhOYyrnRcvOeCuiW/wDU9KNYr4hf3ZCdLpQ\nb+rYQvQCm6htygVRTnlQL+i+KK33h6ljVWsLO+XBLwQQQzKAwLQ4YHGbtu1w\n40d3RTS9vK+YvJVZSVNNzkzFoY3AlBOGl7URMO5hf3FrmnIHQO6TeDa1Tbi+\nC0muiBqZJJumQsSfvjG8zYZa+LWPoMZXRaC8Wl50G+DYVSJ/kUpTCQtgzIiF\n2eU30ii2X8ikB3SW6/x57EHtNhijtJgw2guPSOn00tf0eQNg9N2tLAOZ5GbS\nQd0FZBkCnDEjepeaOtrbwImXGsfZdRDU8QoNH5zyqsPT5Jg4n+BWJHZNfKpd\nx6ns6723ldeHRY0/7NTMZaTJFDs7V7rakxKTJHuou0tOpth4ooKQF6ULyxVf\nVzyXmlfZJZYxeZbxKTB1xjHqOsxRjC8g+TlkGQtPUxa5wGHgEXdbzQoCsyrw\nG5tdRc74TajLZVvUcNh5Ad1tQCwOit6geva4GuOlM20MZ48qxa55BvZg4Zad\n+ZzzJSOGxOn5W4vvfdPPwSI0bid+x/9ULVPb0CrW8h5KWdMlkmzxAo6x1sPg\n2HfZ\r\n=zQ6O\r\n-----END PGP SIGNATURE-----\r\n" |
| 460 |
}, |
| 461 |
"maintainers": [ |
| 462 |
{ |
| 463 |
"name": "rafgraph", |
| 464 |
"email": "[email protected]" |
| 465 |
} |
| 466 |
], |
| 467 |
"_npmUser": { |
| 468 |
"name": "rafgraph", |
| 469 |
"email": "[email protected]" |
| 470 |
}, |
| 471 |
"directories": {}, |
| 472 |
"_npmOperationalInternal": { |
| 473 |
"host": "s3://npm-registry-packages", |
| 474 |
"tmp": "tmp/detect-passive-events_2.0.0_1602766075744_0.14560487416648416" |
| 475 |
}, |
| 476 |
"_hasShrinkwrap": false |
| 477 |
}, |
| 478 |
"2.0.1": { |
| 479 |
"name": "detect-passive-events", |
| 480 |
"version": "2.0.1", |
| 481 |
"description": "Detect if the browser supports passive events", |
| 482 |
"source": "src/index.ts", |
| 483 |
"main": "dist/detect-passive-events.js", |
| 484 |
"umd:main": "dist/detect-passive-events.umd.min.js", |
| 485 |
"module": "dist/detect-passive-events.esm.js", |
| 486 |
"types": "dist/index.d.ts", |
| 487 |
"sideEffects": false, |
| 488 |
"scripts": { |
| 489 |
"dev": "npm link && npm run watch && npm unlink", |
| 490 |
"watch": "rm -rf dist && trap 'exit 0' SIGINT; microbundle watch --format esm,cjs --no-compress --strict & microbundle watch --format umd --compress --strict", |
| 491 |
"build": "rm -rf dist && microbundle build --format esm,cjs --no-compress --strict && microbundle build --format umd --compress --strict", |
| 492 |
"prepublishOnly": "npm run test && npm run build", |
| 493 |
"tsc": "tsc --watch", |
| 494 |
"test": "jest", |
| 495 |
"test:watch": "jest --watchAll", |
| 496 |
"coverage": "npx live-server coverage/lcov-report" |
| 497 |
}, |
| 498 |
"repository": { |
| 499 |
"type": "git", |
| 500 |
"url": "git+https://github.com/rafgraph/detect-passive-events.git" |
| 501 |
}, |
| 502 |
"keywords": [ |
| 503 |
"detect", |
| 504 |
"passive", |
| 505 |
"passive events" |
| 506 |
], |
| 507 |
"author": { |
| 508 |
"name": "Rafael Pedicini", |
| 509 |
"email": "[email protected]" |
| 510 |
}, |
| 511 |
"license": "MIT", |
| 512 |
"bugs": { |
| 513 |
"url": "https://github.com/rafgraph/detect-passive-events/issues" |
| 514 |
}, |
| 515 |
"homepage": "https://detect-it.rafgraph.dev", |
| 516 |
"devDependencies": { |
| 517 |
"@types/jest": "^26.0.14", |
| 518 |
"jest": "^26.5.3", |
| 519 |
"microbundle": "^0.12.4", |
| 520 |
"prettier": "^2.1.2", |
| 521 |
"ts-jest": "^26.4.1", |
| 522 |
"typescript": "^4.0.3" |
| 523 |
}, |
| 524 |
"prettier": { |
| 525 |
"singleQuote": true, |
| 526 |
"trailingComma": "all", |
| 527 |
"printWidth": 100 |
| 528 |
}, |
| 529 |
"gitHead": "6583feda83f7ea4f7d8b276b077f3b8dd4ab5d5f", |
| 530 |
"_id": "[email protected]", |
| 531 |
"_nodeVersion": "12.18.3", |
| 532 |
"_npmVersion": "6.14.8", |
| 533 |
"dist": { |
| 534 |
"integrity": "sha512-7WbRn4mznO63FW0KSYa7S3HgCG94uZ6HGZO1TyVRtdZuMNGUeY/ScWrIx45XnUz1LWoLZVi13ULVHqKE07ZfKg==", |
| 535 |
"shasum": "fdbd6f6dd5e6ac10c6189a4cb26ab264d41c0835", |
| 536 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-2.0.1.tgz", |
| 537 |
"fileCount": 14, |
| 538 |
"unpackedSize": 12922, |
| 539 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiMxbCRA9TVsSAnZWagAAcxYQAIrvjGwp8qokZ1MlY4Lk\nwhgCz67rRSRtQ38D7cG9War2a1lJ/9Qg3BrwywHZLZgslfs46IJyMsP+1oWu\nvprhwm8QPbECGPA1yMTt7p1RPGrRUsQfHhZYXaioPoBp3abhFtIWAkZIkuDH\nr46oMuTAGYpbf03EO1QlzVliEKVFKdw9mVacGA76hZePxPbrHGU96fQVwYtR\nIlTS4RbfZUU1EBoBpLJGfm9ud7FLaBO3bru20c6Gx0MB/lJUZOVDGZYaMcF4\ngrBY1z0U1A0qVYwbGWrlu1umWBfEqmfZFAKdfNvetyNZT1uxLPU4+40bXUIZ\nvaOV0nVxHSeDPjJZ6/Efxxpq1lqTFMBrjuzgcZe7MZMeDdJVXVFvboDckqWn\n9BuXfbP5K/DoeRCOQx8C/IDntvQkSI3qq/JC8cSdHGWor9pFr6BUzK7E0sXV\nQpFxGX/GLzltigW4H3qANhppOHGFmE2IYJmDmkMn2EniczDAETwU2ljmlpf5\n0B/aK035WtV7SQAtVdxFCStAD7B0k40/C5ZQIm/Vq619Mb1gQLXq9lgjq4l8\nlEdNBmBErMZ7r3YHpvNPHOzNIsMkS645QSUimBHjt7Lf5Q/d7YlUVekRiWAE\nEGoRrAhm9PZWaVWLTtler34aRU2BYD9XSW0PJhAva8gbYk2d9Ede24ORImMc\nqthY\r\n=jNPZ\r\n-----END PGP SIGNATURE-----\r\n" |
| 540 |
}, |
| 541 |
"maintainers": [ |
| 542 |
{ |
| 543 |
"name": "rafgraph", |
| 544 |
"email": "[email protected]" |
| 545 |
} |
| 546 |
], |
| 547 |
"_npmUser": { |
| 548 |
"name": "rafgraph", |
| 549 |
"email": "[email protected]" |
| 550 |
}, |
| 551 |
"directories": {}, |
| 552 |
"_npmOperationalInternal": { |
| 553 |
"host": "s3://npm-registry-packages", |
| 554 |
"tmp": "tmp/detect-passive-events_2.0.1_1602800730824_0.15833894325047182" |
| 555 |
}, |
| 556 |
"_hasShrinkwrap": false |
| 557 |
}, |
| 558 |
"2.0.2": { |
| 559 |
"name": "detect-passive-events", |
| 560 |
"version": "2.0.2", |
| 561 |
"description": "Detect if the browser supports passive events", |
| 562 |
"main": "dist/detect-passive-events.cjs.js", |
| 563 |
"module": "dist/detect-passive-events.esm.js", |
| 564 |
"types": "dist/index.d.ts", |
| 565 |
"sideEffects": false, |
| 566 |
"scripts": { |
| 567 |
"dev": "npm link && npm run watch && npm unlink -g", |
| 568 |
"build": "rollpkg build", |
| 569 |
"watch": "rollpkg watch", |
| 570 |
"prepublishOnly": "npm run lint && npm test && npm run build", |
| 571 |
"lint": "eslint src", |
| 572 |
"test": "jest", |
| 573 |
"test:watch": "jest --watchAll", |
| 574 |
"coverage": "npx live-server coverage/lcov-report" |
| 575 |
}, |
| 576 |
"repository": { |
| 577 |
"type": "git", |
| 578 |
"url": "git+https://github.com/rafgraph/detect-passive-events.git" |
| 579 |
}, |
| 580 |
"keywords": [ |
| 581 |
"detect", |
| 582 |
"passive", |
| 583 |
"passive events" |
| 584 |
], |
| 585 |
"author": { |
| 586 |
"name": "Rafael Pedicini", |
| 587 |
"email": "[email protected]" |
| 588 |
}, |
| 589 |
"license": "MIT", |
| 590 |
"bugs": { |
| 591 |
"url": "https://github.com/rafgraph/detect-passive-events/issues" |
| 592 |
}, |
| 593 |
"homepage": "https://detect-it.rafgraph.dev", |
| 594 |
"devDependencies": { |
| 595 |
"rollpkg": "^0.1.1", |
| 596 |
"typescript": "^4.1.2" |
| 597 |
}, |
| 598 |
"prettier": "rollpkg/configs/prettier.json", |
| 599 |
"eslintConfig": { |
| 600 |
"extends": [ |
| 601 |
"./node_modules/rollpkg/configs/eslint" |
| 602 |
] |
| 603 |
}, |
| 604 |
"jest": { |
| 605 |
"preset": "rollpkg" |
| 606 |
}, |
| 607 |
"gitHead": "3553351e8ff7241381c1d962eecaae83bbddd569", |
| 608 |
"_id": "[email protected]", |
| 609 |
"_nodeVersion": "14.15.0", |
| 610 |
"_npmVersion": "7.0.14", |
| 611 |
"dist": { |
| 612 |
"integrity": "sha512-Ru7Eiz+pCy++QpqaNOgaIjlM0PzxEsh3Etg3wtntNhW2r3H1/8KkcR8bX9ApPIZChiNO2Pz//60uUg29DPNh3Q==", |
| 613 |
"shasum": "229d02a20c47371194a2def84144c07d83e324c2", |
| 614 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-2.0.2.tgz", |
| 615 |
"fileCount": 15, |
| 616 |
"unpackedSize": 15050, |
| 617 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfwT3ECRA9TVsSAnZWagAAGTEQAIAgzcAhh1UUxzU45uYR\nj7h/y8901QLxLg1FEOJQ2OgpPN7DsW0beqwTGStWZjPfzAFVCFoJtcnSKzUS\nwJPHRZ0sI/Qgy/boSIolQ3JL8M6axvvRops4Dl6N55GL0TsbVu5B0Wkk4FCy\ndyFHni884GUN9B9jHWe7H4omk4b8x+yrqEjeeZoxhnJBVzyLmKpZLSp81uA2\nl6Xi9ykt+vb1oyId8VoHL8/bwm0HQoPVt8xENdhgiFV4kh2lqx5EIwL+J3tN\nRttX1JUK/XM06EV75LI2wc6OR6yerBS8u2qp8BYIXlE0QOFftSpCM0LBwFds\nFSMUMqnBY96J1wFMEb4dPA28/Ww5pcBT2Ws0flh7pMcLKBgcP7oTLXKWrkWY\ntVCfd7FHzxThJrnxa86AhSlL+Uj/lOCGdjT9GEkpVMFT7uO3zpoab6Cl9ThP\nOt3x8PC89LAdCIjdUVaUfUqOjyqa/fRa9rSfsZn3w72GZGheax7lXgxnKZoV\nNRY8/POJHN8UQSnuuTlZv+VYpTwCTUBKDCFIwpV73SXt07dj/vrW7i6URhDd\nkduT23BcsqPM84baVQB/Q+J0DYaTECVdFUxOb1LfzmIZZ1tPvhEUeHSn6urA\nkZ9LG/CubAiY29Xvk6cN0HjhEeBxRDimIMEi0ktgZEPPoFGW/iBvhDDsUbk8\nf7AO\r\n=qNRq\r\n-----END PGP SIGNATURE-----\r\n" |
| 618 |
}, |
| 619 |
"_npmUser": { |
| 620 |
"name": "rafgraph", |
| 621 |
"email": "[email protected]" |
| 622 |
}, |
| 623 |
"directories": {}, |
| 624 |
"maintainers": [ |
| 625 |
{ |
| 626 |
"name": "rafgraph", |
| 627 |
"email": "[email protected]" |
| 628 |
} |
| 629 |
], |
| 630 |
"_npmOperationalInternal": { |
| 631 |
"host": "s3://npm-registry-packages", |
| 632 |
"tmp": "tmp/detect-passive-events_2.0.2_1606499779614_0.8743462910637769" |
| 633 |
}, |
| 634 |
"_hasShrinkwrap": false |
| 635 |
}, |
| 636 |
"2.0.3": { |
| 637 |
"name": "detect-passive-events", |
| 638 |
"version": "2.0.3", |
| 639 |
"description": "Detect if the browser supports passive events", |
| 640 |
"main": "dist/detect-passive-events.cjs.js", |
| 641 |
"module": "dist/detect-passive-events.esm.js", |
| 642 |
"types": "dist/index.d.ts", |
| 643 |
"sideEffects": false, |
| 644 |
"scripts": { |
| 645 |
"build": "rollpkg build --addUmdBuild", |
| 646 |
"watch": "rollpkg watch", |
| 647 |
"prepublishOnly": "npm run lint && npm test && npm run build", |
| 648 |
"lint": "eslint src", |
| 649 |
"test": "jest", |
| 650 |
"test:watch": "jest --watchAll", |
| 651 |
"coverage": "npx live-server coverage/lcov-report" |
| 652 |
}, |
| 653 |
"repository": { |
| 654 |
"type": "git", |
| 655 |
"url": "git+https://github.com/rafgraph/detect-passive-events.git" |
| 656 |
}, |
| 657 |
"keywords": [ |
| 658 |
"detect", |
| 659 |
"passive", |
| 660 |
"passive events" |
| 661 |
], |
| 662 |
"author": { |
| 663 |
"name": "Rafael Pedicini", |
| 664 |
"email": "[email protected]" |
| 665 |
}, |
| 666 |
"license": "MIT", |
| 667 |
"bugs": { |
| 668 |
"url": "https://github.com/rafgraph/detect-passive-events/issues" |
| 669 |
}, |
| 670 |
"homepage": "https://detect-it.rafgraph.dev", |
| 671 |
"devDependencies": { |
| 672 |
"rollpkg": "^0.4.2", |
| 673 |
"typescript": "^4.1.5" |
| 674 |
}, |
| 675 |
"prettier": "rollpkg/configs/prettier.json", |
| 676 |
"eslintConfig": { |
| 677 |
"extends": [ |
| 678 |
"./node_modules/rollpkg/configs/eslint" |
| 679 |
] |
| 680 |
}, |
| 681 |
"jest": { |
| 682 |
"preset": "rollpkg" |
| 683 |
}, |
| 684 |
"dependencies": { |
| 685 |
"detect-it": "^4.0.1" |
| 686 |
}, |
| 687 |
"gitHead": "4a4c50c6d9386c86ec9fc952d6763a525cb1e08c", |
| 688 |
"_id": "[email protected]", |
| 689 |
"_nodeVersion": "14.15.4", |
| 690 |
"_npmVersion": "7.5.3", |
| 691 |
"dist": { |
| 692 |
"integrity": "sha512-QN/1X65Axis6a9D8qg8Py9cwY/fkWAmAH/edTbmLMcv4m5dboLJ7LcAi8CfaCON2tjk904KwKX/HTdsHC6yeRg==", |
| 693 |
"shasum": "1f75ebf80660a66c615d8be23c3241cdda6977e0", |
| 694 |
"tarball": "https://registry.npmjs.org/detect-passive-events/-/detect-passive-events-2.0.3.tgz", |
| 695 |
"fileCount": 15, |
| 696 |
"unpackedSize": 25016, |
| 697 |
"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJdKFCRA9TVsSAnZWagAAi0wP/in//1/Ns12fem2BQtnp\nClOR0SdavSInVWghiFZPnvGrfaCjivNo3heoQ+IQuN/MfmX2xiX6je8sEtfu\nsrV9rBFjlApHChey1HFirrV5/sAs03tpPHtfLalASNCxj0vPtG/2iY3bIt+H\n5XmjPDJyLmFcGDJ7Ei468EabSsaLTxaujlGAybIZvajUMmvpvREPtoxvEOrJ\n5fvo0wUfWj1VbiMUQIGEfh7ve+oZr6BOfeEjHQvKPyBBEsddWbPzlzJqmPQ3\nmbIc3K1ATjVpZX/2pyH1nhUjLZpxC2GJzV51onTtSrftxGhkQ+NfXac7T9l2\no3nKI4mWpHxYNLnwDfTTZGmNeRx2APlwBfDvD445CZmeA2qqX9FkJ9xTjNwS\nVMEtqfYC62LPBUUoz32K8nww7yywd/MmbNd4mMfQqI9iIckWT30EZBAjF5Tt\nUYCTmiggeQnU0HlXZDnYgk0+tYPYHmfZY14xt9cfGXHeiryXAOjkLBzD18Jt\nSOM8vBuFshsP2qyecaFJfrsNHTZqwV3xUx//V/zz9pruORSjg78nkM3oLg3P\nh4JmMdGyUvSRPPr4IPokUyne9JP6yHARBD8EUQF5atZJdPzblu0zxZ1EOeQj\nLiNH/kbBP7wE3561/isdhQ6vSvzjYwYMq6ynPpDLKHtA4lmCGg9F6jxN8OWc\nRZnQ\r\n=QsZZ\r\n-----END PGP SIGNATURE-----\r\n" |
| 698 |
}, |
| 699 |
"_npmUser": { |
| 700 |
"name": "rafgraph", |
| 701 |
"email": "[email protected]" |
| 702 |
}, |
| 703 |
"directories": {}, |
| 704 |
"maintainers": [ |
| 705 |
{ |
| 706 |
"name": "rafgraph", |
| 707 |
"email": "[email protected]" |
| 708 |
} |
| 709 |
], |
| 710 |
"_npmOperationalInternal": { |
| 711 |
"host": "s3://npm-registry-packages", |
| 712 |
"tmp": "tmp/detect-passive-events_2.0.3_1613091460663_0.740634413523988" |
| 713 |
}, |
| 714 |
"_hasShrinkwrap": false |
| 715 |
} |
| 716 |
}, |
| 717 |
"readme": "# Detect Passive Events\n\nDetects if the browser supports passive event listeners. Tree-shakable and side-effect free. Also available as part of [`detect-it`][detectitrepo].\n\n[Live detection test][livedetectiontest]\n\n[](https://www.npmjs.com/package/detect-passive-events) [](https://bundlephobia.com/result?p=detect-passive-events) \n\n> Note that the code used in the detection is adapted from this [Passive Events Explainer][passiveexplainer].\n\n### Using `detect-passive-events`\n\n```\nnpm install --save detect-passive-events\n```\n\n```js\n// supportsPassiveEvents is a boolean\nimport { supportsPassiveEvents } from 'detect-passive-events';\n\nif (supportsPassiveEvents) {\n // passive events are supported by the browser\n document.addEventListener('scroll', handleScroll, { capture: false, passive: true });\n} else {\n // passive events are not supported by the browser\n document.addEventListener('scroll', handleScroll, false);\n}\n```\n\n### Or use the script directly in the browser\n\nOptionally, instead using `npm install` you can the load the script directly in the browser. A minified UMD version is available from Unpkg for this purpose.\n\n```html\n<script src=\"https://unpkg.com/detect-passive-events@2/dist/detect-passive-events.umd.production.js\"></script>\n```\n\n```js\n// it will be available on the window as DetectPassiveEvents\nif (window.DetectPassiveEvents.supportsPassiveEvents) {\n document.addEventListener('scroll', handleScroll, { capture: false, passive: true });\n} else {\n document.addEventListener('scroll', handleScroll, false);\n}\n```\n\n<!-- links -->\n\n[livedetectiontest]: https://detect-it.rafgraph.dev\n[passiveexplainer]: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md\n[detectitrepo]: https://github.com/rafgraph/detect-it\n", |
| 718 |
"maintainers": [ |
| 719 |
{ |
| 720 |
"name": "rafgraph", |
| 721 |
"email": "[email protected]" |
| 722 |
} |
| 723 |
], |
| 724 |
"time": { |
| 725 |
"modified": "2021-02-12T00:57:44.127Z", |
| 726 |
"created": "2016-11-08T22:00:39.447Z", |
| 727 |
"1.0.0": "2016-11-08T22:00:39.447Z", |
| 728 |
"1.0.1": "2017-02-24T19:20:51.024Z", |
| 729 |
"1.0.2": "2017-02-27T19:42:08.731Z", |
| 730 |
"1.0.3": "2017-09-25T18:52:05.451Z", |
| 731 |
"1.0.4": "2017-09-26T18:11:00.965Z", |
| 732 |
"1.0.5": "2020-09-10T19:17:47.611Z", |
| 733 |
"2.0.0": "2020-10-15T12:47:55.855Z", |
| 734 |
"2.0.1": "2020-10-15T22:25:30.985Z", |
| 735 |
"2.0.2": "2020-11-27T17:56:19.969Z", |
| 736 |
"2.0.3": "2021-02-12T00:57:40.793Z" |
| 737 |
}, |
| 738 |
"homepage": "https://detect-it.rafgraph.dev", |
| 739 |
"keywords": [ |
| 740 |
"detect", |
| 741 |
"passive", |
| 742 |
"passive events" |
| 743 |
], |
| 744 |
"repository": { |
| 745 |
"type": "git", |
| 746 |
"url": "git+https://github.com/rafgraph/detect-passive-events.git" |
| 747 |
}, |
| 748 |
"author": { |
| 749 |
"name": "Rafael Pedicini", |
| 750 |
"email": "[email protected]" |
| 751 |
}, |
| 752 |
"bugs": { |
| 753 |
"url": "https://github.com/rafgraph/detect-passive-events/issues" |
| 754 |
}, |
| 755 |
"license": "MIT", |
| 756 |
"readmeFilename": "README.md", |
| 757 |
"users": { |
| 758 |
"shakakira": true |
| 759 |
} |
| 760 |
} |