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

feat(all): update node dependencies #598

Merged
merged 6 commits into from Jan 13, 2023
Merged

feat(all): update node dependencies #598

merged 6 commits into from Jan 13, 2023

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Aug 20, 2022

update some node dependencies to have a newer babel version that includes a newer browserlist/canuse-lite version.

Resolves tidev/titanium-sdk#13286

Test

  • clone
  • npm i
  • copy the whole folder into your "sdk-version" /node_modules/node-titanium-sdk/ folder.
  • build apps

I'm not seeing the npx browserslist@latest --update-db message after [INFO] Processing JavaScript files Apps still build fine (Kitchensink, hyperloop examples, own app)

After that we'll need to update https://github.com/tidev/titanium_mobile/blob/20d2ed1806d1cedd58f226a70b384997c5c5ac9a/package.json#L104

@m1ga
Copy link
Contributor Author

m1ga commented Aug 20, 2022

tests fail because the base64 encoded lines are in a different order 🤔

@cb1kenobi
Copy link
Contributor

@m1ga I see I approved this PR, but never merged it!? Sigh. Since this PR is a bit old, would you mind refreshing the dependencies quick and hopefully the checks will pass?

@m1ga
Copy link
Contributor Author

m1ga commented Jan 12, 2023

Thought I had the test order fixed but it looks like it's different again. Will check that later

@m1ga
Copy link
Contributor Author

m1ga commented Jan 12, 2023

green again 👍
Tested it with two bigger apps without issues

lib/jsanalyze.js Outdated Show resolved Hide resolved
lib/jsanalyze.js Outdated Show resolved Hide resolved
lib/jsanalyze.js Outdated Show resolved Hide resolved
tests/jsanalyze_test.js Outdated Show resolved Hide resolved
tests/jsanalyze_test.js Outdated Show resolved Hide resolved
tests/jsanalyze_test.js Outdated Show resolved Hide resolved
@m1ga
Copy link
Contributor Author

m1ga commented Jan 12, 2023

Thanks for the feedback 👍 Fixed all issues

Copy link
Contributor

@cb1kenobi cb1kenobi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome! APPROVED!

@cb1kenobi cb1kenobi merged commit 4e564d3 into master Jan 13, 2023
@m1ga m1ga deleted the nodeDep branch March 23, 2023 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI: canuse-lite warning on build
2 participants