@a_kawashiro/jendeley
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -21,2 +21,3 @@ "use strict"; | ||
const fs_1 = __importDefault(require("fs")); | ||
const open_1 = __importDefault(require("open")); | ||
const express_1 = __importDefault(require("express")); | ||
@@ -283,4 +284,9 @@ const body_parser_1 = __importDefault(require("body-parser")); | ||
".pdf"); | ||
logger_1.logger.info("Rename " + old_filename + " to " + new_filename); | ||
fs_1.default.renameSync(old_filename, new_filename); | ||
if (!fs_1.default.existsSync(old_filename)) { | ||
logger_1.logger.info("Rename " + old_filename + " to " + new_filename); | ||
fs_1.default.renameSync(old_filename, new_filename); | ||
} | ||
else { | ||
logger_1.logger.warn("Failed to rename " + old_filename + " to " + new_filename); | ||
} | ||
delete json[entry.id]; | ||
@@ -305,2 +311,3 @@ } | ||
logger_1.logger.info(`Open http://localhost:${port} with your browser`); | ||
(0, open_1.default)(`http://localhost:${port}`); | ||
}); | ||
@@ -307,0 +314,0 @@ } |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "", | ||
@@ -26,5 +26,10 @@ "main": "index.js", | ||
}, | ||
"keywords": ["JSON", "paper", "PDF", "React"], | ||
"keywords": [ | ||
"JSON", | ||
"paper", | ||
"PDF", | ||
"React" | ||
], | ||
"author": "", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -38,8 +43,8 @@ "url": "https://github.com/akawashiro/jendeley/issues" | ||
"@types/node": "^18.11.9", | ||
"jest": "^29.3.1", | ||
"prettier": "2.8.0", | ||
"source-map-support": "^0.5.21", | ||
"ts-jest": "^29.0.3", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.9.3", | ||
"prettier": "2.8.0", | ||
"jest": "^29.3.1" | ||
"typescript": "^4.9.3" | ||
}, | ||
@@ -54,2 +59,4 @@ "dependencies": { | ||
"got": "^12.5.3", | ||
"node-isbn": "^1.6.1", | ||
"open": "^8.4.0", | ||
"pdf-parse": "^1.1.1", | ||
@@ -59,5 +66,4 @@ "pino": "^8.7.0", | ||
"sanitize-html": "^2.7.3", | ||
"xml2js": "^0.4.23", | ||
"node-isbn": "^1.6.1" | ||
"xml2js": "^0.4.23" | ||
} | ||
} |
@@ -23,4 +23,6 @@ # jendeley | ||
Then you can see a screen like this! | ||
![image](https://user-images.githubusercontent.com/3770618/207363753-e8f16a6e-9c5d-4943-a7de-11fbcdda935e.png) | ||
![image](https://user-images.githubusercontent.com/3770618/208243833-b6745337-6f7e-4df2-ae7f-575fe940dffe.png) | ||
If you don't have any PDFs, please use [Deep Residual Learning for Image Recognition](https://arxiv.org/pdf/1512.03385.pdf). | ||
## Check your database | ||
@@ -27,0 +29,0 @@ Because `jendeley` is fully JSON-based, you can check the contents of the |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
4191119
1
4540
37
14
+ Addedopen@^8.4.0
+ Addeddefine-lazy-prop@2.0.0(transitive)
+ Addedis-docker@2.2.1(transitive)
+ Addedis-wsl@2.2.0(transitive)
+ Addedopen@8.4.2(transitive)