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

ag-utilities

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ag-utilities - npm Package Compare versions

Comparing version 1.1.192 to 1.1.193

1

AgVueWrap.d.ts

@@ -28,3 +28,2 @@ import { Delta } from './AgDiff';

patch: (delta: Delta) => void;
set onPatched(fn: (delta: Delta) => void);
set value(v: T);

@@ -31,0 +30,0 @@ set onUpdated(fn: (value: T) => void);

@@ -113,17 +113,8 @@ "use strict";

var real = (0, exports.ref)(init);
var oldValue = AgDiff_1.AgDiff.clone(real.value);
var onpatched;
var onupdated;
var onstop;
var watcher = watch(real, function (value) {
var newValue = AgDiff_1.AgDiff.clone(value);
if (onupdated) {
onupdated(newValue);
onupdated(value);
}
if (onpatched) {
var delta = AgDiff_1.AgDiff.diff(oldValue, newValue);
if (delta)
onpatched(delta);
}
oldValue = AgDiff_1.AgDiff.clone(newValue);
}, { deep: true });

@@ -137,5 +128,2 @@ return {

},
set onPatched(fn) {
onpatched = fn;
},
set onUpdated(fn) {

@@ -142,0 +130,0 @@ onupdated = fn;

2

package.json
{
"name": "ag-utilities",
"version": "1.1.192",
"version": "1.1.193",
"author": "fangxq",

@@ -5,0 +5,0 @@ "license": "MIT",

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