@liveblocks/core
Advanced tools
Comparing version 0.18.4 to 0.18.5
@@ -360,2 +360,5 @@ /** | ||
/** | ||
* This type is used by clients to define the metadata for a user. | ||
*/ | ||
declare type BaseUserMeta = { | ||
@@ -371,6 +374,2 @@ /** | ||
info?: Json; | ||
/** | ||
* Permissions that the user has in the room. | ||
*/ | ||
scopes: string[]; | ||
}; | ||
@@ -685,3 +684,5 @@ | ||
users: { | ||
[actor: number]: TUserMeta; | ||
[actor: number]: TUserMeta & { | ||
scopes: string[]; | ||
}; | ||
}; | ||
@@ -688,0 +689,0 @@ }; |
{ | ||
"name": "@liveblocks/core", | ||
"version": "0.18.4", | ||
"version": "0.18.5", | ||
"description": "Shared code and foundational internals for Liveblocks", | ||
@@ -22,7 +22,8 @@ "main": "./dist/index.js", | ||
"scripts": { | ||
"dev": "tsup --watch --onSuccess ../../scripts/build.sh", | ||
"build": "tsup && ../../scripts/build.sh", | ||
"format": "eslint --fix src/ && prettier --write src/", | ||
"lint": "eslint src/", | ||
"test": "jest --watch --silent --verbose --config=./jest.config.js", | ||
"test-ci": "jest --silent --verbose", | ||
"test": "jest --silent --verbose", | ||
"test:watch": "jest --silent --verbose --watch", | ||
"test-e2e": "jest --silent --verbose --config=./jest.config.e2e.js" | ||
@@ -32,22 +33,9 @@ }, | ||
"devDependencies": { | ||
"@types/jest": "^29.1.2", | ||
"@types/node-fetch": "^2.6.1", | ||
"@liveblocks/eslint-config": "*", | ||
"@liveblocks/jest-config": "*", | ||
"@types/ws": "^8.5.3", | ||
"@typescript-eslint/eslint-plugin": "^5.26.0", | ||
"@typescript-eslint/parser": "^5.26.0", | ||
"dotenv": "^16.0.3", | ||
"eslint": "^8.12.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-rulesdir": "^0.2.1", | ||
"eslint-plugin-simple-import-sort": "^7.0.0", | ||
"fast-check": "^3.0.1", | ||
"jest": "^29.1.2", | ||
"jest-environment-jsdom": "^29.1.2", | ||
"msw": "^0.39.1", | ||
"node-fetch": "2.6.7", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^29.0.3", | ||
"tsup": "^6.2.2", | ||
"typescript": "^4.7.2", | ||
"whatwg-fetch": "^3.6.2", | ||
"msw": "^0.47.4", | ||
"ws": "^8.5.0" | ||
@@ -54,0 +42,0 @@ }, |
Sorry, the diff of this file is too big to display
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
8
5729
2
184999