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

blac

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blac - npm Package Compare versions

Comparing version 1.0.1-alpha.3 to 1.0.1-alpha.4

9

dist/blac.d.ts

@@ -59,3 +59,2 @@ type BlacObserver<S> = (newState: S, oldState: S) => void | Promise<void>;

pluginMap: Map<string, any>;
constructor(options?: O);
report: (event: BlacEvent, bloc: BlocBase<any>) => void;

@@ -69,11 +68,3 @@ unregisterBloc(bloc: BlocBase<any>): void;

}
declare global {
interface Window {
blac?: Blac<any>;
}
interface GlobalThis {
blac?: Blac<any>;
}
}
export { Blac, BlacEvent, BlacObservable, BlacObserver, BlacOptions, Bloc, BlocBase, BlocBaseAbstract, BlocClassNoParams, BlocConstructor, BlocOptions, Cubit, CubitOptions, ValueType };

5

dist/blac.esm.js

@@ -30,3 +30,3 @@ class BlacObservable {

observer;
blac = globalThis.blac;
blac = undefined;
uid = Math.random().toString(36).split(".")[1];

@@ -64,5 +64,2 @@ pluginStore = new Map();

pluginMap = new Map();
constructor(options = {}) {
globalThis.blac = this;
}
report = (event, bloc) => {

@@ -69,0 +66,0 @@ const base = bloc.constructor;

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

observer;
blac = globalThis.blac;
blac = undefined;
uid = Math.random().toString(36).split(".")[1];

@@ -66,5 +66,2 @@ pluginStore = new Map();

pluginMap = new Map();
constructor(options = {}) {
globalThis.blac = this;
}
report = (event, bloc) => {

@@ -71,0 +68,0 @@ const base = bloc.constructor;

2

package.json
{
"name": "blac",
"version": "1.0.1-alpha.3",
"version": "1.0.1-alpha.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "dist/blac.js",

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