Socket
Socket
Sign inDemoInstall

boxes

Package Overview
Dependencies
1
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.41.0 to 0.42.0

15

lib/modifiers.js

@@ -41,8 +41,7 @@ "use strict";

return function (value, start = 0, end = target.length) {
value = getBox(value);
if (!target.__isWatched) {
const fill = getBox(value);
target.fill(fill, start, end);
target.fill(value, start, end);
return proxy;
}
value = getBox(value);
const len = target.length;

@@ -197,11 +196,9 @@ if (start < 0)

unshift: (target, proxy, getBox) => function (...args) {
if (!target.__isWatched) {
const items = getBox(args);
target.unshift(...items);
return target.length;
}
const items = getBox(args);
if (!target.__isWatched)
return target.unshift(...items);
const firstIndexChanged = arguments.length;
let i = firstIndexChanged;
while (i--) {
const value = getBox(arguments[i]);
const value = items[i];
target.unshift(value);

@@ -208,0 +205,0 @@ ee_1.default.emit(proxy, '0', proxy, '0', 'insert', undefined, value);

2

package.json
{
"name": "boxes",
"version": "0.41.0",
"version": "0.42.0",
"description": "Reactive state containers for js apps",

@@ -5,0 +5,0 @@ "type": "module",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc