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

@nebular/security

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebular/security - npm Package Compare versions

Comparing version 4.0.0-rc.4 to 4.0.0-rc.5

esm2015/directives/is-granted.directive.js

5

bundles/security.umd.js

@@ -299,2 +299,7 @@ (function (global, factory) {

/**
* Generated bundle index. Do not edit.
*/
exports.ɵa = NbIsGrantedDirective;
exports.NB_SECURITY_OPTIONS_TOKEN = NB_SECURITY_OPTIONS_TOKEN;

@@ -301,0 +306,0 @@ exports.NbSecurityModule = NbSecurityModule;

11

index.d.ts
/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* Generated bundle index. Do not edit.
*/
export * from './security.options';
export * from './security.module';
export * from './services/acl.service';
export * from './services/access-checker.service';
export * from './services/role.provider';
export * from './public_api';
export { NbIsGrantedDirective as ɵa } from './directives/is-granted.directive';

@@ -1,1 +0,1 @@

[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./security.options"},{"from":"./security.module"},{"from":"./services/acl.service"},{"from":"./services/access-checker.service"},{"from":"./services/role.provider"}]}]
{"__symbolic":"module","version":4,"metadata":{"NbAclRole":{"__symbolic":"interface"},"NbAccessControl":{"__symbolic":"interface"},"NbAclOptions":{"__symbolic":"interface"},"NB_SECURITY_OPTIONS_TOKEN":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":15,"character":45},"arguments":["Nebular Security Options"]},"NbSecurityModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":4}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["nbSecurityOptions"],"value":{"ngModule":{"__symbolic":"reference","name":"NbSecurityModule"},"providers":[{"provide":{"__symbolic":"reference","name":"NB_SECURITY_OPTIONS_TOKEN"},"useValue":{"__symbolic":"reference","name":"nbSecurityOptions"}},{"__symbolic":"reference","name":"NbAclService"},{"__symbolic":"reference","name":"NbAccessChecker"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}}}},"NbAclService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":19,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":26,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":26,"character":27},"arguments":[{"__symbolic":"reference","name":"NB_SECURITY_OPTIONS_TOKEN"}]}]],"parameters":[{"__symbolic":"reference","name":"NbAclOptions"}]}],"setAccessControl":[{"__symbolic":"method"}],"register":[{"__symbolic":"method"}],"allow":[{"__symbolic":"method"}],"can":[{"__symbolic":"method"}],"getRole":[{"__symbolic":"method"}],"validateRole":[{"__symbolic":"method"}],"validateResource":[{"__symbolic":"method"}],"exactCan":[{"__symbolic":"method"}],"getRoleResources":[{"__symbolic":"method"}],"getRoleAbilities":[{"__symbolic":"method"}],"getRoleParent":[{"__symbolic":"method"}]},"statics":{"ANY_RESOURCE":"*"}},"NbAccessChecker":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":16,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"NbRoleProvider"},{"__symbolic":"reference","name":"NbAclService"}]}],"isGranted":[{"__symbolic":"method"}]}},"NbRoleProvider":{"__symbolic":"class","members":{"getRole":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":5,"character":1},"arguments":[{"selector":"[nbIsGranted]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]},{"__symbolic":"reference","module":"@angular/core","name":"ViewContainerRef","line":12,"character":37},{"__symbolic":"reference","name":"NbAccessChecker"}]}],"nbIsGranted":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"ngOnDestroy":[{"__symbolic":"method"}]}}},"origins":{"NbAclRole":"./security.options","NbAccessControl":"./security.options","NbAclOptions":"./security.options","NB_SECURITY_OPTIONS_TOKEN":"./security.options","NbSecurityModule":"./security.module","NbAclService":"./services/acl.service","NbAccessChecker":"./services/access-checker.service","NbRoleProvider":"./services/role.provider","ɵa":"./directives/is-granted.directive"},"importAs":"@nebular/security"}
{
"name": "@nebular/security",
"version": "4.0.0-rc.4",
"version": "4.0.0-rc.5",
"description": "@nebular/security",
"main": "./bundles/security.umd.js",
"module": "./index.js",
"typings": "./index.d.ts",
"author": "akveo",

@@ -36,3 +33,13 @@ "license": "MIT",

"rxjs": "^6.5.1"
}
}
},
"sideEffects": false,
"main": "bundles/security.umd.js",
"module": "fesm5/index.js",
"es2015": "fesm2015/index.js",
"esm5": "esm5/index.js",
"esm2015": "esm2015/index.js",
"fesm5": "fesm5/index.js",
"fesm2015": "fesm2015/index.js",
"typings": "index.d.ts",
"metadata": "index.metadata.json"
}
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