Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: npm packages #13886

Merged
merged 29 commits into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
e50a8dd
chore: npm packages
m1ga Jul 27, 2023
2d59367
downgrade clang-format
m1ga Jul 28, 2023
95adb16
format objc files
m1ga Jul 28, 2023
f7a037c
fix merge conflict
m1ga Aug 3, 2023
f2a325e
update
m1ga Dec 31, 2023
cfac701
update files
m1ga Dec 31, 2023
11b0a77
update
m1ga Dec 31, 2023
314bf19
merge
m1ga Dec 31, 2023
bbf8d1f
eslint fixes
m1ga Dec 31, 2023
c230b67
ios lint
m1ga Dec 31, 2023
f60c2fc
ios linting
m1ga Dec 31, 2023
5684508
Merge branch 'master' into 230727_npm
m1ga May 13, 2024
7fb7f38
lint file
m1ga May 13, 2024
d83f0b1
Merge branch 'master' into 230727_npm
cb1kenobi May 13, 2024
6d8d9fa
Update iphone/TitaniumKit/TitaniumKit/Sources/Modules/TiUIWindowProxy.h
m1ga May 13, 2024
e0f334f
Update iphone/Classes/TiUINavBarButton.m
m1ga May 13, 2024
d578b52
Update iphone/Classes/TiUIScrollableView.m
m1ga May 13, 2024
1908aae
Update iphone/Classes/TiUITableViewProxy.m
m1ga May 13, 2024
d997d22
Merge branch 'master' of https://github.com/tidev/titanium-sdk into 2…
m1ga May 13, 2024
b7503f7
Update iphone/Classes/TiUIiOSProxy.h
m1ga May 13, 2024
185051c
Update iphone/Classes/TiUIiOSStepper.m
m1ga May 13, 2024
182477a
Update iphone/Classes/TiUITableView.m
m1ga May 13, 2024
c0ff066
Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m
m1ga May 13, 2024
b94b2a3
Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiStylesheet.m
m1ga May 13, 2024
5d6cf2d
Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiViewProxy.m
m1ga May 13, 2024
7530df3
Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m
m1ga May 13, 2024
a6cd021
Update iphone/TitaniumKit/TitaniumKit/Sources/API/TiProxy.m
m1ga May 13, 2024
b2d02e7
fix(ios): fix indentation
m1ga May 13, 2024
7dbc890
Merge branch '230727_npm' of https://github.com/tidev/titanium-sdk in…
m1ga May 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
"kroll": "readonly"
},
"rules": {
"node/no-deprecated-api": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unsupported-features/node-builtins": ["warn", { "version": "10.11.0" }]
"node/no-unsupported-features/es-syntax": "off"
}
},
{
Expand All @@ -61,9 +59,7 @@
"sourceType": "module"
},
"rules": {
"node/no-deprecated-api": "off",
"node/no-unsupported-features/es-syntax": "off",
"node/no-unsupported-features/node-builtins": ["warn", { "version": "10.11.0" }]
"node/no-unsupported-features/es-syntax": "off"
}
},
{
Expand Down
1 change: 0 additions & 1 deletion android/cli/lib/gradle-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@

// Run the gradlew command line async.
await new Promise((resolve, reject) => {
const childProcess = exec(commandLineString, { cwd: this._gradlewDirPath });

Check warning on line 210 in android/cli/lib/gradle-wrapper.js

View workflow job for this annotation

GitHub Actions / JavaScript

Found child_process.exec() with non Literal first argument
if (this._logger) {
childProcess.stdout.on('data', createReadableDataHandlerUsing(this._logger, 'info'));
childProcess.stderr.on('data', createReadableDataHandlerUsing(this._logger, 'error'));
Expand Down Expand Up @@ -297,8 +297,7 @@
appc.subprocess.run('appc', [ '-q', 'config', 'get', 'proxyServer' ], runOptions, (exitCode, out) => {
try {
if (!exitCode && out && (out.length > 0)) {
// eslint-disable-next-line node/no-deprecated-api
proxyUrl = url.parse(out.trim());

Check warning on line 300 in android/cli/lib/gradle-wrapper.js

View workflow job for this annotation

GitHub Actions / JavaScript

'url.parse' was deprecated since v11.0.0. Use 'url.URL' constructor instead
}
} catch (ex) {
if (this._logger) {
Expand Down
20 changes: 10 additions & 10 deletions iphone/Classes/AppModule.m
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,11 @@ - (void)removeEventListener:(NSArray *)args
BOOL needsScanning;
do {
needsScanning = NO;
for (entry in l) //The fast iteration is blindly fast when l is nil or count.
for (entry in l) // The fast iteration is blindly fast when l is nil or count.
{
if ([listener isEqual:[entry listener]]) //NSNumber does the right thing with this too.
if ([listener isEqual:[entry listener]]) // NSNumber does the right thing with this too.
{
[l removeObject:entry]; //It's safe to modify the array as long as you break right after.
[l removeObject:entry]; // It's safe to modify the array as long as you break right after.
needsScanning = [l count] > 0;
break;
}
Expand Down Expand Up @@ -268,7 +268,7 @@ - (void)setProximityDetection:(NSNumber *)value
{
BOOL yn = [TiUtils boolValue:value];
[UIDevice currentDevice].proximityMonitoringEnabled = yn;
WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe!
WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe!
if (yn) {
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(proximityDetectionChanged:)
Expand Down Expand Up @@ -302,7 +302,7 @@ - (void)handleUserInteraction:(id)notification
}
}

//To fire the keyboard frame change event.
// To fire the keyboard frame change event.
- (void)keyboardFrameChanged:(NSNotification *)notification
{
if (![self _hasListeners:@"keyboardframechanged"]) {
Expand Down Expand Up @@ -385,7 +385,7 @@ - (void)willShutdownContext:(NSNotification *)note

- (void)startup
{
WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe!
WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe!
NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];
[nc addObserver:self selector:@selector(willShutdown:) name:kTiWillShutdownNotification object:nil];
[nc addObserver:self selector:@selector(willShutdownContext:) name:kTiContextShutdownNotification object:nil];
Expand All @@ -412,7 +412,7 @@ - (void)shutdown:(id)sender
{
// make sure we force any changes made on shutdown
[[NSUserDefaults standardUserDefaults] synchronize];
WARN_IF_BACKGROUND_THREAD_OBJ; //NSNotificationCenter is not threadsafe!
WARN_IF_BACKGROUND_THREAD_OBJ; // NSNotificationCenter is not threadsafe!
[[NSNotificationCenter defaultCenter] removeObserver:self];
[super shutdown:sender];
}
Expand Down Expand Up @@ -606,9 +606,9 @@ - (NSNumber *)keyboardVisible
- (void)setForceSplashAsSnapshot:(id)args
{
ENSURE_SINGLE_ARG(args, NSNumber)
[self replaceValue:args
forKey:@"forceSplashAsSnapshot"
notification:NO];
[self replaceValue:args
forKey:@"forceSplashAsSnapshot"
notification:NO];
BOOL flag = [TiUtils boolValue:args def:NO];
[[TiApp app] setForceSplashAsSnapshot:flag];
}
Expand Down
2 changes: 1 addition & 1 deletion iphone/Classes/ApplicationDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Copyright TiDev, Inc. 04/07/2022-Present. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/

Expand Down
Loading
Loading