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

yach.nim.util

Package Overview
Dependencies
Maintainers
9
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yach.nim.util - npm Package Compare versions

Comparing version 0.2.2 to 0.3.0

9

lib/yach.nim.util.js

@@ -10,4 +10,3 @@ // elk

import _yachDB from 'yach.util.indexeddb';
const yachDB = _yachDB('team');
import yachDB from 'yach.util.indexeddb';

@@ -69,3 +68,3 @@ // get user

if (!doNotUseYachCache) {
const team = await yachDB.getItem(id);
const team = await yachDB.team.get(id);
if (team) {

@@ -84,3 +83,5 @@ util.logTime(`[${tag}]:===getTeamTime${id}`, true);

if (err) return reject(err);
!doNotUseYachCache && yachDB.setItem(id, obj); //更新下缓存
!doNotUseYachCache && yachDB.team.add({
...obj
}); //更新下缓存
return resolve(obj);

@@ -87,0 +88,0 @@ },

{
"name": "yach.nim.util",
"version": "0.2.2",
"version": "0.3.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "yach nim: util",

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