Socket
Socket
Sign inDemoInstall

jsc-android

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsc-android - npm Package Compare versions

Comparing version 224109.0.0 to 224109.1.0

7

package.json
{
"name": "jsc-android",
"version": "224109.0.0",
"version": "224109.1.0",
"description": "Pre-build version of JavaScriptCore to be used by React Native apps",

@@ -23,2 +23,3 @@ "repository": {

"scripts": {
"clean": "rm -rf dist; rm -rf build",
"info": "./scripts/info.sh",

@@ -31,5 +32,5 @@ "download": "./scripts/download.sh",

"webkitGTK": "2.18.2",
"androidICU": "8.0.0_r34",
"i18n": true
"chromiumICUCommit": "b34251f8b762f8e2112a89c587855ca4297fed96",
"i18n": false
}
}

@@ -0,1 +1,4 @@

[![npm version](https://badge.fury.io/js/jsc-android.svg)](https://badge.fury.io/js/jsc-android)
[![Build Status](https://jenkins-oss.wixpress.com/job/jsc-android-master/badge/icon)](https://jenkins-oss.wixpress.com/job/jsc-android-master/)
# JSC build scripts for Android

@@ -12,3 +15,2 @@

* Node `brew install node`
* Gradle: `brew install gradle`
* Java 8: `brew tap caskroom/versions && brew cask install java8`

@@ -84,4 +86,32 @@ * Android SDK: `brew cask install android-sdk`

4. You're done, rebuild your app and enjoy updated version of JSC on android!
4. Make sure your app's `build.gradle` uses a minimum sdk version of 21
```diff
defaultConfig {
applicationId "com.myApp"
- minSdkVersion 16
+ minSdkVersion 21
targetSdkVersion 22
versionCode 1
```
5. You're done, rebuild your app and enjoy updated version of JSC on android!
### International variant
International variant includes ICU i18n library and necessary data allowing to use e.g. Date.toLocaleString and String.localeCompare that give correct results when using with locales other than en-US. Note that this variant is about 6MiB larger per architecture than default.
To use this variant instead replace the third installation step with:
```diff
+configurations.all {
+ resolutionStrategy {
+ eachDependency { DependencyResolveDetails details ->
+ if (details.requested.name == 'android-jsc') {
+ details.useTarget group: details.requested.group, name: 'android-jsc-intl', version: 'r224109'
+ }
+ }
+ }
+}
```
## Testing

@@ -88,0 +118,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc