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

gdpr-guard

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gdpr-guard - npm Package Compare versions

Comparing version 1.3.2 to 2.0.0

10

dist/serde/GdprSavior.d.ts

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

import { GdprManager } from "../GdprManager";
import { GdprManagerRaw, GdprManager } from "../GdprManager";
declare type GdprManagerFactory = () => Promise<GdprManager>;

@@ -7,4 +7,4 @@ interface GdprSavior {

restoreOrCreate(factory: GdprManagerFactory): Promise<GdprManager>;
store(manager: GdprManager): Promise<boolean>;
storeIfNotExists(manager: GdprManager): Promise<boolean>;
store(manager: GdprManagerRaw): Promise<boolean>;
storeIfNotExists(manager: GdprManagerRaw): Promise<boolean>;
updateSharedManager(manager: GdprManager): Promise<void>;

@@ -15,6 +15,6 @@ check(): Promise<void>;

abstract restore(shouldUpdate?: boolean): Promise<GdprManager | null>;
abstract store(manager: GdprManager): Promise<boolean>;
abstract store(manager: GdprManagerRaw): Promise<boolean>;
abstract updateSharedManager(manager: GdprManager): Promise<void>;
exists(shouldUpdate?: boolean): Promise<boolean>;
storeIfNotExists(manager: GdprManager): Promise<boolean>;
storeIfNotExists(manager: GdprManagerRaw): Promise<boolean>;
restoreOrCreate(factory: GdprManagerFactory): Promise<GdprManager>;

@@ -21,0 +21,0 @@ check(): Promise<void>;

{
"name": "gdpr-guard",
"version": "1.3.2",
"version": "2.0.0",
"author": "Voltra <ludwig.guerin.98@gmx.fr>",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/Voltra/gdpr-guard#readme",

@@ -193,3 +193,3 @@ # gdpr-guard

public abstract restore(shouldUpdate?: boolean): Promise<GdprManager|null>;
public abstract store(manager: GdprManager): Promise<boolean>;
public abstract store(manager: GdprManagerRaw): Promise<boolean>;
public abstract updateSharedManager(manager: GdprManager): Promise<void>;

@@ -214,4 +214,4 @@ }

restoreOrCreate(factory: GdprManagerFactory): Promise<GdprManager>;
store(manager: GdprManager): Promise<boolean>;
storeIfNotExists(manager: GdprManager): Promise<boolean>;
store(manager: GdprManagerRaw): Promise<boolean>;
storeIfNotExists(manager: GdprManagerRaw): Promise<boolean>;
updateSharedManager(manager: GdprManager): Promise<void>;

@@ -218,0 +218,0 @@ check(): Promise<void>;

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