Socket
Socket
Sign inDemoInstall

valtio

Package Overview
Dependencies
Maintainers
2
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

valtio - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

esm/index.js

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

import { snapshot, subscribe, getVersion } from './vanilla';
export * from './vanilla';
import { snapshot, subscribe, getVersion } from 'valtio/vanilla';
export * from 'valtio/vanilla';
import { useRef, useState, useEffect, useReducer, useCallback, useMemo, useLayoutEffect, useDebugValue } from 'react';

@@ -4,0 +4,0 @@ import { isDeepChanged, createDeepProxy, affectedToPathList } from 'proxy-compare';

import { createDeepProxy, isDeepChanged } from 'proxy-compare';
import { subscribe, snapshot, proxy } from './vanilla';
import { subscribe, snapshot, proxy } from 'valtio/vanilla';

@@ -4,0 +4,0 @@ const subscribeKey = (proxyObject, key, callback, notifyInSync) => {

@@ -5,3 +5,3 @@ 'use strict';

var vanilla = require('./vanilla');
var vanilla = require('valtio/vanilla');
var react = require('react');

@@ -8,0 +8,0 @@ var proxyCompare = require('proxy-compare');

{
"name": "valtio",
"private": false,
"version": "1.0.2",
"version": "1.0.3",
"description": "💊 Valtio makes proxy-state simple for React and Vanilla",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -6,3 +6,3 @@ 'use strict';

var proxyCompare = require('proxy-compare');
var vanilla = require('./vanilla');
var vanilla = require('valtio/vanilla');

@@ -9,0 +9,0 @@ var subscribeKey = function subscribeKey(proxyObject, key, callback, notifyInSync) {

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