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

prosemirror-flat-list

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-flat-list - npm Package Compare versions

Comparing version 0.3.7 to 0.3.8

25

./dist/prosemirror-flat-list.js

@@ -95,2 +95,11 @@ // src/commands/dedent-list.ts

// src/utils/browser.ts
var nav = typeof navigator != "undefined" ? navigator : null;
var agent = nav && nav.userAgent || "";
var ie_edge = /Edge\/(\d+)/.exec(agent);
var ie_upto10 = /MSIE \d/.exec(agent);
var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(agent);
var ie = !!(ie_upto10 || ie_11up || ie_edge);
var safari = !ie && !!nav && /Apple Computer/.test(nav.vendor);
// src/schema/to-dom.ts

@@ -165,3 +174,6 @@ function listToDOM({

"data-list-collapsable": node.childCount >= 2 ? "" : void 0,
style: attrs.order != null ? `counter-set: prosemirror-flat-list-counter ${attrs.order};` : void 0
style: attrs.order != null ? (
// Safari (at least version <= 16.5) doesn't support `counter-set`
safari ? `counter-reset: prosemirror-flat-list-counter; counter-increment: prosemirror-flat-list-counter ${attrs.order};` : `counter-set: prosemirror-flat-list-counter ${attrs.order};`
) : void 0
};

@@ -1470,13 +1482,2 @@ return domAttrs;

import { Decoration, DecorationSet } from "prosemirror-view";
// src/utils/browser.ts
var nav = typeof navigator != "undefined" ? navigator : null;
var agent = nav && nav.userAgent || "";
var ie_edge = /Edge\/(\d+)/.exec(agent);
var ie_upto10 = /MSIE \d/.exec(agent);
var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(agent);
var ie = !!(ie_upto10 || ie_11up || ie_edge);
var safari = !ie && !!nav && /Apple Computer/.test(nav.vendor);
// src/plugins/safari-workaround.ts
function createSafariInputMethodWorkaroundPlugin() {

@@ -1483,0 +1484,0 @@ let view = null;

@@ -95,2 +95,11 @@ // src/commands/dedent-list.ts

// src/utils/browser.ts
var nav = typeof navigator != "undefined" ? navigator : null;
var agent = nav && nav.userAgent || "";
var ie_edge = /Edge\/(\d+)/.exec(agent);
var ie_upto10 = /MSIE \d/.exec(agent);
var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(agent);
var ie = !!(ie_upto10 || ie_11up || ie_edge);
var safari = !ie && !!nav && /Apple Computer/.test(nav.vendor);
// src/schema/to-dom.ts

@@ -165,3 +174,6 @@ function listToDOM({

"data-list-collapsable": node.childCount >= 2 ? "" : void 0,
style: attrs.order != null ? `counter-set: prosemirror-flat-list-counter ${attrs.order};` : void 0
style: attrs.order != null ? (
// Safari (at least version <= 16.5) doesn't support `counter-set`
safari ? `counter-reset: prosemirror-flat-list-counter; counter-increment: prosemirror-flat-list-counter ${attrs.order};` : `counter-set: prosemirror-flat-list-counter ${attrs.order};`
) : void 0
};

@@ -1470,13 +1482,2 @@ return domAttrs;

import { Decoration, DecorationSet } from "prosemirror-view";
// src/utils/browser.ts
var nav = typeof navigator != "undefined" ? navigator : null;
var agent = nav && nav.userAgent || "";
var ie_edge = /Edge\/(\d+)/.exec(agent);
var ie_upto10 = /MSIE \d/.exec(agent);
var ie_11up = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(agent);
var ie = !!(ie_upto10 || ie_11up || ie_edge);
var safari = !ie && !!nav && /Apple Computer/.test(nav.vendor);
// src/plugins/safari-workaround.ts
function createSafariInputMethodWorkaroundPlugin() {

@@ -1483,0 +1484,0 @@ let view = null;

{
"name": "prosemirror-flat-list",
"type": "module",
"version": "0.3.7",
"version": "0.3.8",
"description": "Powerful list support for ProseMirror",

@@ -6,0 +6,0 @@ "author": "ocavue <ocavue@gmail.com>",

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