These browsers have bugs that occasionally cause typed array comparisons to pass when they should fail, or vice versa: * for...in loops sometimes omit keys, such that two typed arrays with different lengths appear to have the same set of keys. * Typed arrays sometimes have mulitple undefined keys (which is to say that the key itself is undefined). Two typed arrays with identical length and contents can compare unequal because of the spurious undefined keys.) Those problems could be avoided by comparing keys 0...length-1 rather than the actual set of exposed keys, but that would be a pretty nasty breaking change for anyone whose code tacks extra properties onto typed arrays. So far these bugs haven't been seen in anything newer than FF 128. Since the affected browsers are all past end of life, the most sensible thing is to just stop testing against them.
61 lines
1.8 KiB
JSON
61 lines
1.8 KiB
JSON
{
|
|
"name": "jasmine-core",
|
|
"license": "MIT",
|
|
"version": "6.1.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jasmine/jasmine.git"
|
|
},
|
|
"keywords": [
|
|
"test",
|
|
"testing",
|
|
"jasmine",
|
|
"tdd",
|
|
"bdd"
|
|
],
|
|
"scripts": {
|
|
"posttest": "eslint \"src/**/*.js\" \"spec/**/*.js\" && prettier --check \"src/**/*.js\" \"spec/**/*.js\"",
|
|
"test": "node scripts/runSpecsInNode.js",
|
|
"test:parallel": "node scripts/runSpecsInParallel.js",
|
|
"cleanup": "prettier --write \"src/**/*.js\" \"spec/**/*.js\"",
|
|
"build": "node scripts/buildDistribution.js",
|
|
"buildStandaloneDist": "node scripts/buildStandaloneDist.js",
|
|
"serve": "node spec/support/localJasmineBrowser.js",
|
|
"serve:performance": "node spec/support/localJasmineBrowser.js jasmine-browser-performance.json",
|
|
"ci": "node spec/support/ci.js",
|
|
"ci:performance": "node spec/support/ci.js jasmine-browser-performance.json"
|
|
},
|
|
"description": "Simple JavaScript testing framework for browsers and node.js",
|
|
"homepage": "https://jasmine.github.io",
|
|
"main": "./lib/jasmine-core.js",
|
|
"files": [
|
|
"LICENSE",
|
|
"README.md",
|
|
"images/*.{png,svg}",
|
|
"lib/**/*.{js,css}",
|
|
"package.json"
|
|
],
|
|
"devDependencies": {
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.24.0",
|
|
"archiver": "^7.0.1",
|
|
"css-url-embed": "^0.1.0",
|
|
"ejs": "^3.1.10",
|
|
"eslint": "^9.24.0",
|
|
"eslint-plugin-compat": "^6.0.2",
|
|
"glob": "^13.0.0",
|
|
"globals": "^16.0.0",
|
|
"jasmine": "github:jasmine/jasmine-npm",
|
|
"jasmine-browser-runner": "github:jasmine/jasmine-browser-runner",
|
|
"jsdom": "^26.0.0",
|
|
"prettier": "1.17.1",
|
|
"sass": "^1.58.3"
|
|
},
|
|
"browserslist": [
|
|
"Safari >= 26",
|
|
"Firefox >= 140",
|
|
"last 2 Chrome versions",
|
|
"last 2 Edge versions"
|
|
]
|
|
}
|