appium-adb
Advanced tools
Comparing version 9.14.3 to 9.14.4
@@ -9,3 +9,3 @@ "use strict"; | ||
const support_1 = require("@appium/support"); | ||
const lru_cache_1 = __importDefault(require("lru-cache")); | ||
const lru_cache_1 = require("lru-cache"); | ||
const helpers_js_1 = require("../helpers.js"); | ||
@@ -15,3 +15,3 @@ const async_lock_1 = __importDefault(require("async-lock")); | ||
const crypto_1 = __importDefault(require("crypto")); | ||
const AAB_CACHE = new lru_cache_1.default({ | ||
const AAB_CACHE = new lru_cache_1.LRUCache({ | ||
max: 10, | ||
@@ -18,0 +18,0 @@ dispose: (hash, extractedFilesRoot) => support_1.fs.rimraf(extractedFilesRoot), |
@@ -12,3 +12,3 @@ "use strict"; | ||
const support_1 = require("@appium/support"); | ||
const lru_cache_1 = __importDefault(require("lru-cache")); | ||
const lru_cache_1 = require("lru-cache"); | ||
const helpers_js_1 = require("../helpers.js"); | ||
@@ -27,3 +27,3 @@ const DEFAULT_PRIVATE_KEY = path_1.default.join('keys', 'testkey.pk8'); | ||
const JAVA_PROPS_INIT_ERROR = 'java.lang.Error: Properties init'; | ||
const SIGNED_APPS_CACHE = new lru_cache_1.default({ | ||
const SIGNED_APPS_CACHE = new lru_cache_1.LRUCache({ | ||
max: 30, | ||
@@ -30,0 +30,0 @@ }); |
@@ -16,3 +16,3 @@ "use strict"; | ||
const os_1 = __importDefault(require("os")); | ||
const lru_cache_1 = __importDefault(require("lru-cache")); | ||
const lru_cache_1 = require("lru-cache"); | ||
const adbkit_apkreader_1 = __importDefault(require("adbkit-apkreader")); | ||
@@ -459,3 +459,3 @@ const apkUtilsMethods = {}; | ||
if (!this.remoteAppsCache) { | ||
this.remoteAppsCache = new lru_cache_1.default({ | ||
this.remoteAppsCache = new lru_cache_1.LRUCache({ | ||
max: this.remoteAppsCacheLimit, | ||
@@ -462,0 +462,0 @@ }); |
@@ -11,3 +11,3 @@ "use strict"; | ||
const support_1 = require("@appium/support"); | ||
const lru_cache_1 = __importDefault(require("lru-cache")); | ||
const lru_cache_1 = require("lru-cache"); | ||
const helpers_js_1 = require("../helpers.js"); | ||
@@ -18,3 +18,3 @@ const async_lock_1 = __importDefault(require("async-lock")); | ||
const LANGUAGE_APK = (lang) => `base-${lang}.apk`; | ||
const APKS_CACHE = new lru_cache_1.default({ | ||
const APKS_CACHE = new lru_cache_1.LRUCache({ | ||
max: 10, | ||
@@ -21,0 +21,0 @@ dispose: (apksHash, extractedFilesRoot) => support_1.fs.rimraf(extractedFilesRoot), |
@@ -0,1 +1,8 @@ | ||
## [9.14.4](https://github.com/appium/appium-adb/compare/v9.14.3...v9.14.4) (2023-08-02) | ||
### Miscellaneous Chores | ||
* Bump lru-cache from 7.18.3 to 10.0.0 ([#669](https://github.com/appium/appium-adb/issues/669)) ([95de39f](https://github.com/appium/appium-adb/commit/95de39f78c6f88cbb117f053ed3fc0dd2fffb052)) | ||
## [9.14.3](https://github.com/appium/appium-adb/compare/v9.14.2...v9.14.3) (2023-08-02) | ||
@@ -2,0 +9,0 @@ |
import log from '../logger.js'; | ||
import path from 'path'; | ||
import { fs, tempDir, util } from '@appium/support'; | ||
import LRU from 'lru-cache'; | ||
import { LRUCache } from 'lru-cache'; | ||
import { unzipFile } from '../helpers.js'; | ||
@@ -10,3 +10,3 @@ import AsyncLock from 'async-lock'; | ||
const AAB_CACHE = new LRU({ | ||
const AAB_CACHE = new LRUCache({ | ||
max: 10, | ||
@@ -13,0 +13,0 @@ dispose: (hash, extractedFilesRoot) => fs.rimraf(extractedFilesRoot), |
@@ -7,3 +7,3 @@ import _ from 'lodash'; | ||
import { tempDir, system, mkdirp, fs, util } from '@appium/support'; | ||
import LRU from 'lru-cache'; | ||
import { LRUCache } from 'lru-cache'; | ||
import { | ||
@@ -25,3 +25,3 @@ getJavaForOs, getApksignerForOs, getJavaHome, getResourcePath, APKS_EXTENSION, unsignApk, | ||
const JAVA_PROPS_INIT_ERROR = 'java.lang.Error: Properties init'; | ||
const SIGNED_APPS_CACHE = new LRU({ | ||
const SIGNED_APPS_CACHE = new LRUCache({ | ||
max: 30, | ||
@@ -28,0 +28,0 @@ }); |
@@ -15,3 +15,3 @@ import { | ||
import os from 'os'; | ||
import LRU from 'lru-cache'; | ||
import { LRUCache } from 'lru-cache'; | ||
import ApkReader from 'adbkit-apkreader'; | ||
@@ -494,3 +494,3 @@ | ||
if (!this.remoteAppsCache) { | ||
this.remoteAppsCache = new LRU({ | ||
this.remoteAppsCache = new LRUCache({ | ||
max: this.remoteAppsCacheLimit, | ||
@@ -497,0 +497,0 @@ }); |
@@ -6,3 +6,3 @@ import { exec } from 'teen_process'; | ||
import { fs, tempDir, util } from '@appium/support'; | ||
import LRU from 'lru-cache'; | ||
import { LRUCache } from 'lru-cache'; | ||
import { | ||
@@ -16,3 +16,3 @@ getJavaForOs, unzipFile, buildInstallArgs, APKS_INSTALL_TIMEOUT | ||
const LANGUAGE_APK = (lang) => `base-${lang}.apk`; | ||
const APKS_CACHE = new LRU({ | ||
const APKS_CACHE = new LRUCache({ | ||
max: 10, | ||
@@ -19,0 +19,0 @@ dispose: (apksHash, extractedFilesRoot) => fs.rimraf(extractedFilesRoot), |
{ | ||
"name": "appium-adb", | ||
"version": "9.14.3", | ||
"version": "9.14.4", | ||
"description": "Android Debug Bridge interface", | ||
@@ -64,3 +64,3 @@ "main": "./build/index.js", | ||
"lodash": "^4.0.0", | ||
"lru-cache": "^7.3.0", | ||
"lru-cache": "^10.0.0", | ||
"semver": "^7.0.0", | ||
@@ -67,0 +67,0 @@ "source-map-support": "^0.x", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1050343
- Removedlru-cache@7.18.3(transitive)
Updatedlru-cache@^10.0.0