@nextcloud/auth
Advanced tools
Comparing version 2.2.1 to 2.3.0
@@ -0,1 +1,6 @@ | ||
declare global { | ||
interface Window { | ||
_oc_isadmin?: boolean; | ||
} | ||
} | ||
export interface NextcloudUser { | ||
@@ -6,2 +11,5 @@ uid: string; | ||
} | ||
/** | ||
* Get the currently logged in Nextcloud user or null if not logged in | ||
*/ | ||
export declare function getCurrentUser(): NextcloudUser | null; |
{ | ||
"name": "@nextcloud/auth", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "Nextcloud helpers related to authentication and the current user", | ||
"main": "dist/index.js", | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.es.mjs", | ||
"require": "./dist/index.js" | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
}, | ||
@@ -16,8 +17,10 @@ "files": [ | ||
"scripts": { | ||
"build": "rollup --config rollup.config.mjs", | ||
"build": "vite --mode production build", | ||
"build:doc": "typedoc --out dist/doc lib/index.ts && touch dist/doc/.nojekyll", | ||
"check-types": "tsc --noEmit", | ||
"dev": "rollup --config rollup.config.mjs --watch", | ||
"test": "jest", | ||
"test:watch": "jest --watchAll" | ||
"dev": "vite --mode development run --watch", | ||
"lint": "eslint lib test *.ts", | ||
"lint:fix": "eslint --fix lib test", | ||
"test": "vitest run", | ||
"test:coverage": "vitest run --coverage", | ||
"test:watch": "vitest watch" | ||
}, | ||
@@ -35,18 +38,20 @@ "keywords": [ | ||
"dependencies": { | ||
"@nextcloud/event-bus": "^3.1.0" | ||
"@nextcloud/event-bus": "^3.2.0" | ||
}, | ||
"devDependencies": { | ||
"@nextcloud/typings": "^1.7.0", | ||
"@rollup/plugin-typescript": "^11.1.3", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"rollup": "^3.29.2", | ||
"tslib": "^2.6.2", | ||
"typedoc": "^0.25.1", | ||
"typescript": "^5.2.2" | ||
"@nextcloud/eslint-config": "^8.3.0", | ||
"@nextcloud/typings": "^1.8.0", | ||
"@nextcloud/vite-config": "^1.2.2", | ||
"@vitest/coverage-v8": "^1.5.0", | ||
"eslint": "^8.57.0", | ||
"happy-dom": "^14.7.1", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.5", | ||
"vite": "^5.2.10", | ||
"vitest": "^1.5.0" | ||
}, | ||
"engines": { | ||
"node": "^20.0.0", | ||
"npm": "^9.0.0" | ||
"npm": "^10.0.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
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
11
Yes
46990
10
4
117
Updated@nextcloud/event-bus@^3.2.0