mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
559bc5ac58
The upstream package has been unmaintained for years, with dependencies with long-reported security issues. Switching to a fork allows to resolve all the security reports against the jQuery development environment. The fork is maintained by @mgol and has the following changes: 1. The `underscore` dependency has been removed. 2. `sinon` has been updated from v1 to v19. 3. `mocha` has been updated from v2 to v10. Changes to the source are minimal; it will be easy to rebase the fixes if the upstream package is ever updated. In addition to the above, the `q` dependency has been removed. It's been added in gh-1996 but never really used. Closes gh-5559
178 lines
7.1 KiB
JSON
178 lines
7.1 KiB
JSON
{
|
|
"name": "jquery",
|
|
"title": "jQuery",
|
|
"description": "JavaScript library for DOM operations",
|
|
"version": "4.0.0-beta.2",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"node": {
|
|
"import": "./dist-module/wrappers/jquery.node-module-wrapper.js",
|
|
"default": "./dist/jquery.js"
|
|
},
|
|
"module": {
|
|
"import": "./dist-module/jquery.module.js",
|
|
"default": "./dist/wrappers/jquery.bundler-require-wrapper.js"
|
|
},
|
|
"import": "./dist-module/jquery.module.js",
|
|
"default": "./dist/jquery.js"
|
|
},
|
|
"./slim": {
|
|
"node": {
|
|
"import": "./dist-module/wrappers/jquery.node-module-wrapper.slim.js",
|
|
"default": "./dist/jquery.slim.js"
|
|
},
|
|
"module": {
|
|
"import": "./dist-module/jquery.slim.module.js",
|
|
"default": "./dist/wrappers/jquery.bundler-require-wrapper.slim.js"
|
|
},
|
|
"import": "./dist-module/jquery.slim.module.js",
|
|
"default": "./dist/jquery.slim.js"
|
|
},
|
|
"./factory": {
|
|
"node": "./dist/jquery.factory.js",
|
|
"module": "./dist-module/jquery.factory.module.js",
|
|
"import": "./dist-module/jquery.factory.module.js",
|
|
"default": "./dist/jquery.factory.js"
|
|
},
|
|
"./factory-slim": {
|
|
"node": "./dist/jquery.factory.slim.js",
|
|
"module": "./dist-module/jquery.factory.slim.module.js",
|
|
"import": "./dist-module/jquery.factory.slim.module.js",
|
|
"default": "./dist/jquery.factory.slim.js"
|
|
},
|
|
"./src/*.js": "./src/*.js"
|
|
},
|
|
"main": "dist/jquery.js",
|
|
"scripts": {
|
|
"authors:check": "node --input-type=module -e \"import { checkAuthors } from './build/release/authors.js'; checkAuthors()\"",
|
|
"authors:update": "node --input-type=module -e \"import { updateAuthors } from './build/release/authors.js'; updateAuthors()\"",
|
|
"babel:tests": "babel test/data/core/jquery-iterability-transpiled-es6.js --out-file test/data/core/jquery-iterability-transpiled.js",
|
|
"build": "node ./build/command.js",
|
|
"build:all": "node --input-type=module -e \"import { buildDefaultFiles } from './build/tasks/build.js'; buildDefaultFiles()\"",
|
|
"build:clean": "rimraf --glob dist/*.{js,map} --glob dist-module/*.{js,map}",
|
|
"build:main": "node --input-type=module -e \"import { build } from './build/tasks/build.js'; build()\"",
|
|
"lint:dev": "eslint --cache .",
|
|
"lint:json": "jsonlint --quiet package.json",
|
|
"lint": "concurrently -r \"npm:lint:dev\" \"npm:lint:json\"",
|
|
"npmcopy": "node build/tasks/npmcopy.js",
|
|
"prepare": "husky",
|
|
"pretest": "npm run qunit-fixture && npm run babel:tests && npm run npmcopy",
|
|
"qunit-fixture": "node build/tasks/qunit-fixture.js",
|
|
"release": "release-it",
|
|
"release:cdn": "node build/release/cdn.js",
|
|
"release:clean": "rimraf tmp changelog.html contributors.html",
|
|
"release:dist": "node build/release/dist.js",
|
|
"release:verify": "node build/release/verify.js",
|
|
"start": "node --input-type=module -e \"import { buildDefaultFiles } from './build/tasks/build.js'; buildDefaultFiles({ watch: true })\"",
|
|
"test:bundlers": "npm run pretest && npm run build:all && node test/bundler_smoke_tests/run-jsdom-tests.js",
|
|
"test:browser": "npm run pretest && npm run build:main && npm run test:unit -- -b chrome -b firefox -h",
|
|
"test:browserless": "npm run pretest && npm run build:all && node test/bundler_smoke_tests/run-jsdom-tests.js && node build/tasks/node_smoke_tests.js && node build/tasks/promises_aplus_tests.js && npm run test:unit -- -b jsdom -m basic",
|
|
"test:jsdom": "npm run pretest && npm run build:main && npm run test:unit -- -b jsdom -m basic",
|
|
"test:node_smoke_tests": "npm run pretest && npm run build:all && node build/tasks/node_smoke_tests.js",
|
|
"test:promises_aplus": "npm run build:main && node build/tasks/promises_aplus_tests.js",
|
|
"test:chrome": "npm run pretest && npm run build:main && npm run test:unit -- -v -b chrome -h",
|
|
"test:edge": "npm run pretest && npm run build:main && npm run test:unit -- -v -b edge -h",
|
|
"test:firefox": "npm run pretest && npm run build:main && npm run test:unit -- -v -b firefox -h",
|
|
"test:ie": "npm run pretest && npm run build:main && npm run test:unit -- -v -b ie",
|
|
"test:safari": "npm run pretest && npm run build:main && npm run test:unit -- -b safari",
|
|
"test:server": "node test/runner/server.js",
|
|
"test:esm": "npm run pretest && npm run build:main && npm run test:unit -- --esm -h",
|
|
"test:no-deprecated": "npm run pretest && npm run build -- -e deprecated && npm run test:unit -- -h",
|
|
"test:selector-native": "npm run pretest && npm run build -- -e selector && npm run test:unit -- -h",
|
|
"test:slim": "npm run pretest && npm run build -- --slim && npm run test:unit -- -h",
|
|
"test:unit": "node test/runner/command.js",
|
|
"test": "npm run build:all && npm run lint && npm run test:browserless && npm run test:browser && npm run test:esm && npm run test:slim && npm run test:no-deprecated && npm run test:selector-native"
|
|
},
|
|
"homepage": "https://jquery.com",
|
|
"author": {
|
|
"name": "OpenJS Foundation and other contributors",
|
|
"url": "https://github.com/jquery/jquery/blob/main/AUTHORS.txt"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jquery/jquery.git"
|
|
},
|
|
"keywords": [
|
|
"jquery",
|
|
"javascript",
|
|
"browser",
|
|
"library"
|
|
],
|
|
"bugs": {
|
|
"url": "https://github.com/jquery/jquery/issues"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"@babel/cli": "7.24.8",
|
|
"@babel/core": "7.24.9",
|
|
"@babel/plugin-transform-for-of": "7.24.7",
|
|
"@prantlf/jsonlint": "14.0.3",
|
|
"@rollup/plugin-commonjs": "26.0.1",
|
|
"@rollup/plugin-node-resolve": "15.2.3",
|
|
"@swc/core": "1.7.0",
|
|
"@types/selenium-webdriver": "4.1.24",
|
|
"archiver": "7.0.1",
|
|
"bootstrap": "5.3.3",
|
|
"browserstack-local": "1.5.5",
|
|
"chalk": "5.3.0",
|
|
"colors": "1.4.0",
|
|
"commitplease": "3.2.0",
|
|
"concurrently": "8.2.2",
|
|
"core-js-bundle": "3.37.1",
|
|
"cross-env": "7.0.3",
|
|
"diff": "5.2.0",
|
|
"eslint": "8.57.0",
|
|
"eslint-config-jquery": "3.0.2",
|
|
"eslint-plugin-import": "2.29.1",
|
|
"exit-hook": "4.0.0",
|
|
"globals": "15.8.0",
|
|
"husky": "9.1.1",
|
|
"jsdom": "24.1.1",
|
|
"marked": "13.0.2",
|
|
"multiparty": "4.2.3",
|
|
"native-promise-only": "0.8.1",
|
|
"promises-aplus-tests": "npm:@mgol/promises-aplus-tests@2.1.2-mgol.1",
|
|
"qunit": "2.21.1",
|
|
"raw-body": "2.5.2",
|
|
"release-it": "17.6.0",
|
|
"requirejs": "2.3.7",
|
|
"rimraf": "6.0.1",
|
|
"rollup": "4.22.4",
|
|
"selenium-webdriver": "4.23.0",
|
|
"sinon": "9.2.4",
|
|
"webpack": "5.94.0",
|
|
"yargs": "17.7.2"
|
|
},
|
|
"commitplease": {
|
|
"nohook": true,
|
|
"components": [
|
|
"Docs",
|
|
"Tests",
|
|
"Build",
|
|
"Support",
|
|
"Release",
|
|
"Core",
|
|
"Ajax",
|
|
"Attributes",
|
|
"Callbacks",
|
|
"CSS",
|
|
"Data",
|
|
"Deferred",
|
|
"Deprecated",
|
|
"Dimensions",
|
|
"Effects",
|
|
"Event",
|
|
"Manipulation",
|
|
"Offset",
|
|
"Queue",
|
|
"Selector",
|
|
"Serialize",
|
|
"Traversing",
|
|
"Wrap"
|
|
],
|
|
"markerPattern": "^((clos|fix|resolv)(e[sd]|ing))|^(refs?)",
|
|
"ticketPattern": "^((Closes|Fixes) ([a-zA-Z]{2,}-)[0-9]+)|^(Refs? [^#])"
|
|
}
|
|
}
|