expo-json-utils 0.12.3 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -10,15 +10,25 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
- ## 0.12.3 — 2024-01-18
13
+ ## 0.13.1 — 2024-04-29
14
14
 
15
15
  _This version does not introduce any user-facing changes._
16
16
 
17
- ## 0.12.2 — 2024-01-10
17
+ ## 0.13.0 — 2024-04-18
18
+
19
+ ### 💡 Others
20
+
21
+ - Removed deprecated backward compatible Gradle settings. ([#28083](https://github.com/expo/expo/pull/28083) by [@kudo](https://github.com/kudo))
22
+
23
+ ## 0.12.3 - 2024-01-18
24
+
25
+ _This version does not introduce any user-facing changes._
26
+
27
+ ## 0.12.2 - 2024-01-10
18
28
 
19
29
  _This version does not introduce any user-facing changes._
20
30
 
21
- ## 0.12.1 2023-12-19
31
+ ## 0.12.1 - 2023-12-19
22
32
 
23
33
  _This version does not introduce any user-facing changes._
24
34
 
@@ -1,100 +1,20 @@
1
1
  apply plugin: 'com.android.library'
2
- apply plugin: 'kotlin-android'
3
- apply plugin: 'maven-publish'
4
2
 
5
3
  group = 'host.exp.exponent'
6
- version = '0.12.3'
4
+ version = '0.13.1'
7
5
 
8
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
9
- if (expoModulesCorePlugin.exists()) {
10
- apply from: expoModulesCorePlugin
11
- applyKotlinExpoModulesCorePlugin()
12
-
13
- // Remove this check, but keep the contents after SDK49 support is dropped
14
- if (safeExtGet("expoProvidesDefaultConfig", false)) {
15
- useExpoPublishing()
16
- }
17
- }
18
-
19
- buildscript {
20
- // Simple helper that allows the root project to override versions declared by this library.
21
- ext.safeExtGet = { prop, fallback ->
22
- rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
23
- }
24
-
25
- // Ensures backward compatibility
26
- ext.getKotlinVersion = {
27
- if (ext.has("kotlinVersion")) {
28
- ext.kotlinVersion()
29
- } else {
30
- ext.safeExtGet("kotlinVersion", "1.8.10")
31
- }
32
- }
33
-
34
- repositories {
35
- mavenCentral()
36
- }
37
-
38
- dependencies {
39
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${getKotlinVersion()}")
40
- }
41
- }
42
-
43
- // Remove this if and it's contents, when support for SDK49 is dropped
44
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
45
- afterEvaluate {
46
- publishing {
47
- publications {
48
- release(MavenPublication) {
49
- from components.release
50
- }
51
- }
52
- repositories {
53
- maven {
54
- url = mavenLocal().url
55
- }
56
- }
57
- }
58
- }
59
- }
7
+ apply from: expoModulesCorePlugin
8
+ applyKotlinExpoModulesCorePlugin()
9
+ useCoreDependencies()
10
+ useDefaultAndroidSdkVersions()
11
+ useExpoPublishing()
60
12
 
61
13
  android {
62
- // Remove this if and it's contents, when support for SDK49 is dropped
63
- if (!safeExtGet("expoProvidesDefaultConfig", false)) {
64
- compileSdkVersion safeExtGet("compileSdkVersion", 34)
65
-
66
- defaultConfig {
67
- minSdkVersion safeExtGet("minSdkVersion", 23)
68
- targetSdkVersion safeExtGet("targetSdkVersion", 34)
69
- }
70
-
71
- publishing {
72
- singleVariant("release") {
73
- withSourcesJar()
74
- }
75
- }
76
-
77
- lintOptions {
78
- abortOnError false
79
- }
80
- }
81
-
82
- def agpVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
83
- if (agpVersion.tokenize('.')[0].toInteger() < 8) {
84
- compileOptions {
85
- sourceCompatibility JavaVersion.VERSION_11
86
- targetCompatibility JavaVersion.VERSION_11
87
- }
88
-
89
- kotlinOptions {
90
- jvmTarget = JavaVersion.VERSION_11.majorVersion
91
- }
92
- }
93
-
94
14
  namespace "expo.modules.jsonutils"
95
15
  defaultConfig {
96
16
  versionCode 31
97
- versionName '0.12.3'
17
+ versionName '0.13.1'
98
18
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
99
19
  }
100
20
  testOptions {
@@ -116,9 +36,4 @@ dependencies {
116
36
  androidTestImplementation 'androidx.test:rules:1.4.0'
117
37
  androidTestImplementation 'org.mockito:mockito-android:3.7.7'
118
38
  androidTestImplementation 'io.mockk:mockk-android:1.12.3'
119
-
120
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${getKotlinVersion()}"
121
- }
122
- repositories {
123
- mavenCentral()
124
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-json-utils",
3
- "version": "0.12.3",
3
+ "version": "0.13.1",
4
4
  "description": "Utilities for reading NSDictionaries (iOS) and JSONObjects (Android).",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -18,6 +18,6 @@
18
18
  },
19
19
  "author": "650 Industries, Inc.",
20
20
  "license": "MIT",
21
- "homepage": "https://docs.expo.dev/versions/latest/sdk/module-template",
22
- "gitHead": "102899632731658eecba006c0d1c79b98ba8f5f7"
21
+ "homepage": "https://docs.expo.dev",
22
+ "gitHead": "4a7cf0d0baf6dfc595d93f604945d2142e705a36"
23
23
  }