gl-w-attachment-frontend
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -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'; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36631
12
507