acrolinx-sidebar-sdk
Advanced tools
Comparing version 0.4.24 to 0.4.25
@@ -1,2 +0,2 @@ | ||
import { CheckInformationKeyValuePair, CheckResult, InitParameters, InitResult, SidebarConfiguration } from './acrolinx-libs/plugin-interfaces'; | ||
import { AcrolinxStorage, CheckInformationKeyValuePair, CheckResult, InitParameters, InitResult, SidebarConfiguration } from './acrolinx-libs/plugin-interfaces'; | ||
import { AdapterInterface } from "./adapters/AdapterInterface"; | ||
@@ -6,8 +6,2 @@ import { MultiEditorAdapterConfig } from "./adapters/MultiEditorAdapter"; | ||
import { FloatingSidebar } from "./floating-sidebar/floating-sidebar"; | ||
export interface AcrolinxSimpleStorage { | ||
getItem(key: string): string | null; | ||
removeItem(key: string): void; | ||
setItem(key: string, data: string): void; | ||
clear(): void; | ||
} | ||
export interface AcrolinxPluginConfig extends InitParameters { | ||
@@ -22,3 +16,3 @@ sidebarContainerId: string; | ||
getDocumentReference?: () => string; | ||
acrolinxStorage?: AcrolinxSimpleStorage; | ||
acrolinxStorage?: AcrolinxStorage; | ||
/** | ||
@@ -25,0 +19,0 @@ * This optional function will be called after a successful check, |
{ | ||
"name": "acrolinx-sidebar-sdk", | ||
"description": "Acrolinx Sidebar SDK for JavaScript", | ||
"version": "0.4.24", | ||
"version": "0.4.25", | ||
"license": "Apache-2.0", | ||
"author": "Acrolinx", | ||
"url": "http://www.acrolinx.com", | ||
"repository": "https://github.com/acrolinx/sidebar-sdk-js", | ||
"private": false, | ||
@@ -17,9 +18,12 @@ "files": [ | ||
}, | ||
"// dependencies comments": { | ||
"ckeditor": "Newer version (4.9.0) caused compile errors" | ||
}, | ||
"dependencies": { | ||
"@types/ckeditor": "2.0.0", | ||
"@types/codemirror": "0.0.58", | ||
"@types/codemirror": "0.0.60", | ||
"@types/diff-match-patch": "^1.0.31", | ||
"@types/tinymce": "^4.5.16", | ||
"acrolinx-sidebar-startpage": "^2.0.1", | ||
"diff-match-patch": "1.0.1", | ||
"diff-match-patch": "1.0.3", | ||
"es6-promise": "^4.0.5", | ||
@@ -32,4 +36,4 @@ "lodash": "^4.17.10", | ||
"@types/es6-promise": "3.3.0", | ||
"@types/jquery": "^3.3.5", | ||
"@types/lodash": "4.14.115", | ||
"@types/jquery": "^3.3.6", | ||
"@types/lodash": "4.14.116", | ||
"@types/mocha": "5.2.5", | ||
@@ -40,3 +44,3 @@ "browserify": "^16.1.1", | ||
"ckeditor": "4.10.0", | ||
"codemirror": "^5.32.0", | ||
"codemirror": "^5.40.0", | ||
"dts-bundle": "^0.7.3", | ||
@@ -46,3 +50,3 @@ "istanbul": "^0.4.5", | ||
"jsverify": "^0.8.3", | ||
"karma": "^2.0.5", | ||
"karma": "^3.0.0", | ||
"karma-browserify": "^5.1.1", | ||
@@ -58,14 +62,14 @@ "karma-browserstack-launcher": "^1.3.0", | ||
"phantomjs-prebuilt": "2.1.16", | ||
"tinymce": "^4.2.8", | ||
"ts-loader": "^4.4.2", | ||
"tinymce": "^4.8.2", | ||
"ts-loader": "^4.5.0", | ||
"tslint": "5.11.0", | ||
"typedoc": "0.11.1", | ||
"typescript": "3.0.1", | ||
"uglify-js": "^3.3.14", | ||
"webpack": "^4.16.3", | ||
"typedoc": "0.12.0", | ||
"typescript": "3.0.3", | ||
"uglify-js": "^3.4.9", | ||
"webpack": "^4.17.1", | ||
"webpack-cli": "^3.1.0", | ||
"webpack-dev-server": "^3.1.5" | ||
"webpack-dev-server": "^3.1.7" | ||
}, | ||
"scripts": { | ||
"buildDoc": "typedoc --out ./docs/pluginDoc/ src/", | ||
"buildDoc": "typedoc --media media --out ./docs/pluginDoc/ src/", | ||
"buildLocal": "npm run tsc && npm run tslint && npm run webpack && npm run test && npm run dist", | ||
@@ -72,0 +76,0 @@ "jenkins": "npm run tsc && npm run tslint && npm run webpack && npm run test && npm run testKarmaBsJenkins && npm run dist", |
@@ -97,3 +97,3 @@ # Acrolinx Sidebar SDK JS | ||
![Initializing plug-in and sidebar](docs/initSidebarPlugin.png) | ||
![Initializing plug-in and sidebar](media/init-sidebar-plugin.png) | ||
@@ -110,3 +110,3 @@ You'll find the API Documentation [here](https://acrolinx.github.io/sidebar-sdk-js/pluginDoc/modules/_acrolinx_libs_plugin_interfaces_.html). | ||
![Checking with plug-in and sidebar](docs/checking.png) | ||
![Checking with plug-in and sidebar](media/checking.png) | ||
@@ -113,0 +113,0 @@ ### Other actions |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
2421290
5454
+ Added@types/codemirror@0.0.60(transitive)
+ Addeddiff-match-patch@1.0.3(transitive)
- Removed@types/codemirror@0.0.58(transitive)
- Removeddiff-match-patch@1.0.1(transitive)
Updated@types/codemirror@0.0.60
Updateddiff-match-patch@1.0.3