Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@annotation-studio/redux

Package Overview
Dependencies
Maintainers
1
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@annotation-studio/redux - npm Package Compare versions

Comparing version 1.0.0-rc.21 to 1.0.0-rc.22

17

es/lib/annotation/mapping.js

@@ -200,3 +200,6 @@ import _extends from 'babel-runtime/helpers/extends';

var captureModelField = captureModel.fields[field.id];
var captureModelField = Object.values(captureModel.fields).find(function (_ref2) {
var id = _ref2.id;
return id === field.id;
});
if (!(captureModelField && (captureModelField.metaData || captureModelField.omekaMeta))) {

@@ -288,8 +291,8 @@ console.warn('createMultipleAnnotations', 'Looks like you have set derivedAnnoCombine to "False" without selectors on the fields, are you sure this is correct?', captureModelField);

export function createAnnotationFromCaptureModelAndDraft(_ref2) {
var target = _ref2.target,
captureModel = _ref2.captureModel,
draft = _ref2.draft,
customDraftSelector = _ref2.customDraftSelector,
partOf = _ref2.partOf;
export function createAnnotationFromCaptureModelAndDraft(_ref3) {
var target = _ref3.target,
captureModel = _ref3.captureModel,
draft = _ref3.draft,
customDraftSelector = _ref3.customDraftSelector,
partOf = _ref3.partOf;

@@ -296,0 +299,0 @@ var bodies = [];

@@ -111,3 +111,2 @@ import _asyncIterator from 'babel-runtime/helpers/asyncIterator';

credentials: withoutCredentials ? 'omit' : process.env.NODE_ENV === 'production' ? 'include' : 'omit',
cache: process.env.NODE_ENV === 'production' ? 'default' : 'force-cache',
redirect: 'follow'

@@ -114,0 +113,0 @@ }).then(function (response) {

@@ -238,3 +238,6 @@ 'use strict';

var captureModelField = captureModel.fields[field.id];
var captureModelField = Object.values(captureModel.fields).find(function (_ref2) {
var id = _ref2.id;
return id === field.id;
});
if (!(captureModelField && (captureModelField.metaData || captureModelField.omekaMeta))) {

@@ -326,8 +329,8 @@ console.warn('createMultipleAnnotations', 'Looks like you have set derivedAnnoCombine to "False" without selectors on the fields, are you sure this is correct?', captureModelField);

function createAnnotationFromCaptureModelAndDraft(_ref2) {
var target = _ref2.target,
captureModel = _ref2.captureModel,
draft = _ref2.draft,
customDraftSelector = _ref2.customDraftSelector,
partOf = _ref2.partOf;
function createAnnotationFromCaptureModelAndDraft(_ref3) {
var target = _ref3.target,
captureModel = _ref3.captureModel,
draft = _ref3.draft,
customDraftSelector = _ref3.customDraftSelector,
partOf = _ref3.partOf;

@@ -334,0 +337,0 @@ var bodies = [];

@@ -252,3 +252,2 @@ 'use strict';

credentials: withoutCredentials ? 'omit' : process.env.NODE_ENV === 'production' ? 'include' : 'omit',
cache: process.env.NODE_ENV === 'production' ? 'default' : 'force-cache',
redirect: 'follow'

@@ -255,0 +254,0 @@ }).then(function (response) {

{
"name": "@annotation-studio/redux",
"version": "1.0.0-rc.21",
"version": "1.0.0-rc.22",
"description": "Describe annotation-redux here",

@@ -5,0 +5,0 @@ "main": "lib/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