Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@nativescript-community/ui-image

Package Overview
Dependencies
Maintainers
19
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-community/ui-image - npm Package Compare versions

Comparing version
4.6.0
to
4.6.1
+6
-0
CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [4.6.1](https://github.com/nativescript-community/ui-image/compare/v4.6.0...v4.6.1) (2025-10-08)
### Bug Fixes
* support N official cli ([6988afe](https://github.com/nativescript-community/ui-image/commit/6988afe51896626e5accc738e8febd340f09ae2e))
## [4.6.0](https://github.com/nativescript-community/ui-image/compare/v4.5.7...v4.6.0) (2025-10-06)

@@ -8,0 +14,0 @@

+2
-2
{
"name": "@nativescript-community/ui-image",
"version": "4.6.0",
"version": "4.6.1",
"description": "Advanced and efficient image display plugin which uses Fresco (Android) and SDWebImage (iOS) to implement caching, placeholders, image effects, and much more.",

@@ -47,3 +47,3 @@ "main": "./index",

"readmeFilename": "README.md",
"gitHead": "bd62b4826c83c73ee7de69e65998317788894f08"
"gitHead": "dc818e98e39c0000d40544ab86e676e27d4261e5"
}
import groovy.json.JsonSlurper
// for now we support only @nativescript/core and @akylas/nativescript
// we should have a more generic way
def widgetsDir = "$USER_PROJECT_ROOT/node_modules/@nativescript/core/platforms/android"
def appPackageJsonFile = file("$USER_PROJECT_ROOT/package.json")
if (appPackageJsonFile.exists()) {
def appPackageJson = new JsonSlurper().parseText(appPackageJsonFile.text)
if (appPackageJson.dependencies['@akylas/nativescript'] != null) {
widgetsDir = "$USER_PROJECT_ROOT/node_modules/@akylas/nativescript/platforms/android"
}
}
dependencies {

@@ -32,11 +23,23 @@ def frescoVersion = project.hasProperty("frescoVersion") ? project.frescoVersion : "3.1.3"

if (project.hasProperty("tempBuild")) {
// we need to copy the code in both places as N main gradle system does not support top level code
// for now we support only @nativescript/core and @akylas/nativescript
// we should have a more generic way
def widgetsDir = "$USER_PROJECT_ROOT/node_modules/@nativescript/core/platforms/android"
def appPackageJsonFile = file("$USER_PROJECT_ROOT/package.json")
if (appPackageJsonFile.exists()) {
def appPackageJson = new JsonSlurper().parseText(appPackageJsonFile.text)
if (appPackageJson.dependencies['@akylas/nativescript'] != null) {
widgetsDir = "$USER_PROJECT_ROOT/node_modules/@akylas/nativescript/platforms/android"
}
}
// if ui-mobile-base is provided as source the name is nativescript.aar
if (file("$widgetsDir/nativescript.aar").exists()) {
//else use widget-release.aar
if (file("$widgetsDir/widgets-release.aar").exists()) {
implementation(name:'widgets-release', ext:'aar')
} else {
implementation(name:'nativescript', ext:'aar')
}
// if ui-mobile-base is provided as aar the name is widget-release.aar
if (file("$widgetsDir/widget-release.aar").exists()) {
implementation(name:'widget-release', ext:'aar')
}
}
}
}

@@ -46,2 +49,13 @@

mavenCentral()
// we need to copy the code in both places as N main gradle system does not support top level code
// for now we support only @nativescript/core and @akylas/nativescript
// we should have a more generic way
def widgetsDir = "$USER_PROJECT_ROOT/node_modules/@nativescript/core/platforms/android"
def appPackageJsonFile = file("$USER_PROJECT_ROOT/package.json")
if (appPackageJsonFile.exists()) {
def appPackageJson = new JsonSlurper().parseText(appPackageJsonFile.text)
if (appPackageJson.dependencies['@akylas/nativescript'] != null) {
widgetsDir = "$USER_PROJECT_ROOT/node_modules/@akylas/nativescript/platforms/android"
}
}
flatDir {

@@ -48,0 +62,0 @@ dirs "$widgetsDir"