Huge News!Announcing our $40M Series B led by Abstract Ventures.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 1.1.0 to 1.2.0

src/editor/widgets/Autocomplete.jsx

34

package.json
{
"name": "@recogito/recogito-client-core",
"version": "1.1.0",
"version": "1.2.0",
"description": "Core functions, classes and components for RecogitoJS",
"sideEffects": false,
"main": "src/index.js",
"scripts": {
"test": "./node_modules/.bin/mocha --require @babel/register",
"build": "webpack --mode=production"
"test": "NODE_ENV=test ./node_modules/.bin/mocha --require @babel/register"
},

@@ -28,30 +28,16 @@ "repository": {

"@babel/preset-env": "^7.6.2",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.9.0",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"css-loader": "^5.2.4",
"mocha": "^7.1.1",
"node-forge": ">=0.10.0",
"node-sass": "^4.14.1",
"sass-loader": "^8.0.0",
"serialize-javascript": "^3.1.0",
"style-loader": "^1.0.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",
"webpack-dev-server": "^3.11.0",
"websocket-extensions": ">=0.1.4"
"mocha": "^7.1.1"
},
"dependencies": {
"downshift": "^5.4.6",
"downshift": "^6.1.3",
"fast-deep-equal": "^3.1.3",
"node-polyglot": "^2.4.0",
"preact": "^10.4.1",
"preact": "^10.5.13",
"react-autosize-textarea": "^7.1.0",
"react-select": "^3.1.1",
"react-transition-group": "^4.3.0",
"timeago-react": "^3.0.1",
"tiny-emitter": "^2.1.0",
"uuid": "^8.3.0"
"react-select": "^4.3.1",
"react-transition-group": "^4.4.2",
"timeago-react": "^3.0.2",
"uuid": "^8.3.2"
}
}

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

import * as Polyglot from 'node-polyglot';
import Polyglot from 'node-polyglot';
import * as timeago from 'timeago.js';

@@ -3,0 +3,0 @@

@@ -8,2 +8,2 @@ export { default as Editor } from './editor/Editor';

export * from './Icons';
export * from './utils';
export * from './utils';
import WebAnnotation from './WebAnnotation';
import { v4 as uuid } from 'uuid';
import * as equals from 'fast-deep-equal';
import equals from 'fast-deep-equal';

@@ -5,0 +5,0 @@ /**

import { v4 as uuid } from 'uuid';
import * as equals from 'fast-deep-equal';
import equals from 'fast-deep-equal';

@@ -4,0 +4,0 @@ export default class WebAnnotation {

@@ -30,2 +30,3 @@ import assert from 'assert';

describe("#isEqual()", function() {
it("should return true if the other is the same object", () => {

@@ -36,2 +37,3 @@ const a = new WebAnnotation(fixtureAnnotation);

});
it("should return false if either annotation has no ID set", () => {

@@ -46,25 +48,4 @@ const a = new WebAnnotation({

});
it("should return true iff annotation IDs do match", () => {
const a = new WebAnnotation({
...fixtureAnnotation,
id: "https://www.example.com/anno1"
});
const b = new WebAnnotation({
...fixtureAnnotation,
id: "https://www.example.com/anno2"
});
const c = new WebAnnotation({
...fixtureAnnotation,
id: "https://www.example.com/anno1",
body: [
{
type: "TextualBody",
value: "foobar"
}
]
});
assert.strictEqual(a.isEqual(b), false);
assert.strictEqual(a.isEqual(c), true);
});
});
});

Sorry, the diff of this file is not supported yet

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