aws-lambda-libreoffice
Advanced tools
Comparing version 0.1.3 to 0.1.4
{ | ||
"name": "aws-lambda-libreoffice", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "85 MB LibreOffice to fit inside AWS Lambda compressed with Brotli", | ||
@@ -25,2 +25,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"del": "^3.0.0", | ||
"tar-fs": "^1.16.2" | ||
@@ -27,0 +28,0 @@ }, |
const fs = require('fs'); | ||
const path = require('path'); | ||
const tar = require('tar-fs'); | ||
const del = require('del'); | ||
const defaultArgs = require('./args'); | ||
@@ -17,3 +18,5 @@ | ||
if (file.endsWith('.tmp') === true || file.startsWith('OSL_PIPE')) { | ||
fs.unlinkSync(`/tmp/${file}`); | ||
try { | ||
del.sync([`/tmp/${file}`, `/tmp/${file}/*`], {force: true}); | ||
} catch (error) {} | ||
} | ||
@@ -20,0 +23,0 @@ } |
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
86197018
261
3
+ Addeddel@^3.0.0
+ Addedarray-union@1.0.2(transitive)
+ Addedarray-uniq@1.0.3(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@1.1.11(transitive)
+ Addedconcat-map@0.0.1(transitive)
+ Addeddel@3.0.0(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedglobby@6.1.0(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedis-path-cwd@1.0.0(transitive)
+ Addedis-path-in-cwd@1.0.1(transitive)
+ Addedis-path-inside@1.0.1(transitive)
+ Addedminimatch@3.1.2(transitive)
+ Addedp-map@1.2.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedpath-is-inside@1.0.2(transitive)
+ Addedpify@2.3.03.0.0(transitive)
+ Addedpinkie@2.0.4(transitive)
+ Addedpinkie-promise@2.0.1(transitive)
+ Addedrimraf@2.7.1(transitive)