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

gl-w-attachment-frontend

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gl-w-attachment-frontend - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0

2

lib/core-services-attachment.interface.d.ts

@@ -9,3 +9,3 @@ export interface IAttachmentData {

icon?: string;
type?: string | 'image' | 'video';
type?: 'image' | 'video' | string;
}

@@ -12,0 +12,0 @@ export interface IAttachmentFileInfo {

@@ -368,3 +368,3 @@ class Convert {

extension(fileName) {
return fileName.substr(fileName.lastIndexOf('.') + 1).toLowerCase();
return fileName.substring(fileName.lastIndexOf('.') + 1).toLowerCase();
}

@@ -411,3 +411,3 @@ }

const idxDot = fileName.lastIndexOf('.') + 1;
const extFile = fileName.substr(idxDot, fileName.length).toLowerCase();
const extFile = fileName.substring(idxDot, fileName.length).toLowerCase();
if (accepts.length === 1 && accepts[0] === '*') {

@@ -414,0 +414,0 @@ return true;

{
"name": "gl-w-attachment-frontend",
"version": "6.0.1",
"version": "6.1.0",
"description": "Common code for using among web front-end development such as ES6+ and TypeScript",

@@ -35,21 +35,11 @@ "main": "lib/index.js",

"homepage": "https://www.glauciosantana.com",
"dependencies": {
},
"dependencies": {},
"peerDependencies": {
"typescript": "^5.3.3"
"typescript": "^5.4.5"
},
"devDependencies": {
"@angular-eslint/eslint-plugin": "^17.4.0",
"@angular-eslint/eslint-plugin-template": "^17.4.0",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-prefer-arrow": "^1.2.3",
"shx": "^0.3.4",
"typescript": "^5.3.3"
"typescript": "^5.4.5"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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