') + ')', 'gi');
if (regex.test(text)) {
found = true;
var frag = document.createDocumentFragment();
var parts = text.split(regex);
parts.forEach(function(part, i) {
if (i % 2 === 0) {
frag.appendChild(document.createTextNode(part));
} else {
var span = document.createElement('span');
span.className = 'userscript-highlight';
span.textContent = part;
frag.appendChild(span);
}
});
node.parentNode.replaceChild(frag, node);
}
});
} else if (node.nodeType === 1 && node.childNodes) { // element
var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];
if (!skipTags.includes(node.tagName)) {
Array.from(node.childNodes).forEach(highlight);
}
}
}
highlight(document.body);
// Re-highlight on dynamic content
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(m) {
m.addedNodes.forEach(function(node) {
if (node.nodeType === 1 || node.nodeType === 3) highlight(node);
});
});
});
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); }
})();
(function(){
try {
var __m = "*";
var __re = new RegExp('^' + ".*" + ', 'i');
if (__m === '*' || __re.test(location.href)) {
// Strip utm_, fbclid, gclid, etc. from all links on page
(function() {
var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',
'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',
'ref', 'ref_src', 'source', 'medium', 'campaign'];
function cleanUrl(url) {
try {
var u = new URL(url, window.location.origin);
var changed = false;
trackingParams.forEach(function(p) {
if (u.searchParams.has(p)) {
u.searchParams.delete(p);
changed = true;
}
});
return changed ? u.toString() : url;
} catch (e) {
return url;
}
}
function cleanLinks() {
document.querySelectorAll('a[href]').forEach(function(a) {
var clean = cleanUrl(a.href);
if (clean !== a.href) a.href = clean;
});
}
cleanLinks();
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(m) {
m.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
if (node.tagName === 'A') cleanLinks();
node.querySelectorAll('a[href]').forEach(function(a) {
var clean = cleanUrl(a.href);
if (clean !== a.href) a.href = clean;
});
}
});
});
});
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); }
})();
(function(){
try {
var __m = "youtube.com";
var __re = new RegExp('^' + "youtube\\.com" + ', 'i');
if (__m === '*' || __re.test(location.href)) {
// Auto-enable theater mode on YouTube
(function() {
function tryTheater() {
var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]');
if (btn && !btn.classList.contains('activated')) {
btn.click();
}
}
// Try immediately
tryTheater();
// Try after navigation (SPA)
var lastUrl = location.href;
setInterval(function() {
if (location.href !== lastUrl) {
lastUrl = location.href;
setTimeout(tryTheater, 500);
}
}, 1000);
// Also try on player load
var observer = new MutationObserver(tryTheater);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); }
})();
(function(){
try {
var __m = "*";
var __re = new RegExp('^' + ".*" + ', 'i');
if (__m === '*' || __re.test(location.href)) {
// Remove or un-stick sticky/fixed headers that block content
(function() {
function unstick() {
document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) {
if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {
el.style.position = 'static';
el.style.top = 'auto';
el.style.zIndex = 'auto';
}
});
}
unstick();
var observer = new MutationObserver(unstick);
observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });
})();
}
} catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); }
})();
})();
Update dependencies (major) (major) by renovate[bot] · Pull Request #166 · Lunotte/react-http-request-handler · GitHub
Conversation
renovate Bot
changed the title
Update dependencies (major) (major)Update dependency com.android.tools.build:gradle to v8 Jun 16, 2023 renovate Bot
changed the title
Update dependency com.android.tools.build:gradle to v8Update dependencies (major) (major) Jun 22, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You can’t perform that action at this time.
This PR contains the following updates:
10.2.1->13.6.25.56.0->7.2.05.56.0->7.2.08.0.5->9.1.04.2.1->5.0.14.1.7->5.1.07.4.2->8.3.0Release Notes
react-native-community/cli (@react-native-community/cli)
v13.6.2Compare Source
v13.6.1Compare Source
This is the collective changelog for v13 of the CLI that's intended for use with React Native 0.74.
Features
nodeLinker: node-modulesfor new projects by @szymonrybczak in https://github.com/react-native-community/cli/pull/2134buildRunto properly open macOS apps by @szymonrybczak in https://github.com/react-native-community/cli/pull/2232react-native.config.jsby @szymonrybczak in https://github.com/react-native-community/cli/pull/2229unstable_reactLegacyComponentNamesby @cortinico in https://github.com/react-native-community/cli/pull/2264--yarn-config-optionsoption by @szymonrybczak in https://github.com/react-native-community/cli/pull/2273getSimulators()for OOT platforms by @okwasniewski in https://github.com/react-native-community/cli/pull/2239Fixes
yarnas package manager when callinginitwithnpxby @szymonrybczak in https://github.com/react-native-community/cli/pull/2216run-androidon windows. by @aajahid in https://github.com/react-native-community/cli/pull/2236envinxcodebuildby @szymonrybczak in https://github.com/react-native-community/cli/pull/2245run-ios/androidwhen failed to start packager by @szymonrybczak in https://github.com/react-native-community/cli/pull/2252--devicewithout value by @szymonrybczak in https://github.com/react-native-community/cli/pull/2263ippackage with default value and--hostflag by @szymonrybczak in https://github.com/react-native-community/cli/pull/2299execaphantom dependency in cli-tools by @jbroma in https://github.com/react-native-community/cli/pull/2292AUTOLINKED_LIBRARIESby @cortinico in https://github.com/react-native-community/cli/pull/2306Chore & Maintenance
getXcodeProjectAndDirby @okwasniewski in https://github.com/react-native-community/cli/pull/2220prompts.tsby @szymonrybczak in https://github.com/react-native-community/cli/pull/2224getLatestRelease.tsto usecurrentVersionindiffUrlby @kraenhansen in https://github.com/react-native-community/cli/pull/2231editTemplatetest on Node v20 by @szymonrybczak in https://github.com/react-native-community/cli/pull/2235cli-plugin-metropackage remnants by @szymonrybczak in https://github.com/react-native-community/cli/pull/2272update-metro.jsscript by @szymonrybczak in https://github.com/react-native-community/cli/pull/2281--tasksoption description by @szymonrybczak in https://github.com/react-native-community/cli/pull/2290New Contributors
Full Changelog: react-native-community/cli@v12.3.6...v13.6.1
v13.6.0Compare Source
v13.5.2Compare Source
v13.5.1Compare Source
v13.5.0Compare Source
v13.4.0Compare Source
v13.3.0Compare Source
v13.2.0Compare Source
v13.1.0: v12.3.0Compare Source
What's Changed
Full Changelog: react-native-community/cli@v13.0.1...v13.1.0
v13.0.1Compare Source
v13.0.0Compare Source
What's Changed
README.mdby @szymonrybczak in https://github.com/react-native-community/cli/pull/2190Full Changelog: react-native-community/cli@v12.2.0...v13.0.0
v12.3.6Compare Source
What's Changed
ippackage with default value and--hostflag by @szymonrybczak in https://github.com/react-native-community/cli/pull/2301Full Changelog: react-native-community/cli@v12.3.5...v12.3.6
v12.3.5Compare Source
What's changed
envinxcodebuild(#2245) @szymonrybczakFull Changelog: react-native-community/cli@v12.3.4...v12.3.5
v12.3.4Compare Source
What's Changed
Full Changelog: react-native-community/cli@v12.3.3...v12.3.4
v12.3.3Compare Source
What's Changed
--devicewithout value by @szymonrybczak in https://github.com/react-native-community/cli/pull/2265Full Changelog: react-native-community/cli@v12.3.2...v12.3.3
v12.3.2Compare Source
What's Changed
Full Changelog: react-native-community/cli@v12.3.1...v12.3.2
v12.3.1Compare Source
Fixes
run-androidon windows. (#2236) @aajahidyarnas package manager when callinginitwithnpx(#2216) @szymonrybczakFull Changelog: react-native-community/cli@v12.3.0...v12.3.1
v12.3.0Compare Source
What's Changed
Full Changelog: react-native-community/cli@v12.2.1...v12.3.0
v12.2.1Compare Source
v12.2.0Compare Source
Changes
🚀 Features
doctorcommand in issue template @szymonrybczak (#2186)--skip-git-initto opt out git init @szymonrybczak (#2177)🐛 Bug Fixes
README.md@szymonrybczak (#2190)AndroidManifest.xml@szymonrybczak (#2187)run-ioscommand @TMisiukiewicz (#2173)🧰 Maintenance
5 changes
initdocs with current state @szymonrybczak (#2178)rootargument @szymonrybczak (#2164)use_native_modules@szymonrybczak (#2185)doctorcommand in issue template @szymonrybczak (#2186)initdocs with current state @szymonrybczak (#2178)native_modules.rbtests @thymikee (#2188)Full Changelog: react-native-community/cli@v12.1.1...v12.2.0
v12.1.1Compare Source
What's Changed
Full Changelog: react-native-community/cli@v12.1.0...v12.1.1
v12.1.0Compare Source
🚀 Features
--platform-nameoption toinitfor out of tree platforms init @okwasniewski (#2170)🐛 Bug Fixes
🧰 Maintenance
runUntilfunction @szymonrybczak (#2147)fs.rmdirwithfs.rm@szymonrybczak (#2160)Full Changelog: react-native-community/cli@v12.0.0...v12.1.0
v12.0.0Compare Source
This version of React Native CLI targets React Native 0.73 and includes numerous bug fixes, features and performance improvements.
Breaking changes
taskPrefixinbuild-androidcommand fromassembletobundleby @szymonrybczak in https://github.com/react-native-community/cli/pull/1913--configurationoption frombuild/run-iosby @szymonrybczak in https://github.com/react-native-community/cli/pull/2028--modeinstead--variantoption fromrun/build-androidcommand by @szymonrybczak in https://github.com/react-native-community/cli/pull/2026.--modeinsteadcli-plugin-metro, remove from builtin commands by @huntie in https://github.com/react-native-community/cli/pull/2055cli-toolsby @huntie in https://github.com/react-native-community/cli/pull/2066Performance
initto ios-specific commands by @TMisiukiewicz in https://github.com/react-native-community/cli/pull/2077--force-podsFixes
src/by @szymonrybczak in https://github.com/react-native-community/cli/pull/1900launchPackager.commandwhen building packages by @szymonrybczak in https://github.com/react-native-community/cli/pull/1904adb shellinrun-androidcommand by @szymonrybczak in https://github.com/react-native-community/cli/pull/1916com.prefix in package name by @szymonrybczak in https://github.com/react-native-community/cli/pull/1915parseTasksFromGradleFileon Windows by @szymonrybczak in https://github.com/react-native-community/cli/pull/1933--verboseoption not working forrun-iosby @szymonrybczak in https://github.com/react-native-community/cli/pull/1946--verboseto the command by @szymonrybczak in https://github.com/react-native-community/cli/pull/1953@ts-ignoreincli-plugin-metroby @szymonrybczak in https://github.com/react-native-community/cli/pull/1975upgradecommand by @szymonrybczak in https://github.com/react-native-community/cli/pull/1968doctorcommand to work with customios/folder location by @szymonrybczak in https://github.com/react-native-community/cli/pull/1998noneas platform for printing upgrading link by @szymonrybczak in https://github.com/react-native-community/cli/pull/2018/statusendpoint by @szymonrybczak in https://github.com/react-native-community/cli/pull/2056--modeis specified by @tido64 in https://github.com/react-native-community/cli/pull/1958initcommand by @szymonrybczak in https://github.com/react-native-community/cli/pull/2071--force-podsflag forrun-iosandbuild-iosby @TMisiukiewicz in https://github.com/react-native-community/cli/pull/2082run-ioscommand by @huntie in https://github.com/react-native-community/cli/pull/2086launchPackager.commandby @szymonrybczak in https://github.com/react-native-community/cli/pull/2097xcodeProjectname by @szymonrybczak in https://github.com/react-native-community/cli/pull/2121yarnwhenbunnot available by @szymonrybczak in https://github.com/react-native-community/cli/pull/2133--no-packagerprovided by @szymonrybczak in https://github.com/react-native-community/cli/pull/2128nodeLinker: node-moduleswhen installing template packages by @szymonrybczak in https://github.com/react-native-community/cli/pull/2135Features
--targetoption by @szymonrybczak in https://github.com/react-native-community/cli/pull/1928watchModeCommandParamstoreact-native.config.jsby @szymonrybczak in https://github.com/react-native-community/cli/pull/1937run-ioscommand by @szymonrybczak in https://github.com/react-native-community/cli/pull/2021AndroidManifest.xmlautomatically by @szymonrybczak in https://github.com/react-native-community/cli/pull/1967initcommand by @TMisiukiewicz in https://github.com/react-native-community/cli/pull/2073initcommand by @szymonrybczak in https://github.com/react-native-community/cli/pull/2088--create-git-repo falseChore & Maintenance
--force-publishto lerna to sync releases by @thymikee in https://github.com/react-native-community/cli/pull/1898--modedescription by @szymonrybczak in https://github.com/react-native-community/cli/pull/1914generateStaticViewConfigsoption from bundle command by @huntie in https://github.com/react-native-community/cli/pull/1970fs-extrareference fromcli-plugin-metroby @huntie in [https://github.com/chore: Remove fs-extra reference from cli-plugin-metro react-native-community/cli#1971](https://togithub.com/react-naConfiguration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.