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

@platform/types

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@platform/types - npm Package Compare versions

Comparing version 0.5.25 to 0.5.26

lib/types.bool.d.ts

1

lib/types.d.ts

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

export * from './types.bool';
export * from './types.dispose';

@@ -2,0 +3,0 @@ export * from './types.dom';

@@ -9,5 +9,19 @@ import { Observable } from 'rxjs';

export declare type EventBus<E extends Event = Event> = {
$: Observable<E>;
readonly $: Observable<E>;
fire: FireEvent<E>;
};
export declare type EventPump<E extends Event = Event> = {
id: string;
in: EventPumpIn<E>;
out: EventPumpOut<E>;
};
export declare type EventPumpIn<E extends Event> = (fn: EventPumpInSubscriber<E>) => void;
export declare type EventPumpInSubscriber<T extends Event> = (e: T) => void;
export declare type EventPumpOut<E extends Event> = (e: E) => void;
export declare type EventPumpDirection = 'In' | 'Out';
export declare type EventPumpFilter<E extends Event = Event> = (e: EventPumpFilterArgs<E>) => boolean;
export declare type EventPumpFilterArgs<E extends Event = Event> = {
direction: EventPumpDirection;
event: E;
};
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
tslib_1.__exportStar(require("./types.bool"), exports);
tslib_1.__exportStar(require("./types.dispose"), exports);

@@ -5,0 +6,0 @@ tslib_1.__exportStar(require("./types.dom"), exports);

14

lib/types.pkg.d.ts

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

export declare type INpmPackageJson = {
export declare type NpmPackageJson = {
name?: string;

@@ -7,13 +7,13 @@ description?: string;

types?: string;
scripts?: INpmPackageFields;
dependencies?: INpmPackageFields;
devDependencies?: INpmPackageFields;
peerDependencies?: INpmPackageFields;
resolutions?: INpmPackageFields;
scripts?: NpmPackageFields;
dependencies?: NpmPackageFields;
devDependencies?: NpmPackageFields;
peerDependencies?: NpmPackageFields;
resolutions?: NpmPackageFields;
license?: string;
private?: boolean;
};
export declare type INpmPackageFields = {
export declare type NpmPackageFields = {
[key: string]: string;
};
export declare type NpmPackageFieldsKey = 'scripts' | 'dependencies' | 'devDependencies' | 'peerDependencies' | 'resolutions';
{
"name": "@platform/types",
"version": "0.5.25",
"version": "0.5.26",
"description": "Common types used across @platform.",

@@ -9,9 +9,9 @@ "main": "lib/index",

"test": "echo sh ../../node_modules/@platform/test/test.sh $@",
"lint": "sh ../../node_modules/@platform/ts.libs/lint.sh $@",
"build": "sh ../../node_modules/@platform/ts.libs/build.sh $@",
"lint": "sh ../../node_modules/@platform/ts.libs/sh/lint.sh $@",
"build": "sh ../../node_modules/@platform/ts.libs/sh/build.sh $@",
"prepare": "yarn build && yarn lint && yarn test"
},
"devDependencies": {
"@platform/test": "0.2.10",
"@platform/ts.libs": "4.3.3"
"@platform/test": "0.3.1",
"@platform/ts.libs": "4.7.5"
},

@@ -18,0 +18,0 @@ "files": [

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