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

@milkdown/ctx

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

@milkdown/ctx - npm Package Compare versions

Comparing version 7.1.2-next.1 to 7.1.2-next.2

4

lib/inspector/inspector.d.ts
import type { Container, SliceType } from '../context';
import type { Clock, TimerStatus, TimerType } from '../timer';
import type { Meta } from './meta';
export type Inspection = {
export type Telemetry = {
metadata: Meta;

@@ -28,3 +28,3 @@ injectedSlices: {

constructor(container: Container, clock: Clock, meta: Meta);
read: () => Inspection;
read: () => Telemetry;
readonly onRecord: (timerType: TimerType) => void;

@@ -31,0 +31,0 @@ readonly onClear: (timerType: TimerType) => void;

{
"name": "@milkdown/ctx",
"type": "module",
"version": "7.1.2-next.1",
"version": "7.1.2-next.2",
"license": "MIT",

@@ -29,3 +29,3 @@ "repository": {

"tslib": "^2.5.0",
"@milkdown/exception": "7.1.2-next.1"
"@milkdown/exception": "7.1.2-next.2"
},

@@ -32,0 +32,0 @@ "nx": {

@@ -6,3 +6,3 @@ /* Copyright 2021, Milkdown by Mirone. */

export type Inspection = {
export type Telemetry = {
metadata: Meta

@@ -48,3 +48,3 @@ injectedSlices: { name: string; value: unknown }[]

/// Read the runtime environment as an object of the ctx.
read = (): Inspection => {
read = (): Telemetry => {
return {

@@ -51,0 +51,0 @@ metadata: this.#meta,

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