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

@prosekit/core

Package Overview
Dependencies
Maintainers
0
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prosekit/core - npm Package Compare versions

Comparing version 0.0.0-next-20240621205958 to 0.0.0-next-20240622120010

38

dist/_tsup-dts-rollup.d.ts

@@ -261,8 +261,8 @@ import { AllSelection } from '@prosekit/pm/state';

text: string;
from?: number | undefined;
to?: number | undefined;
from?: number;
to?: number;
}];
insertNode: [options: {
node: Node_2;
pos?: number | undefined;
pos?: number;
type?: undefined;

@@ -272,19 +272,19 @@ attrs?: undefined;

node?: undefined;
pos?: number | undefined;
pos?: number;
type: string;
attrs?: Attrs_2 | undefined;
attrs?: Attrs_2;
}];
removeNode: [options: {
type: string | NodeType_2;
pos?: number | undefined;
pos?: number;
}];
wrap: [{
nodeType: NodeType_2;
attrs?: Attrs_2 | null | undefined;
attrs?: Attrs_2 | null;
}];
setBlockType: [options: {
type: string | NodeType_2;
attrs?: Attrs_2 | null | undefined;
from?: number | undefined;
to?: number | undefined;
type: NodeType_2 | string;
attrs?: Attrs_2 | null;
from?: number;
to?: number;
}];

@@ -294,3 +294,3 @@ setNodeAttrs: [options: {

attrs: Attrs_2;
pos?: number | undefined;
pos?: number;
}];

@@ -300,11 +300,11 @@ selectAll: [];

type: string | MarkType_2;
attrs?: Attrs_2 | null | undefined;
from?: number | undefined;
to?: number | undefined;
attrs?: Attrs_2 | null;
from?: number;
to?: number;
}];
removeMark: [options: {
type: string | MarkType_2;
attrs?: Attrs_2 | null | undefined;
from?: number | undefined;
to?: number | undefined;
attrs?: Attrs_2 | null;
from?: number;
to?: number;
}];

@@ -1687,3 +1687,3 @@ };

/**
* @intneral
* @internal
*/

@@ -1690,0 +1690,0 @@ declare type SimplifyUnion<T> = Simplify<UnionToIntersection<T>>;

@@ -361,2 +361,7 @@ // src/commands/add-mark.ts

// src/utils/is-not-null.ts
function isNotNull(value) {
return value != null;
}
// src/facets/facet-node.ts

@@ -437,3 +442,3 @@ function zip5(a, b, mapper) {

if (this.facet.singleton) {
let reducer = (_a = this.reducers)[_b = 2 /* default */] || (_a[_b] = this.facet.reducer), input = inputs.filter(Boolean).flat();
let reducer = (_a = this.reducers)[_b = 2 /* default */] || (_a[_b] = this.facet.reducer), input = inputs.filter(isNotNull).flat();
output[2 /* default */] = reducer(input);

@@ -1139,7 +1144,2 @@ } else

// src/utils/is-not-null.ts
function isNotNull(value) {
return value != null;
}
// src/extensions/node-spec.ts

@@ -1146,0 +1146,0 @@ function defineNodeSpec(options) {

{
"name": "@prosekit/core",
"type": "module",
"version": "0.0.0-next-20240621205958",
"version": "0.0.0-next-20240622120010",
"private": false,

@@ -42,7 +42,7 @@ "author": {

"type-fest": "^4.20.1",
"@prosekit/pm": "^0.0.0-next-20240621205958"
"@prosekit/pm": "^0.0.0-next-20240622120010"
},
"devDependencies": {
"tsup": "^8.1.0",
"typescript": "^5.4.5",
"typescript": "^5.5.2",
"vitest": "^1.6.0",

@@ -49,0 +49,0 @@ "@prosekit/dev": "0.0.0"

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