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

@politie/sherlock-proxy

Package Overview
Dependencies
Maintainers
7
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@politie/sherlock-proxy - npm Package Compare versions

Comparing version 2.0.0-alpha.0 to 2.0.0-beta.0

sherlock-proxy.cjs.min.js

4

package.json
{
"name": "@politie/sherlock-proxy",
"version": "2.0.0-alpha.0",
"version": "2.0.0-beta.0",
"description": "A proxy extension to Sherlock.",

@@ -41,4 +41,4 @@ "main": "sherlock-proxy.cjs.js",

"peerDependencies": {
"@politie/sherlock": "2.0.0-alpha.0"
"@politie/sherlock": "2.0.0-beta.0"
}
}

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

import { Derivable, ReactorOptions, TargetedLensDescriptor } from '@politie/sherlock';
import { Derivable, ReactorOptions } from '@politie/sherlock';
/**

@@ -124,4 +124,4 @@ * The base interface for DerivableProxies. Defines only the $-properties and $-methods. Any property accessed with a number or

export interface DerivableProxyLens<T, V> {
get: TargetedLensDescriptor<T, V, never>['get'];
set?: TargetedLensDescriptor<T, V, never>['set'];
get: (targetValue: T) => V;
set?: (newValue: V, targetValue: T | undefined) => T;
}

@@ -128,0 +128,0 @@ export declare type MaybePacked<T> = T | Derivable<T> | DerivableProxy<T>;

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

}
return target.lens(lens).autoCache();
return target.map(lens.get, lens.set).autoCache();
}

@@ -233,0 +233,0 @@ function unwrapProxy(obj) {

@@ -226,3 +226,3 @@ import { __generator } from 'tslib';

}
return target.lens(lens).autoCache();
return target.map(lens.get, lens.set).autoCache();
}

@@ -229,0 +229,0 @@ function unwrapProxy(obj) {

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@politie/sherlock')) :
typeof define === 'function' && define.amd ? define(['exports', '@politie/sherlock'], factory) :
(factory((global['sherlock-proxy'] = {}),global.sherlock));
(factory((global.SherlockProxy = {}),global.Sherlock));
}(this, (function (exports,sherlock) { 'use strict';

@@ -272,3 +272,3 @@

}
return target.lens(lens).autoCache();
return target.map(lens.get, lens.set).autoCache();
}

@@ -275,0 +275,0 @@ function unwrapProxy(obj) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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