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 1.2.2 to 1.2.3

3

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

@@ -34,3 +34,2 @@ "main": "src/index.js",

"node-polyglot": "^2.4.0",
"preact": "^10.5.13",
"react-autosize-textarea": "^7.1.0",

@@ -37,0 +36,0 @@ "react-select": "^4.3.1",

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

import React from 'preact/compat';
import { useState, useRef, useEffect } from 'preact/hooks';
import React, { useState, useRef, useEffect } from 'react';
import { getWidget, DEFAULT_WIDGETS } from './widgets';

@@ -4,0 +3,0 @@ import { TrashIcon } from '../Icons';

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

import { useEffect } from 'preact/hooks';
import { useEffect } from 'react';

@@ -3,0 +3,0 @@ export default function useClickOutside(ref, callback) {

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

import React from 'preact/compat';
import { useState } from 'preact/hooks';
import React, { useState } from 'react';
import TimeAgo from 'timeago-react';

@@ -4,0 +3,0 @@ import DropdownMenu from './DropdownMenu';

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

import React from 'preact/compat';
import React from 'react';
import Comment from './Comment';

@@ -3,0 +3,0 @@ import TextEntryField from './TextEntryField';

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

import React from 'preact/compat';
import { useRef } from 'preact/hooks';
import React, { useRef } from 'react';
import useClickOutside from '../../useClickOutside';

@@ -4,0 +3,0 @@ import i18n from '../../../i18n';

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

import React from 'preact/compat';
import React from 'react';
import Select from 'react-select';

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

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

import React, { Component } from 'preact/compat';
import React, { Component } from 'react';
import TextareaAutosize from 'react-autosize-textarea';

@@ -3,0 +3,0 @@ import i18n from '../../../i18n';

import React from 'react';
import ReactDOM from 'react-dom';
import CommentWidget from './comment/CommentWidget'

@@ -7,3 +8,3 @@ import TagWidget from './tag/TagWidget';

/**
* We'll add React to the global window, so that
* We'll add React and ReactDOM to the global window, so that
* plugins can use it without re-bundling. Also,

@@ -13,2 +14,3 @@ * without this, hooks won't work!

window.React = React;
window.ReactDOM = ReactDOM;

@@ -15,0 +17,0 @@ /** Standard widgets included by default **/

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

import React from 'preact/compat';
import { useState } from 'preact/hooks';
import React, { useState } from 'react';
import { CSSTransition } from 'react-transition-group';

@@ -4,0 +3,0 @@ import { CloseIcon } from '../../../Icons';

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

import React, { Component } from 'preact/compat';
import React, { Component } from 'react';

@@ -3,0 +3,0 @@ export default class WrappedWidget extends Component {

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

import React from 'preact/compat';
import React from 'react';

@@ -3,0 +3,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