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

vooks

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vooks - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

4

es/use-memo.d.ts

@@ -1,3 +0,3 @@

import { Ref, DeepReadonly } from 'vue';
declare function useMemo<T>(valueGenerator: () => T): DeepReadonly<Ref<T>>;
import { ComputedRef } from 'vue';
declare function useMemo<T>(valueGenerator: () => T): ComputedRef<T>;
export default useMemo;

@@ -1,2 +0,2 @@

import { computed, ref, readonly, watch } from 'vue';
import { computed, ref, watch } from 'vue';
function useMemo(valueGenerator) {

@@ -8,4 +8,4 @@ const computedValueRef = computed(valueGenerator);

});
return readonly(valueRef);
return valueRef;
}
export default useMemo;

@@ -1,3 +0,3 @@

import { Ref, DeepReadonly } from 'vue';
declare function useMemo<T>(valueGenerator: () => T): DeepReadonly<Ref<T>>;
import { ComputedRef } from 'vue';
declare function useMemo<T>(valueGenerator: () => T): ComputedRef<T>;
export default useMemo;

@@ -10,4 +10,4 @@ "use strict";

});
return vue_1.readonly(valueRef);
return valueRef;
}
exports.default = useMemo;
{
"name": "vooks",
"version": "0.0.3",
"version": "0.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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