Files
notesnook/packages/core/package.json

45 lines
1.2 KiB
JSON
Raw Normal View History

2019-11-27 18:03:22 +05:00
{
"name": "notes-core",
2022-07-07 13:28:44 +05:00
"version": "7.0.0",
2019-11-28 15:19:08 +05:00
"private": true,
2020-11-02 09:50:27 +05:00
"main": "./api/index.js",
2019-11-28 15:19:08 +05:00
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/runtime": "^7.7.4",
2022-03-30 15:52:48 +05:00
"@notesnook/crypto": "^1.0.0",
2020-04-09 16:36:57 +05:00
"@types/jest": "^25.2.1",
"abortcontroller-polyfill": "^1.7.3",
"analyze-es6-modules": "^0.6.2",
2019-11-28 15:19:08 +05:00
"babel-jest": "^24.9.0",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
2019-11-28 15:19:08 +05:00
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.7.0",
"dotenv": "^10.0.0",
2022-03-30 15:52:48 +05:00
"eslint": "^8.12.0",
"eslint-plugin-jest": "^26.1.3",
"eventsource": "^2.0.0",
2020-04-07 19:05:00 +05:00
"jest": "^24.9.0",
"jest-fetch-mock": "^3.0.3",
"jsdom": "^16.5.3"
2019-11-28 15:19:08 +05:00
},
"scripts": {
2021-12-21 11:31:31 +05:00
"test": "jest --forceExit"
2019-11-29 21:28:31 +05:00
},
"dependencies": {
2022-03-28 10:32:02 +05:00
"@microsoft/signalr": "^6.0.3",
2022-03-31 16:18:34 +05:00
"@microsoft/signalr-protocol-msgpack": "^6.0.3",
2021-10-26 23:06:52 +05:00
"async-mutex": "^0.3.2",
feat: add note version history (#20) * feat: note version history * fix bugs * add tests for session history * update tests * add tests for restoring content * add more tests * update jsdoc * return empty array if no session history present for a note * init note history with await * add note history versions limit * cleanup note history after adding a new session * fix tests * add test for session cleanup * test: add collector tests * feat: dateEdited -> dateModified * feat: migrate to liqe for searching * chore: forceExit jest after test run * feat: note version history * fix bugs * add tests for session history * update tests * add tests for restoring content * add more tests * update jsdoc * return empty array if no session history present for a note * init note history with await * add note history versions limit * cleanup note history after adding a new session * fix tests * add test for session cleanup * init ContentHistory with await * fix reference to db in init * make sessionId in db * check if note is locked through note metadata * make cleanup method private * use remove methods in notehistory and contenthistory * restore note content via notes.add method if note is not locked * move getting all items to seperate functions * check if parsed json is valid * deserialize a session only if it's sessionContent exists * add locked property to sessionContent * remove makeSessionId function * update tests * remove yarn.lock file * update tests Co-authored-by: ammarahm-ed <ammarahmed6506@gmail.com>
2021-12-21 13:41:08 +05:00
"base64-arraybuffer": "^1.0.1",
"dayjs": "^1.10.6",
"entities": "^3.0.1",
feat: add note version history (#20) * feat: note version history * fix bugs * add tests for session history * update tests * add tests for restoring content * add more tests * update jsdoc * return empty array if no session history present for a note * init note history with await * add note history versions limit * cleanup note history after adding a new session * fix tests * add test for session cleanup * test: add collector tests * feat: dateEdited -> dateModified * feat: migrate to liqe for searching * chore: forceExit jest after test run * feat: note version history * fix bugs * add tests for session history * update tests * add tests for restoring content * add more tests * update jsdoc * return empty array if no session history present for a note * init note history with await * add note history versions limit * cleanup note history after adding a new session * fix tests * add test for session cleanup * init ContentHistory with await * fix reference to db in init * make sessionId in db * check if note is locked through note metadata * make cleanup method private * use remove methods in notehistory and contenthistory * restore note content via notes.add method if note is not locked * move getting all items to seperate functions * check if parsed json is valid * deserialize a session only if it's sessionContent exists * add locked property to sessionContent * remove makeSessionId function * update tests * remove yarn.lock file * update tests Co-authored-by: ammarahm-ed <ammarahmed6506@gmail.com>
2021-12-21 13:41:08 +05:00
"fflate": "^0.7.1",
2022-04-19 00:28:42 +05:00
"linkedom": "^0.14.7",
"liqe": "^1.13.0",
"qclone": "^1.0.4",
"showdown": "github:thecodrr/showdown",
"spark-md5": "^3.0.1"
2019-11-28 15:19:08 +05:00
}
}