summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-01-30 19:27:12 +0000
committerGitHub <noreply@github.com>2022-01-30 20:27:12 +0100
commit3b01fbe2adf3077cad5c2cf345c6d000d429d7ac (patch)
tree0de2a368684fc097655e053342fd1aafd01bdadb /package.json
parent444dfc50aab740f9c658ea97b1f518dcac047d44 (diff)
downloadsphinx-git-3b01fbe2adf3077cad5c2cf345c6d000d429d7ac.tar.gz
Drop JavaScript Frameworks (#10028)
* Delete jQuery and underscore.js * Move underscores.js setup to searchtools.js * Update jQuery.url(en|de)code * Update jQuery.getQueryParameters * Firefox bug is no longer present xref https://bugzilla.mozilla.org/show_bug.cgi?id=645075#c49 * Update jQuery.fn.highlightText * Use enum instead of magic number * Update test descriptions to remove obsolete jQuery reference * Update Documentation.getCurrentURL * Revert accidental fix of Documentation.getCurrentURL * Update Documentation.initOnKeyListeners * Update Documentation.hideSearchWords * Update Documentation.highlightSearchWords * Update Documentation.initDomainIndexTable * Use arrow functions and const * Replace $(document).ready * Strict mode * Move Documentation.hideSearchWords next to Documentation.highlightSearchWords * Update translation functions in Documentation * Replace $(document).ready in searchtools.js * Update Scorer * Update Search.hasIndex, Search.deferQuery, Search.stopPulse * Prefer window.location * Update Search.init * Update Search.loadIndex * Update Search.setIndex * Update Search.startPulse * Add _escapeRegExp * Update Search.makeSearchSummary * Update Search.htmlToText * Update Search.performSearch * Factor out _displayNextItem * Update Search.query * Update Search.performObjectSearch * Update Search.performTermsSearch * Remove underscores.js setup * Use Sets * Update test configuration * Fix test failures * Drop unused make/get URL functions * Strict mode in searchtools.js * Remove outmoded check for jQuery and underscore.js * Ran prettier prettier --print-width 120 --no-semi --quote-props as-needed --no-bracket-spacing --arrow-parens avoid --write sphinx/themes/basic/static * Remove more references to jQuery and underscore.js * Remove jQuery and underscore.js licences * Update classic theme for no jQuery * Update all other themes for no jQuery * Restore jQuery & underscores.js to Sphinx themes Enables a more gradual deprecation * Added deprecation note to CHANGES * Run prettier with defaults * Update deprecation message to include extensions, note that sources must be copied * oops * Address Pradyun's feedback * Forgot this one * `let` doesn't work, as it is scoped to the block... * Remove missed jQuery in sphinx13 theme
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 3 insertions, 4 deletions
diff --git a/package.json b/package.json
index eeecd37d4..6e8fb8655 100644
--- a/package.json
+++ b/package.json
@@ -12,9 +12,8 @@
},
"devDependencies": {
"jasmine-core": "^3.4.0",
- "karma": "^4.0.0",
- "karma-chrome-launcher": "^3.0.0",
- "karma-firefox-launcher": "^1.1.0",
- "karma-jasmine": "^2.0.0"
+ "karma": "^6.3.9",
+ "karma-firefox-launcher": "^2.0.0",
+ "karma-jasmine": "^4.0.0"
}
}