Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@backstage/plugin-permission-common

Package Overview
Dependencies
Maintainers
3
Versions
486
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/plugin-permission-common - npm Package Compare versions

Comparing version 0.7.12 to 0.7.13-next.0

12

CHANGELOG.md
# @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 @@

9

dist/index.d.ts

@@ -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 @@ };

42

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc