Socket
Socket
Sign inDemoInstall

@nebular/security

Package Overview
Dependencies
8
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nebular/security

@nebular/security


Version published
Weekly downloads
9.4K
increased by4.78%
Maintainers
1
Install size
92.1 kB
Created
Weekly downloads
 

Changelog

Source

5.0.0 (2020-03-09)

Bug Fixes

  • button link: remove text decoration (#2190) (0495259)
  • cdk: fix cdk mappings duplicates (#2068) (8179a02)
  • focus trigger: prevent stream destroy on focus out (#2189) (42ff4ee)
  • form field: make form control container take all space (#2241) (2e11ec9)
  • input: use correct status property name (#2248) (737ffe2)
  • layout: access view child property after view init (#2249) (5bb21a7)
  • menu: prevent color override in css vars mode (#2201) (ac50dae)
  • route tabset: tab icon margin (#2154) (f7210b2)
  • theme: prevent transition to initial status (#2256) (8e52fc0)
  • trigger: prevent stream destroy on mouse leave (#2141) (7c79d1d)
  • typography: concat anchor selector with color class (#2161) (8c9ed86)
  • typography: use text theme vars for text color classes (#2192) (af2e674)
  • add scroll strategy options to public api (#2129) (79ab083)
  • provide Nebular scroll services adapters (#2140) (0e0d11c)
  • support strict template check (#2273) (9b4ff5b)
  • avoid to declare and export NbTable component (#2126) (dbf5192)

Code Refactoring

Features

BREAKING CHANGES

  • auth: requireValidToken set to true by default. Now if response contains invalid token NbAuthIllegalTokenError is thrown. To enable old behavior, set requireValidToken: false in the auth strategy method config, e.g.:
NbPasswordAuthStrategy.setup({
  // ...
  login: {
    // ...
    requireValidToken: false,
  },
});

or

NbOAuth2AuthStrategy.setup({
  // ...
  authorize: {
    // ...
    requireValidToken: false,
  },
});
  • Badge, button, progress bar, toastr components now use basic status as a default.

  • calendar:

    • NbCalendarHeaderComponent removed. Along with that showHeader property removed from following components:

    • NbBaseCalendarComponent

    • NbCalendarRangeComponent

    • NbCalendarComponent

    • NbBasePicker

    • NbBasePickerComponent

    • medium and size-medium css classes were removed along with medium/isMedium properties from the following classes:

      • NbCalendarDayPickerComponent
      • NbCalendarMonthPickerComponent
      • NbCalendarYearPickerComponent
      • NbBaseCalendarComponent
      • NbCalendarWeekNumberComponent
    • Properties date, changeMode, isRtl removed from NbCalendarPageableNavigationComponent

    • File nb-calendar-week-number.component renamed to calendar-week-number.component

    • YEARS_IN_VIEW, YEARS_IN_ROW constants removed. Use NbCalendarYearModelServices getYearsInView and getRowInView methods.

    • NbCalendarNavigationComponent replaced with NbCalendarViewModeComponent.

    • initYears method removed from NbCalendarYearPickerComponent.

    • calendar-range-cells.ts file split into calendar-range-day-cell.component.ts, calendar-range-month-cell.component.ts and calendar-range-year-cell.component.ts.

    • Following theme properties were removed:

      • calendar-body-height
      • calendar-header-text-color
      • calendar-header-text-font-family
      • calendar-header-title-text-font-size
      • calendar-header-title-text-font-weight
      • calendar-header-title-text-line-height
      • calendar-header-sub-title-text-font-size
      • calendar-header-sub-title-text-font-weight
      • calendar-header-sub-title-text-line-height
      • calendar-navigation-button-width
      • calendar-large-body-height
      • calendar-cell-in-range-background-color
      • calendar-cell-disabled-background-color
      • datepicker-text-color
      • datepicker-arrow-size
  • cdk: NbPlatform and NbScrollStrategyOptions from theme/components/cdk/overlay/mapping.ts removed. Use NbPlatform from theme/components/cdk/platform/platform-service.ts and NbScrollStrategyOptions from theme/components/cdk/adapter/block-scroll-strategy-adapter.ts. NbPlatformModule removed.

  • select: select-option-* theme properties renamed to option-. nb-option and nb-option-group components moved to own options directory.

  • select: Generic value type removed from NbSelectComponent.

  • Angular: Nebular packages now require Angular 9+.

  • tslib: We no longer have a direct dependency on tslib. Instead it is now listed a peerDependency. This matches Angular framework. Users not using the Angular CLI will need to manually install tslib via:

yarn add tslib
# or
npm install tslib --save

<a name="4.6.0"></a>

Readme

Source

@nebular/security module, more details https://akveo.github.io/nebular/

Keywords

FAQs

Last updated on 13 Mar 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc