@backstage/plugin-permission-common
Advanced tools
Comparing version 0.7.12 to 0.7.13-next.0
# @backstage/plugin-permission-common | ||
## 0.7.13-next.0 | ||
### Patch Changes | ||
- 0502d82: The `token` option of the `PermissionEvaluator` methods is now deprecated. The options that only apply to backend implementations have been moved to `PermissionsService` from `@backstage/backend-plugin-api` instead. | ||
- 0fb419b: Updated dependency `uuid` to `^9.0.0`. | ||
Updated dependency `@types/uuid` to `^9.0.0`. | ||
- Updated dependencies | ||
- @backstage/errors@1.2.4-next.0 | ||
- @backstage/config@1.1.2-next.0 | ||
- @backstage/types@1.1.1 | ||
## 0.7.12 | ||
@@ -4,0 +16,0 @@ |
@@ -289,6 +289,13 @@ import { JsonPrimitive } from '@backstage/types'; | ||
* Options for {@link PermissionEvaluator} requests. | ||
* The Backstage identity token should be defined if available. | ||
* | ||
* @public | ||
*/ | ||
type EvaluatorRequestOptions = { | ||
/** | ||
* @deprecated Backend plugins should no longer depend on the | ||
* `PermissionEvaluator`, but instead use the `PermissionService` from | ||
* `@backstage/backend-plugin-api`. Frontend plugins should not need to inject | ||
* this token at all, but instead implicitly rely on underlying fetchApi to do | ||
* it for them. | ||
*/ | ||
token?: string; | ||
@@ -295,0 +302,0 @@ }; |
{ | ||
"name": "@backstage/plugin-permission-common", | ||
"version": "0.7.13-next.0", | ||
"description": "Isomorphic types and client for Backstage permissions and authorization", | ||
"version": "0.7.12", | ||
"main": "dist/index.cjs.js", | ||
"types": "dist/index.d.ts", | ||
"backstage": { | ||
"role": "common-library" | ||
}, | ||
"publishConfig": { | ||
@@ -13,6 +14,10 @@ "access": "public", | ||
}, | ||
"backstage": { | ||
"role": "common-library" | ||
"keywords": [ | ||
"backstage", | ||
"permissions" | ||
], | ||
"homepage": "https://backstage.io", | ||
"bugs": { | ||
"url": "https://github.com/backstage/backstage/issues" | ||
}, | ||
"homepage": "https://backstage.io", | ||
"repository": { | ||
@@ -23,7 +28,6 @@ "type": "git", | ||
}, | ||
"keywords": [ | ||
"backstage", | ||
"permissions" | ||
], | ||
"license": "Apache-2.0", | ||
"sideEffects": false, | ||
"main": "dist/index.cjs.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
@@ -33,28 +37,24 @@ "dist", | ||
], | ||
"configSchema": "config.d.ts", | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "backstage-cli package build", | ||
"clean": "backstage-cli package clean", | ||
"lint": "backstage-cli package lint", | ||
"test": "backstage-cli package test", | ||
"prepack": "backstage-cli package prepack", | ||
"postpack": "backstage-cli package postpack", | ||
"clean": "backstage-cli package clean" | ||
"test": "backstage-cli package test" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/backstage/backstage/issues" | ||
}, | ||
"dependencies": { | ||
"@backstage/config": "^1.1.1", | ||
"@backstage/errors": "^1.2.3", | ||
"@backstage/config": "^1.1.2-next.0", | ||
"@backstage/errors": "^1.2.4-next.0", | ||
"@backstage/types": "^1.1.1", | ||
"cross-fetch": "^4.0.0", | ||
"uuid": "^8.0.0", | ||
"uuid": "^9.0.0", | ||
"zod": "^3.22.4" | ||
}, | ||
"devDependencies": { | ||
"@backstage/cli": "^0.25.1", | ||
"@backstage/cli": "^0.25.3-next.0", | ||
"msw": "^1.0.0" | ||
}, | ||
"configSchema": "config.d.ts", | ||
"module": "dist/index.esm.js" | ||
} |
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
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
91357
782
16
7
88
+ Addeduuid@9.0.1(transitive)
- Removeduuid@8.3.2(transitive)
Updateduuid@^9.0.0