Socket
Socket
Sign inDemoInstall

@shelf/aws-lambda-libreoffice

Package Overview
Dependencies
52
Maintainers
56
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.0.1

6

lib/validations.js

@@ -8,4 +8,2 @@ "use strict";

var _isAudioFilepath = _interopRequireDefault(require("@shelf/is-audio-filepath"));
var _isVideo = _interopRequireDefault(require("is-video"));

@@ -15,5 +13,7 @@

var _isAudioFilepath = _interopRequireDefault(require("@shelf/is-audio-filepath"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const UNSUPPORTED_FILE_EXTENSIONS = ['.chm', '.heic', '.gdoc', '.gsheet', '.gslides', '.zip'];
const UNSUPPORTED_FILE_EXTENSIONS = ['.chm', '.heic', '.gdoc', '.gsheet', '.gslides', '.zip', '.dwg'];

@@ -20,0 +20,0 @@ function canBeConvertedToPDF(filename) {

{
"name": "@shelf/aws-lambda-libreoffice",
"version": "5.0.0",
"version": "5.0.1",
"description": "Utility to work with Docker version of LibreOffice in Lambda",

@@ -60,16 +60,16 @@ "keywords": [

"devDependencies": {
"@babel/cli": "7.18.10",
"@babel/core": "7.18.13",
"@babel/cli": "7.20.7",
"@babel/core": "7.20.7",
"@shelf/babel-config": "1.2.0",
"@shelf/eslint-config": "2.22.0",
"@shelf/eslint-config": "2.26.0",
"@shelf/prettier-config": "1.0.0",
"@types/jest": "28.1.8",
"@types/jest": "29.2.4",
"@types/node": "16",
"babel-jest": "28.1.3",
"eslint": "8.23.0",
"husky": "8.0.1",
"jest": "28.1.3",
"lint-staged": "13.0.3",
"prettier": "2.7.1",
"typescript": "4.8.2"
"babel-jest": "29.3.1",
"eslint": "8.30.0",
"husky": "8.0.2",
"jest": "29.3.1",
"lint-staged": "13.1.0",
"prettier": "2.8.1",
"typescript": "4.9.4"
},

@@ -76,0 +76,0 @@ "engines": {

@@ -118,4 +118,14 @@ # aws-lambda-libreoffice ![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)

Beside unit tests that could be run via `yarn test`, there are integration tests.
Smoke test that it works: `./test/test.sh`.
Smoke test that it works:
```sh
cd test
./test.sh
# copy converted PDF file from container to the host to see if it's ok
export CID=$(cat ./cid)
docker cp $CID:/tmp/test.pdf ./test.pdf
```
## Publish

@@ -122,0 +132,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc