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

@uploadcare/blocks

Package Overview
Dependencies
Maintainers
3
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uploadcare/blocks - npm Package Compare versions

Comparing version 0.22.10 to 0.22.11

3

blocks/FileItem/FileItem.js

@@ -217,2 +217,4 @@ import { UploaderBlock } from '../../abstract/UploaderBlock.js';

const allowedFileTypes = mergeFileTypes([...(imagesOnly ? IMAGE_ACCEPT_LIST : []), accept]);
if (!allowedFileTypes.length) return;
const mimeType = entry.getValue('mimeType');

@@ -225,2 +227,3 @@ const fileName = entry.getValue('fileName');

const extOk = needExtCheck ? matchExtension(fileName, allowedFileTypes) : true;
if (!mimeOk && !extOk) {

@@ -227,0 +230,0 @@ // Assume file type is not allowed if both mime and ext checks fail

2

env.d.ts
/** Do not edit this file manually. It's generated during build process. */
export const PACKAGE_NAME: "blocks";
export const PACKAGE_VERSION: "0.22.10";
export const PACKAGE_VERSION: "0.22.11";
//# sourceMappingURL=env.d.ts.map
/** Do not edit this file manually. It's generated during build process. */
export const PACKAGE_NAME = 'blocks';
export const PACKAGE_VERSION = '0.22.10';
export const PACKAGE_VERSION = '0.22.11';

@@ -529,3 +529,3 @@ export const ActivityBlock: {

export const PACKAGE_NAME: "blocks";
export const PACKAGE_VERSION: "0.22.10";
export const PACKAGE_VERSION: "0.22.11";
export const PresenceToggle: {

@@ -532,0 +532,0 @@ new (): {};

@@ -794,3 +794,3 @@ export const ActivityBlock = class {

export const PACKAGE_NAME = `blocks`;
export const PACKAGE_VERSION = `0.22.10`;
export const PACKAGE_VERSION = `0.22.11`;
export const PresenceToggle = class {

@@ -797,0 +797,0 @@ static template = ` <slot></slot> `;

{
"name": "@uploadcare/blocks",
"version": "0.22.10",
"version": "0.22.11",
"description": "Building blocks for Uploadcare products integration",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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