mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-22 14:24:27 +01:00
- fixed edge case in jsonP rewriting where no callback name is supplied only ? but body has normal jsonP callback (url = https://geolocation.onetrust.com/cookieconsentpub/v1/geo/countries/EU?callback=?) - made the `!self.__WB_pmw` server side inject match the client side one done via wombat - added regex's for eval override to JSWombatProxyRules wombat: - added eval override in order to ensure AD network JS does not lockup the browser (cnn.com) - added returning a proxied value for window.parent from the window proxy object in order to ensure AD network JS does not lock up browser (cnn.com, boston.com, et. al.) - ensured that the read only storageArea property of 'StorageEvents' fired by the custom storage class is present (spec) - ensured that userland cannot create new instances of Storage and that localStorage instanceof Storage works with our override (spec) - ensured that assignments to SomeElement.[innerHTML|outerHTML], iframe.srcdoc, or style.textContent are more correctly handled in particular doing script.[innerHTML|outerHTML] = <JS> - ensured that the test used in the isArgumentsObj function does not throw errors IFF the pages JS has made it so when toString is called (linkedin.com) - ensured that Web Worker construction when using the optional options object, the options get supplied to the create worker (spec) - ensured that the expected TypeError exception thrown from DomConstructors of overridden interfaces are thrown when their pre-conditions are not met (spec) - ensured that wombat worker rewriting skipes data urls which should not be rewritten - ensured the bound function returned by the window function is the same on subsequent retrievals fixes #474 tests: - added direct testing of wombat's parts
67 lines
1.8 KiB
JSON
Executable File
67 lines
1.8 KiB
JSON
Executable File
{
|
|
"name": "wombat",
|
|
"version": "2.53.0",
|
|
"main": "index.js",
|
|
"license": "GPL-3.0",
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^7.0.0",
|
|
"ava": "^2.1.0",
|
|
"chokidar": "^3.0.1",
|
|
"chrome-remote-interface-extra": "^1.1.1",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-prettier": "^5.0.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"fastify": "^2.5.0",
|
|
"fastify-favicon": "^2.0.0",
|
|
"fastify-graceful-shutdown": "^2.0.1",
|
|
"fastify-static": "^2.5.0",
|
|
"fs-extra": "^8.0.1",
|
|
"lodash-es": "^4.17.11",
|
|
"prettier": "^1.18.2",
|
|
"rollup": "^1.15.6",
|
|
"rollup-plugin-babel-minify": "^8.0.0",
|
|
"rollup-plugin-cleanup": "^3.1.1",
|
|
"rollup-plugin-commonjs": "^10.0.0",
|
|
"rollup-plugin-node-resolve": "^5.0.3",
|
|
"rollup-plugin-uglify": "^6.0.2",
|
|
"rollup-plugin-uglify-es": "^0.0.1",
|
|
"tls-keygen": "^3.7.0"
|
|
},
|
|
"scripts": {
|
|
"build-prod": "rollup -c rollup.config.prod.js",
|
|
"build-dev": "ALL=1 rollup -c rollup.config.dev.js",
|
|
"build-dev-watch": "rollup --watch -c rollup.config.dev.js",
|
|
"build-dev-watch-proxy": "PROXY=1 rollup --watch -c rollup.config.dev.js",
|
|
"build-test": "rollup -c rollup.config.test.js",
|
|
"build-full-test": "rollup -c rollup.config.test.js && rollup -c ./internal/rollup.testPageBundle.config.js",
|
|
"build-test-bundle": "rollup -c ./internal/rollup.testPageBundle.config.js",
|
|
"test": "ava --verbose"
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true
|
|
},
|
|
"ava": {
|
|
"concurrency": 1,
|
|
"verbose": true,
|
|
"serial": true,
|
|
"files": [
|
|
"test/*.js",
|
|
"!test/helpers/*.js",
|
|
"!test/assests/*",
|
|
"!test/helpers/extractOrigFunky.js"
|
|
],
|
|
"helpers": [
|
|
"test/helpers/**.js"
|
|
],
|
|
"sources": [
|
|
"src/**/*"
|
|
]
|
|
},
|
|
"resolutions": {
|
|
"*/**/graceful-fs": "~4.1.15"
|
|
},
|
|
"dependencies": {
|
|
"just-launch-chrome": "^1.0.0"
|
|
}
|
|
}
|