Socket
Socket
Sign inDemoInstall

@grammarly/editor-sdk

Package Overview
Dependencies
Maintainers
8
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammarly/editor-sdk - npm Package Compare versions

Comparing version 2.3.16 to 3.0.0-alpha.0

48

lib/editor-sdk.beta.d.ts

@@ -292,2 +292,17 @@ /**

activation?: "focus" | "immediate";
/**
* Show GrammarlyGO interface
*
* @defaultValue "off"
* @beta
* @since v3.0.0-alpha.0
*/
generativeTextAssistance?: "on" | "off";
/**
* Custom prompts
*
* @beta
* @since v3.0.0-alpha.0
*/
generativeTextCustomPrompts?: TextGenerationPrompt[];
}

@@ -1015,2 +1030,33 @@

/**
* A custom prompt
*
* @beta
*/
declare interface TextGenerationPrompt {
type: "rewrite" | "ideate";
/**
* Text to show in the action menu beside the icon
*/
label: string;
/**
* Icon to show in the action menu beside the label
*/
icon?: TextGenerationPromptIcon;
/**
* Instructions sent to modify the text
*/
promptText: (context: {
currentSelection: string;
generatedText?: string;
}) => string;
}
/**
* Predefined action icon set
*
* @beta
*/
declare type TextGenerationPromptIcon = "sparkles";
/**
* Time in hours, minutes, and seconds.

@@ -1043,2 +1089,2 @@ *

export { ClientId, Config, Dialect, DocumentStats, Domain, Editor, EditorConfig, EditorSDK, GrammarlyButtonElement, GrammarlyEditorPluginCallbacks, GrammarlyEditorPluginElement, GrammarlyEditorPluginElementEventMap, MenuPosition, SessionStats, SessionSuggestionBreakdown, SuggestionCategories, Time, TonePosition, init };
export { ClientId, Config, Dialect, DocumentStats, Domain, Editor, EditorConfig, EditorSDK, GrammarlyButtonElement, GrammarlyEditorPluginCallbacks, GrammarlyEditorPluginElement, GrammarlyEditorPluginElementEventMap, MenuPosition, SessionStats, SessionSuggestionBreakdown, SuggestionCategories, TextGenerationPrompt, TextGenerationPromptIcon, Time, TonePosition, init };

@@ -292,2 +292,4 @@ /**

activation?: "focus" | "immediate";
}

@@ -294,0 +296,0 @@

2

lib/index.esm.js

@@ -17,2 +17,2 @@ /**

*/
function t(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var n=new Map;class r extends Error{constructor(n,r){super(),t(this,"args",void 0),t(this,"code",void 0),t(this,"url",void 0),t(this,"_c",void 0);var e=new URL("https://developer.grammarly.com/docs/error-explainer");e.searchParams.set("code",n.toString()),r.forEach((t=>e.searchParams.append("args",function(t){if(t instanceof Error)return t.message+"\n"+String(t.stack);if(null==t)return"null";if("object"==typeof t)try{return Object.prototype.toString.call(t)}catch(t){}return String(t)}(t)))),null!=this.stack&&e.searchParams.set("trace",this.stack),this.message="Minified error #".concat(n,": See ").concat(e.toString()," for details."),this.args=r,this.code=n,this.url=e.toString()}toUserMessage(){var t=n.get("".concat(this.code));if(null==t)return[this];var r=new Map(this.args.map(((t,n)=>["${".concat(n,"}"),t]))),e=t.split(/(\${\d+})/).filter((t=>""!==t));return e.map((t=>{var n;return null!==(n=r.get(t))&&void 0!==n?n:t}))}toJSON(){return{name:"InvariantError",message:this.message,description:this._n,code:this.code,args:this.args,stack:this.stack}}static setMessages(t){n=t}static create(t,n,e,a){null!=a&&n.push(a);var o=new r(t,n,e);return o.stack=null==a?void 0:a.stack,o._n=e,o}}const e=new WeakMap;async function a(t,n){const a=e.get(t);if(null!=a)return await a;!function(t){null==t.Grammarly&&(t.Grammarly={})}(t);const o=new Promise(((e,a)=>{try{let e=function(t,n){return t.document.querySelectorAll(`script[src^="${n.replace(/\?.*$/,"")}"]`)[0]}(t,n);null!=e?o():(e=function(t,n){const r=t.document.createElement("script");return r.src=n,t.document.head.appendChild(r),r}(t,n),e.addEventListener("load",o),e.addEventListener("error",(function(){try{throw new r(23,[])}catch(t){a(t)}})))}catch(t){return a(t)}function o(){try{if(null==t.Grammarly||"function"!=typeof t.Grammarly.EditorSDK)throw new r(22,[]);e(t.Grammarly)}catch(t){a(t)}}}));return e.set(t,o),await o}async function o(t,n,r){return await s("@grammarly/editor-sdk",t,n,r)}async function s(t,n,e,o){if("undefined"==typeof window&&void 0===o)throw new r(21,[]);const s=function(t){return"null"!==t.location.origin?t.location.origin:"null"!==t.origin?t.origin:"null"}(null!=o?o:window);"null"===s&&(null!=o?o:window).top!==(null!=o?o:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element.");const i=new URL("https://js.grammarly.com/grammarly-editor-sdk@2.3",s);null!=n&&i.searchParams.set("clientId",n),i.searchParams.set("packageName",t);const c=await a(null!=o?o:window,i.toString());if(null!=n)return new c.EditorSDK(n,e)}const i={onBeforeSuggestionCardOpen:"before-suggestion-card-open",onSuggestionCardOpen:"suggestion-card-open",onSuggestionCardClose:"suggestion-card-close",onSuggestionCardAction:"suggestion-card-action",onPluginTurnedOff:"plugin-turned-off",onPluginError:"plugin-error",onDocumentStats:"document-stats",onSessionStats:"session-stats"};export{i as callbackToEventName,o as init,s as init_with_packageName};
function n(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}var t=new Map;class r extends Error{constructor(t,r){super(),n(this,"args",void 0),n(this,"code",void 0),n(this,"url",void 0),n(this,"_c",void 0);var e=new URL("https://developer.grammarly.com/docs/error-explainer");e.searchParams.set("code",t.toString()),r.forEach((n=>e.searchParams.append("args",function(n){if(n instanceof Error)return n.message+"\n"+String(n.stack);if(null==n)return"null";if("object"==typeof n)try{return Object.prototype.toString.call(n)}catch(n){}return String(n)}(n)))),this.message="Minified error #".concat(t,": See ").concat(e.toString()," for details."),this.args=r,this.code=t,this.url=e.toString()}toUserMessage(){var n=t.get("".concat(this.code));return null==n?[null==this._n?this:this.message]:function(n,t){var r=new Map(t.map(((n,t)=>["${".concat(t,"}"),n])));return n.split(/(\${\d+})/).filter((n=>""!==n)).map((n=>{var t;return null!==(t=r.get(n))&&void 0!==t?t:n}))}(n,this.args)}toJSON(){return{name:"InvariantError",message:this.message,description:this._n,code:this.code,args:this.args,stack:this.stack}}static setMessages(n){t=n}static create(n,t,e,o){null!=o&&t.push(o);var a=new r(n,t,e);return a.stack=null==o?void 0:o.stack,a._n=e,a}}const e=new WeakMap;async function o(n,t){const o=e.get(n);if(null!=o)return await o;!function(n){null==n.Grammarly&&(n.Grammarly={})}(n);const a=new Promise(((e,o)=>{try{let e=function(n,t){return n.document.querySelectorAll(`script[src^="${t.replace(/\?.*$/,"")}"]`)[0]}(n,t);null!=e?a():(e=function(n,t){const r=n.document.createElement("script");return r.src=t,n.document.head.appendChild(r),r}(n,t),e.addEventListener("load",a),e.addEventListener("error",(function(){try{throw new r(23,[])}catch(n){o(n)}})))}catch(n){return o(n)}function a(){try{if(null==n.Grammarly||"function"!=typeof n.Grammarly.EditorSDK)throw new r(22,[]);e(n.Grammarly)}catch(n){o(n)}}}));return e.set(n,a),await a}async function a(n,t,r){return await s("@grammarly/editor-sdk",n,t,r)}async function s(n,t,e,a){if("undefined"==typeof window&&void 0===a)throw new r(21,[]);const s=function(n){return"null"!==n.location.origin?n.location.origin:"null"!==n.origin?n.origin:"null"}(null!=a?a:window);"null"===s&&(null!=a?a:window).top!==(null!=a?a:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element.");const i=new URL("https://js.grammarly.com/grammarly-editor-sdk@3.0.0-alpha.0",s);null!=t&&i.searchParams.set("clientId",t),i.searchParams.set("packageName",n);const c=await o(null!=a?a:window,i.toString());if(null!=t)return new c.EditorSDK(t,e)}const i={onBeforeSuggestionCardOpen:"before-suggestion-card-open",onSuggestionCardOpen:"suggestion-card-open",onSuggestionCardClose:"suggestion-card-close",onSuggestionCardAction:"suggestion-card-action",onPluginTurnedOff:"plugin-turned-off",onPluginError:"plugin-error",onDocumentStats:"document-stats",onSessionStats:"session-stats"};export{i as callbackToEventName,a as init,s as init_with_packageName};

@@ -17,2 +17,2 @@ /**

*/
!function(){"use strict";function t(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}var r=new Map;class n extends Error{constructor(r,n){super(),t(this,"args",void 0),t(this,"code",void 0),t(this,"url",void 0),t(this,"_c",void 0);var e=new URL("https://developer.grammarly.com/docs/error-explainer");e.searchParams.set("code",r.toString()),n.forEach((t=>e.searchParams.append("args",function(t){if(t instanceof Error)return t.message+"\n"+String(t.stack);if(null==t)return"null";if("object"==typeof t)try{return Object.prototype.toString.call(t)}catch(t){}return String(t)}(t)))),null!=this.stack&&e.searchParams.set("trace",this.stack),this.message="Minified error #".concat(r,": See ").concat(e.toString()," for details."),this.args=n,this.code=r,this.url=e.toString()}toUserMessage(){var t=r.get("".concat(this.code));if(null==t)return[this];var n=new Map(this.args.map(((t,r)=>["${".concat(r,"}"),t])));return t.split(/(\${\d+})/).filter((t=>""!==t)).map((t=>{var r;return null!==(r=n.get(t))&&void 0!==r?r:t}))}toJSON(){return{name:"InvariantError",message:this.message,description:this._c,code:this.code,args:this.args,stack:this.stack}}static setMessages(t){r=t}static create(t,r,e,a){null!=a&&r.push(a);var i=new n(t,r,e);return i.stack=null==a?void 0:a.stack,i._c=e,i}}const e=new WeakMap;async function a(t,r,a){return await async function(t,r,a,i){if("undefined"==typeof window&&void 0===i)throw new n(21,[]);const o=function(t){return"null"!==t.location.origin?t.location.origin:"null"!==t.origin?t.origin:"null"}(null!=i?i:window);"null"===o&&(null!=i?i:window).top!==(null!=i?i:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element.");const s=new URL("https://js.grammarly.com/grammarly-editor-sdk@2.3",o);null!=r&&s.searchParams.set("clientId",r),s.searchParams.set("packageName","@grammarly/editor-sdk");const c=await async function(t,r){const a=e.get(t);if(null!=a)return await a;!function(t){null==t.Grammarly&&(t.Grammarly={})}(t);const i=new Promise(((e,a)=>{try{let e=function(t,r){return t.document.querySelectorAll(`script[src^="${r.replace(/\?.*$/,"")}"]`)[0]}(t,r);null!=e?i():(e=function(t,r){const n=t.document.createElement("script");return n.src=r,t.document.head.appendChild(n),n}(t,r),e.addEventListener("load",i),e.addEventListener("error",(function(){try{throw new n(23,[])}catch(t){a(t)}})))}catch(t){return a(t)}function i(){try{if(null==t.Grammarly||"function"!=typeof t.Grammarly.EditorSDK)throw new n(22,[]);e(t.Grammarly)}catch(t){a(t)}}}));return e.set(t,i),await i}(null!=i?i:window,s.toString());if(null!=r)return new c.EditorSDK(r,a)}(0,t,r,a)}const i=document.currentScript instanceof HTMLScriptElement?document.currentScript:void 0;const o=function(){const t=i;if(t){const r=t.src;if(r){const t=new URL(r).searchParams.get("clientId");if(null!=t)return t}const n=t.getAttribute("clientId");if(null!=n)return n}}(),s=async function(t){return await t.catch((t=>{console.error(t.message)}))}(null!=o?a(o):a());window.Grammarly.init=async(t=o)=>{const r=o===t?await s:null!=t?await a(t):void 0;if(null==r)throw new n(20,[]);return r}}();
!function(){"use strict";function t(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var n=new Map;class r extends Error{constructor(n,r){super(),t(this,"args",void 0),t(this,"code",void 0),t(this,"url",void 0),t(this,"_c",void 0);var e=new URL("https://developer.grammarly.com/docs/error-explainer");e.searchParams.set("code",n.toString()),r.forEach((t=>e.searchParams.append("args",function(t){if(t instanceof Error)return t.message+"\n"+String(t.stack);if(null==t)return"null";if("object"==typeof t)try{return Object.prototype.toString.call(t)}catch(t){}return String(t)}(t)))),this.message="Minified error #".concat(n,": See ").concat(e.toString()," for details."),this.args=r,this.code=n,this.url=e.toString()}toUserMessage(){var t=n.get("".concat(this.code));return null==t?[null==this._c?this:this.message]:function(t,n){var r=new Map(n.map(((t,n)=>["${".concat(n,"}"),t])));return t.split(/(\${\d+})/).filter((t=>""!==t)).map((t=>{var n;return null!==(n=r.get(t))&&void 0!==n?n:t}))}(t,this.args)}toJSON(){return{name:"InvariantError",message:this.message,description:this._c,code:this.code,args:this.args,stack:this.stack}}static setMessages(t){n=t}static create(t,n,e,a){null!=a&&n.push(a);var i=new r(t,n,e);return i.stack=null==a?void 0:a.stack,i._c=e,i}}const e=new WeakMap;async function a(t,n,a){return await async function(t,n,a,i){if("undefined"==typeof window&&void 0===i)throw new r(21,[]);const o=function(t){return"null"!==t.location.origin?t.location.origin:"null"!==t.origin?t.origin:"null"}(null!=i?i:window);"null"===o&&(null!=i?i:window).top!==(null!=i?i:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element.");const s=new URL("https://js.grammarly.com/grammarly-editor-sdk@3.0.0-alpha.0",o);null!=n&&s.searchParams.set("clientId",n),s.searchParams.set("packageName","@grammarly/editor-sdk");const c=await async function(t,n){const a=e.get(t);if(null!=a)return await a;!function(t){null==t.Grammarly&&(t.Grammarly={})}(t);const i=new Promise(((e,a)=>{try{let e=function(t,n){return t.document.querySelectorAll(`script[src^="${n.replace(/\?.*$/,"")}"]`)[0]}(t,n);null!=e?i():(e=function(t,n){const r=t.document.createElement("script");return r.src=n,t.document.head.appendChild(r),r}(t,n),e.addEventListener("load",i),e.addEventListener("error",(function(){try{throw new r(23,[])}catch(t){a(t)}})))}catch(t){return a(t)}function i(){try{if(null==t.Grammarly||"function"!=typeof t.Grammarly.EditorSDK)throw new r(22,[]);e(t.Grammarly)}catch(t){a(t)}}}));return e.set(t,i),await i}(null!=i?i:window,s.toString());if(null!=n)return new c.EditorSDK(n,a)}(0,t,n,a)}const i=document.currentScript instanceof HTMLScriptElement?document.currentScript:void 0;const o=function(){const t=i;if(t){const n=t.src;if(n){const t=new URL(n).searchParams.get("clientId");if(null!=t)return t}const r=t.getAttribute("clientId");if(null!=r)return r}}(),s=async function(t){return await t.catch((t=>{console.error(t.message)}))}(null!=o?a(o):a());window.Grammarly.init=async(t=o)=>{const n=o===t?await s:null!=t?await a(t):void 0;if(null==n)throw new r(20,[]);return n}}();

@@ -17,2 +17,2 @@ /**

*/
"use strict";function t(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var e=new Map;class n extends Error{constructor(e,n){super(),t(this,"args",void 0),t(this,"code",void 0),t(this,"url",void 0),t(this,"_c",void 0);var r=new URL("https://developer.grammarly.com/docs/error-explainer");r.searchParams.set("code",e.toString()),n.forEach((t=>r.searchParams.append("args",function(t){if(t instanceof Error)return t.message+"\n"+String(t.stack);if(null==t)return"null";if("object"==typeof t)try{return Object.prototype.toString.call(t)}catch(t){}return String(t)}(t)))),null!=this.stack&&r.searchParams.set("trace",this.stack),this.message="Minified error #".concat(e,": See ").concat(r.toString()," for details."),this.args=n,this.code=e,this.url=r.toString()}toUserMessage(){var t=e.get("".concat(this.code));if(null==t)return[this];var n=new Map(this.args.map(((t,e)=>["${".concat(e,"}"),t]))),r=t.split(/(\${\d+})/).filter((t=>""!==t));return r.map((t=>{var e;return null!==(e=n.get(t))&&void 0!==e?e:t}))}toJSON(){return{name:"InvariantError",message:this.message,description:this._n,code:this.code,args:this.args,stack:this.stack}}static setMessages(t){e=t}static create(t,e,r,o){null!=o&&e.push(o);var a=new n(t,e,r);return a.stack=null==o?void 0:o.stack,a._n=r,a}}const r=new WeakMap;async function o(t,e){const o=r.get(t);if(null!=o)return await o;!function(t){null==t.Grammarly&&(t.Grammarly={})}(t);const a=new Promise(((r,o)=>{try{let r=function(t,e){return t.document.querySelectorAll(`script[src^="${e.replace(/\?.*$/,"")}"]`)[0]}(t,e);null!=r?a():(r=function(t,e){const n=t.document.createElement("script");return n.src=e,t.document.head.appendChild(n),n}(t,e),r.addEventListener("load",a),r.addEventListener("error",(function(){try{throw new n(23,[])}catch(t){o(t)}})))}catch(t){return o(t)}function a(){try{if(null==t.Grammarly||"function"!=typeof t.Grammarly.EditorSDK)throw new n(22,[]);r(t.Grammarly)}catch(t){o(t)}}}));return r.set(t,a),await a}async function a(t,e,r,a){if("undefined"==typeof window&&void 0===a)throw new n(21,[]);const s=function(t){return"null"!==t.location.origin?t.location.origin:"null"!==t.origin?t.origin:"null"}(null!=a?a:window);"null"===s&&(null!=a?a:window).top!==(null!=a?a:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element.");const i=new URL("https://js.grammarly.com/grammarly-editor-sdk@2.3",s);null!=e&&i.searchParams.set("clientId",e),i.searchParams.set("packageName",t);const c=await o(null!=a?a:window,i.toString());if(null!=e)return new c.EditorSDK(e,r)}exports.callbackToEventName={onBeforeSuggestionCardOpen:"before-suggestion-card-open",onSuggestionCardOpen:"suggestion-card-open",onSuggestionCardClose:"suggestion-card-close",onSuggestionCardAction:"suggestion-card-action",onPluginTurnedOff:"plugin-turned-off",onPluginError:"plugin-error",onDocumentStats:"document-stats",onSessionStats:"session-stats"},exports.init=async function(t,e,n){return await a("@grammarly/editor-sdk",t,e,n)},exports.init_with_packageName=a;
"use strict";function t(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var n=new Map;class e extends Error{constructor(n,e){super(),t(this,"args",void 0),t(this,"code",void 0),t(this,"url",void 0),t(this,"_c",void 0);var r=new URL("https://developer.grammarly.com/docs/error-explainer");r.searchParams.set("code",n.toString()),e.forEach((t=>r.searchParams.append("args",function(t){if(t instanceof Error)return t.message+"\n"+String(t.stack);if(null==t)return"null";if("object"==typeof t)try{return Object.prototype.toString.call(t)}catch(t){}return String(t)}(t)))),this.message="Minified error #".concat(n,": See ").concat(r.toString()," for details."),this.args=e,this.code=n,this.url=r.toString()}toUserMessage(){var t=n.get("".concat(this.code));return null==t?[null==this._n?this:this.message]:function(t,n){var e=new Map(n.map(((t,n)=>["${".concat(n,"}"),t])));return t.split(/(\${\d+})/).filter((t=>""!==t)).map((t=>{var n;return null!==(n=e.get(t))&&void 0!==n?n:t}))}(t,this.args)}toJSON(){return{name:"InvariantError",message:this.message,description:this._n,code:this.code,args:this.args,stack:this.stack}}static setMessages(t){n=t}static create(t,n,r,o){null!=o&&n.push(o);var a=new e(t,n,r);return a.stack=null==o?void 0:o.stack,a._n=r,a}}const r=new WeakMap;async function o(t,n){const o=r.get(t);if(null!=o)return await o;!function(t){null==t.Grammarly&&(t.Grammarly={})}(t);const a=new Promise(((r,o)=>{try{let r=function(t,n){return t.document.querySelectorAll(`script[src^="${n.replace(/\?.*$/,"")}"]`)[0]}(t,n);null!=r?a():(r=function(t,n){const e=t.document.createElement("script");return e.src=n,t.document.head.appendChild(e),e}(t,n),r.addEventListener("load",a),r.addEventListener("error",(function(){try{throw new e(23,[])}catch(t){o(t)}})))}catch(t){return o(t)}function a(){try{if(null==t.Grammarly||"function"!=typeof t.Grammarly.EditorSDK)throw new e(22,[]);r(t.Grammarly)}catch(t){o(t)}}}));return r.set(t,a),await a}async function a(t,n,r,a){if("undefined"==typeof window&&void 0===a)throw new e(21,[]);const i=function(t){return"null"!==t.location.origin?t.location.origin:"null"!==t.origin?t.origin:"null"}(null!=a?a:window);"null"===i&&(null!=a?a:window).top!==(null!=a?a:window)&&console.warn("Grammarly is not supported in IFrames with `null` origin. Consider adding `sandbox='allow-same-origin allow-scripts'` to <iframe> element.");const s=new URL("https://js.grammarly.com/grammarly-editor-sdk@3.0.0-alpha.0",i);null!=n&&s.searchParams.set("clientId",n),s.searchParams.set("packageName",t);const c=await o(null!=a?a:window,s.toString());if(null!=n)return new c.EditorSDK(n,r)}exports.callbackToEventName={onBeforeSuggestionCardOpen:"before-suggestion-card-open",onSuggestionCardOpen:"suggestion-card-open",onSuggestionCardClose:"suggestion-card-close",onSuggestionCardAction:"suggestion-card-action",onPluginTurnedOff:"plugin-turned-off",onPluginError:"plugin-error",onDocumentStats:"document-stats",onSessionStats:"session-stats"},exports.init=async function(t,n,e){return await a("@grammarly/editor-sdk",t,n,e)},exports.init_with_packageName=a;

@@ -22,3 +22,3 @@ {

],
"version": "2.3.16",
"version": "3.0.0-alpha.0",
"main": "./lib/index.js",

@@ -47,6 +47,6 @@ "module": "./lib/index.esm.js",

"devDependencies": {
"@grammarly/plugin-core": "2.3.16",
"@grammarly/plugin-editor": "2.3.16",
"@grammarly/plugin-invariant": "2.3.16",
"@grammarly/plugin-reactivity": "2.3.16",
"@grammarly/plugin-core": "3.0.0-alpha.0",
"@grammarly/plugin-editor": "3.0.0-alpha.0",
"@grammarly/plugin-invariant": "3.0.0-alpha.0",
"@grammarly/plugin-reactivity": "3.0.0-alpha.0",
"@microsoft/api-extractor": "^7.28.7",

@@ -53,0 +53,0 @@ "@testing-library/jest-dom": "^5.11.10",

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