Huge News!Announcing our $40M Series B led by Abstract Ventures.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 4.0.0 to 5.0.0

0

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

@@ -0,0 +0,0 @@ export interface IAttachmentData {

export {};
//# sourceMappingURL=core-services-attachment.interface.js.map

@@ -0,0 +0,0 @@ import { IAttachmentData, IAttachmentFileInfo } from './core-services-attachment.interface';

20

lib/core-services-attachment.service.js

@@ -396,13 +396,11 @@ class Convert {

class Validate {
constructor() {
this.maxSize = (input) => {
const fileName = input.attributes['data-maxsize'].nodeValue;
if (fileName) {
return parseInt(fileName, 10);
}
else {
return 1024 * 45;
}
};
}
maxSize = (input) => {
const fileName = input.attributes['data-maxsize'].nodeValue;
if (fileName) {
return parseInt(fileName, 10);
}
else {
return 1024 * 45;
}
};
file(input, accepts) {

@@ -409,0 +407,0 @@ return this.fileArray(input.value, accepts);

export { IAttachmentFileInfo, IAttachmentData } from './core-services-attachment.interface';
export { AttachmentIcon, AttachmentConvert, AttachmentParser, AttachmentValidate, AttachmentClean } from './core-services-attachment.service';
export { AttachmentIcon, AttachmentConvert, AttachmentParser, AttachmentValidate, AttachmentClean } from './core-services-attachment.service';
//# sourceMappingURL=index.js.map
{
"name": "gl-w-attachment-frontend",
"version": "4.0.0",
"version": "5.0.0",
"description": "Common code for using among web front-end development such as ES6+ and TypeScript",

@@ -37,2 +37,16 @@ "main": "lib/index.js",

},
"peerDependencies": {
"@angular-eslint/eslint-plugin": "^17.3.0",
"@angular-eslint/eslint-plugin-template": "^17.3.0",
"@types/node": "^18.10.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.1.6"
},
"devDependencies": {

@@ -50,4 +64,4 @@ "@angular-eslint/eslint-plugin": "^17.3.0",

"shx": "^0.3.4",
"typescript": "^4.9.5"
"typescript": "^5.1.6"
}
}

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