New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

onlystate

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onlystate - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

8

dist/only-state.js
/*
* only-state.js 0.0.8
* only-state.js 0.0.9
* author:webszy
* date:2022/5/11 下午8:08:12
* date:2022/5/11 下午8:10:19
*/

@@ -268,3 +268,2 @@ import { reactive, computed, toRefs } from 'vue';

console.log('[onlyState warning] you must define a state');
return installStore;
}

@@ -284,2 +283,5 @@ if (isObject(getters) && Object.keys(getters).length > 0) {

}
else {
console.log('[onlyState warning] why you do not need getters');
}
return installStore;

@@ -286,0 +288,0 @@ };

{
"name": "onlystate",
"version": "0.0.8",
"version": "0.0.9",
"description": "A state and only state management library for Vue3",

@@ -5,0 +5,0 @@ "main": "dist/only-state.js",

@@ -24,3 +24,2 @@ // @ts-ignore

console.log('[onlyState warning] you must define a state')
return installStore
}

@@ -40,2 +39,4 @@

});
} else {
console.log('[onlyState warning] why you do not need getters')
}

@@ -42,0 +43,0 @@ return installStore

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