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

@github/file-attachment-element

Package Overview
Dependencies
Maintainers
14
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/file-attachment-element - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

3

dist/file-attachment-element.d.ts
import Attachment from './attachment';
declare class FileAttachmentElement extends HTMLElement {
export default class FileAttachmentElement extends HTMLElement {
constructor();

@@ -8,2 +8,1 @@ get directory(): boolean;

}
export default FileAttachmentElement;
import Attachment from './attachment';
class FileAttachmentElement extends HTMLElement {
export default class FileAttachmentElement extends HTMLElement {
constructor() {

@@ -40,7 +40,2 @@ super();

}
export default FileAttachmentElement;
if (!window.customElements.get('file-attachment')) {
window.FileAttachmentElement = FileAttachmentElement;
window.customElements.define('file-attachment', FileAttachmentElement);
}
function hasFile(transfer) {

@@ -47,0 +42,0 @@ return Array.from(transfer.types).indexOf('Files') >= 0;

@@ -159,6 +159,2 @@ class Attachment {

}
if (!window.customElements.get('file-attachment')) {
window.FileAttachmentElement = FileAttachmentElement;
window.customElements.define('file-attachment', FileAttachmentElement);
}
function hasFile(transfer) {

@@ -165,0 +161,0 @@ return Array.from(transfer.types).indexOf('Files') >= 0;

@@ -165,6 +165,2 @@ (function (global, factory) {

}
if (!window.customElements.get('file-attachment')) {
window.FileAttachmentElement = FileAttachmentElement;
window.customElements.define('file-attachment', FileAttachmentElement);
}
function hasFile(transfer) {

@@ -171,0 +167,0 @@ return Array.from(transfer.types).indexOf('Files') >= 0;

{
"name": "@github/file-attachment-element",
"version": "1.0.0",
"version": "1.0.1",
"description": "Attach files via drag and drop or file input.",

@@ -5,0 +5,0 @@ "main": "dist/index.umd.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