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

prosemirror-suggest

Package Overview
Dependencies
Maintainers
1
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-suggest - npm Package Compare versions

Comparing version 0.0.0-pr706.5 to 0.0.0-pr706.6

28

dist/prosemirror-suggest.browser.cjs.js

@@ -28,3 +28,29 @@ 'use strict';

*/
/**
* A function for checking whether the next selection is valid.
*
* It is called for all registered suggesters before any of the onChange
* handlers are fired.
*
* @param $pos - the next valid position that supports text selections.
* @param tr - the transaction that can be mutated when `appendTransaction` is
* set to true.
* @param matches - the possibly undefined exit and change matcher names. These
* can be used to check if the name matches the current suggester.
*/
/**
* A function that can be used to determine whether the decoration should be set
* or not.
*
* @param match - the current active match
* @param resolvedRange - the range of the match with each position resolved.
*/
/**
* The potential reasons for an exit of a mention.
*/
exports.ExitReason = void 0;
/**
* The potential reason for changes

@@ -44,2 +70,4 @@ */

})(exports.ExitReason || (exports.ExitReason = {}));
exports.ChangeReason = void 0;
/**

@@ -46,0 +74,0 @@ * The parameters needed for the [[`SuggestIgnoreProps.addIgnored`]] action

2

dist/prosemirror-suggest.browser.esm.js

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

import { TextSelection, PluginKey, Selection, Plugin } from 'prosemirror-state';
import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state';
import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper';

@@ -3,0 +3,0 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';

@@ -28,3 +28,29 @@ 'use strict';

*/
/**
* A function for checking whether the next selection is valid.
*
* It is called for all registered suggesters before any of the onChange
* handlers are fired.
*
* @param $pos - the next valid position that supports text selections.
* @param tr - the transaction that can be mutated when `appendTransaction` is
* set to true.
* @param matches - the possibly undefined exit and change matcher names. These
* can be used to check if the name matches the current suggester.
*/
/**
* A function that can be used to determine whether the decoration should be set
* or not.
*
* @param match - the current active match
* @param resolvedRange - the range of the match with each position resolved.
*/
/**
* The potential reasons for an exit of a mention.
*/
exports.ExitReason = void 0;
/**
* The potential reason for changes

@@ -44,2 +70,4 @@ */

})(exports.ExitReason || (exports.ExitReason = {}));
exports.ChangeReason = void 0;
/**

@@ -46,0 +74,0 @@ * The parameters needed for the [[`SuggestIgnoreProps.addIgnored`]] action

@@ -28,3 +28,29 @@ 'use strict';

*/
/**
* A function for checking whether the next selection is valid.
*
* It is called for all registered suggesters before any of the onChange
* handlers are fired.
*
* @param $pos - the next valid position that supports text selections.
* @param tr - the transaction that can be mutated when `appendTransaction` is
* set to true.
* @param matches - the possibly undefined exit and change matcher names. These
* can be used to check if the name matches the current suggester.
*/
/**
* A function that can be used to determine whether the decoration should be set
* or not.
*
* @param match - the current active match
* @param resolvedRange - the range of the match with each position resolved.
*/
/**
* The potential reasons for an exit of a mention.
*/
exports.ExitReason = void 0;
/**
* The potential reason for changes

@@ -44,2 +70,4 @@ */

})(exports.ExitReason || (exports.ExitReason = {}));
exports.ChangeReason = void 0;
/**

@@ -46,0 +74,0 @@ * The parameters needed for the [[`SuggestIgnoreProps.addIgnored`]] action

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

import { TextSelection, PluginKey, Selection, Plugin } from 'prosemirror-state';
import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state';
import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper';

@@ -3,0 +3,0 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';

{
"name": "prosemirror-suggest",
"version": "0.0.0-pr706.5",
"version": "0.0.0-pr706.6",
"description": "Primitives for building your prosemirror suggestion and autocomplete functionality",

@@ -11,2 +11,3 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/prosemirror-suggest",

],
"sideEffects": false,
"exports": {

@@ -34,7 +35,7 @@ ".": {

"dependencies": {
"@babel/runtime": "^7.12.13",
"@remirror/core-constants": "0.0.0-pr706.5",
"@remirror/core-helpers": "0.0.0-pr706.5",
"@babel/runtime": "^7.13.7",
"@remirror/core-constants": "0.0.0-pr706.6",
"@remirror/core-helpers": "0.0.0-pr706.6",
"escape-string-regexp": "^4.0.0",
"type-fest": "^0.20.2"
"type-fest": "^0.21.2"
},

@@ -51,8 +52,8 @@ "devDependencies": {

"peerDependencies": {
"@types/prosemirror-model": "^1.7.0",
"@types/prosemirror-state": "^1.2.5",
"@types/prosemirror-view": "^1.15.0",
"prosemirror-model": "^1.11.0",
"prosemirror-state": "^1.3.3",
"prosemirror-view": "^1.14.9"
"@types/prosemirror-model": "^1",
"@types/prosemirror-state": "^1",
"@types/prosemirror-view": "^1",
"prosemirror-model": "^1",
"prosemirror-state": "^1",
"prosemirror-view": "^1"
},

@@ -59,0 +60,0 @@ "peerDependenciesMeta": {

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