New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

digirati-annotation-redux

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

digirati-annotation-redux - npm Package Compare versions

Comparing version 0.2.15-alpha.8b4c1dcd to 0.2.15-alpha.9471dbb9

23

es/lib/elucidate/index.js

@@ -141,13 +141,2 @@ import _regeneratorRuntime from 'babel-runtime/regenerator';

AnnotationSelector.parse = function parse(text) {
if (!text) {
return null;
}
if (text.id) {
return new AnnotationSelector(text.id, text.format, text.language, text.processingLanguage, text.textDirection);
}
// @todo check for is text or is object and construct accordingly.
return new AnnotationSelector(text);
};
function AnnotationSelector(id, format, language, processingLanguage, textDirection) {

@@ -171,2 +160,14 @@ _classCallCheck(this, AnnotationSelector);

AnnotationSelector.parse = function parse(text) {
if (!text) {
return null;
}
if (text.id) {
return new AnnotationSelector(text.id, text.format, text.language, text.processingLanguage, text.textDirection);
}
// @todo check for is text or is object and construct accordingly.
return new AnnotationSelector(text);
};
AnnotationSelector.parseTarget = function parseTarget(source) {

@@ -173,0 +174,0 @@ var scale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;

@@ -271,13 +271,2 @@ 'use strict';

AnnotationSelector.parse = function parse(text) {
if (!text) {
return null;
}
if (text.id) {
return new AnnotationSelector(text.id, text.format, text.language, text.processingLanguage, text.textDirection);
}
// @todo check for is text or is object and construct accordingly.
return new AnnotationSelector(text);
};
function AnnotationSelector(id, format, language, processingLanguage, textDirection) {

@@ -301,2 +290,14 @@ (0, _classCallCheck3.default)(this, AnnotationSelector);

AnnotationSelector.parse = function parse(text) {
if (!text) {
return null;
}
if (text.id) {
return new AnnotationSelector(text.id, text.format, text.language, text.processingLanguage, text.textDirection);
}
// @todo check for is text or is object and construct accordingly.
return new AnnotationSelector(text);
};
AnnotationSelector.parseTarget = function parseTarget(source) {

@@ -303,0 +304,0 @@ var scale = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;

{
"name": "digirati-annotation-redux",
"version": "0.2.15-alpha.8b4c1dcd",
"version": "0.2.15-alpha.9471dbb9",
"description": "Describe annotation-redux here",

@@ -5,0 +5,0 @@ "main": "es/index.js",

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