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-next.6974f205 to 1.0.0-next.6a72c396

4

es/actions/manifest.js

@@ -12,5 +12,3 @@ export var MANIFEST_ADD = 'MANIFEST_ADD';

dispatch({ type: MANIFEST_REQUEST, payload: { url: url } });
return fetch(url, {
cache: process.env.NODE_ENV === 'production' ? 'default' : 'force-cache'
}).then(function (response) {
return fetch(url).then(function (response) {
return response.json();

@@ -17,0 +15,0 @@ }).then(function (body) {

@@ -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) {

@@ -20,5 +20,3 @@ 'use strict';

dispatch({ type: MANIFEST_REQUEST, payload: { url: url } });
return fetch(url, {
cache: process.env.NODE_ENV === 'production' ? 'default' : 'force-cache'
}).then(function (response) {
return fetch(url).then(function (response) {
return response.json();

@@ -25,0 +23,0 @@ }).then(function (body) {

@@ -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-next.6974f205",
"version": "1.0.0-next.6a72c396",
"description": "Describe annotation-redux here",

@@ -38,3 +38,3 @@ "main": "lib/index.js",

"devDependencies": {
"@fesk/test-environment": "1.0.0-next.6974f205",
"@fesk/test-environment": "1.0.0-next.6a72c396",
"babel-jest": "^20.0.3",

@@ -47,5 +47,5 @@ "babel-plugin-transform-async-to-generator": "^6.24.1",

"fetch-mock": "^6.5.1",
"jest": "^20.0.0",
"jest": "^23.6.0",
"nwb": "^0.21.5",
"nwb-watch": "1.0.0-next.6974f205",
"nwb-watch": "1.0.0-next.6a72c396",
"react-intl": "^2.2.2",

@@ -52,0 +52,0 @@ "react-intl-redux": "^0.7.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