Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-amplify/cache

Package Overview
Dependencies
Maintainers
10
Versions
1545
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-amplify/cache - npm Package Compare versions

Comparing version 5.1.4-api-v6.29 to 5.1.4-api-v6-models.34

1

lib-esm/AsyncStorageCache.js

@@ -263,3 +263,2 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

keys = [];
keyInCache = [];
return [4 /*yield*/, AsyncStorage.getAllKeys()];

@@ -266,0 +265,0 @@ case 1:

@@ -266,3 +266,2 @@ "use strict";

keys = [];
keyInCache = [];
return [4 /*yield*/, async_storage_1.default.getAllKeys()];

@@ -269,0 +268,0 @@ case 1:

6

package.json
{
"name": "@aws-amplify/cache",
"version": "5.1.4-api-v6.29+98c172c32",
"version": "5.1.4-api-v6-models.34+62a13d7bc",
"description": "Cache category of aws-amplify",

@@ -51,3 +51,3 @@ "main": "./lib/index.js",

"dependencies": {
"@aws-amplify/core": "5.5.3-api-v6.29+98c172c32",
"@aws-amplify/core": "5.5.3-api-v6-models.34+62a13d7bc",
"tslib": "^1.8.0"

@@ -117,3 +117,3 @@ },

},
"gitHead": "98c172c32bc793b99b31442ea2d84829baea6e3c"
"gitHead": "62a13d7bcd5a015eab416b66dff503b0f657f6bc"
}

@@ -170,6 +170,4 @@ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

const keys = [];
let keyInCache = [];
const keyInCache = await AsyncStorage.getAllKeys();
keyInCache = await AsyncStorage.getAllKeys();
for (let i = 0; i < keyInCache.length; i += 1) {

@@ -176,0 +174,0 @@ const key = keyInCache[i];

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