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

@recogito/recogito-client-core

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@recogito/recogito-client-core - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "@recogito/recogito-client-core",
"version": "0.3.0",
"version": "0.3.1",
"description": "Core functions, classes and components for RecogitoJS",

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

@@ -54,3 +54,4 @@ import WebAnnotation from '../WebAnnotation';

get bodies() {
return this.underlying.body;
return (Array.isArray(this.underlying.body)) ?
this.underlying.body : [ this.underlying.body ];
}

@@ -57,0 +58,0 @@

@@ -24,4 +24,4 @@ import { v4 as uuid } from 'uuid';

/** Creates a copy of this annotation **/
clone = opt_props => {
return new WebAnnotation({ ...this.underlying, ...opt_props}, this.opts);
clone = (opt_props, opt_opts) => {
return new WebAnnotation({ ...this.underlying, ...opt_props}, { ...this.opts, ...opt_opts });
}

@@ -28,0 +28,0 @@

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