🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@s-libs/js-core

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-libs/js-core - npm Package Versions

12456

14.1.0

Diff
simontonsoftware
published 14.1.0 •

Changelog

Source

14.1.0 (2022-08-26)

Features

  • js-core: sleep() now accepts a unit of time (cd3ac16)
  • js-core: add sort() (94d255a)
  • micro-dash: accept nullish values for size() (71eaf0b)
  • ng-dev: ComponentContext will now run APP_INITIALIZERs before instantiating your component. This requires all work in your initializers to complete with a call to tick(). (4f5a0a2)
  • rxjs-core: add debounceMap() (b6bc9bb)

Bug Fixes

  • micro-dash: fix typing for omit() with a nullish object (4a343c3), closes #78
simontonsoftware
published 14.0.0 •

Changelog

Source

14.0.0 (2022-06-24)

simontonsoftware
published 14.0.0-next.0 •

Changelog

Source

14.0.0-next.0 (2022-06-11)

⚠ BREAKING CHANGES

  • Libraries that depend on Angular now require version 14, that depend on RxJS require 7.5, and that require Jasmine require 4.1
  • ng-core: Subclasses that override one of these methods must make the same name change.
  • ng-core: Errors from validation outside and inside a WrappedControlSuperclass are now synchronized both ways. See the docs for examples to modify or disable this process.

Features

  • ng-core: WrappedControlSuperclass now synchronizes validation errors with its outer NgControl, if one exists (edea7d4), closes #76
  • ng-core: Rename WrappedControlSuperclass.outerToInner and similar to .outerToInnerValues and similar, to avoid confusion with .outerToInnerErrors (b65e4e2)
  • ng-dev: add ComponentHarnessSuperclass (861a4a4)
  • rxjs-core: improve typing for withHistory() (c4134ff), closes #5
  • Update to Angular 14 (ea35470)
simontonsoftware
published 13.1.0 •

Changelog

Source

13.1.0 (2021-12-29)

Features

  • app-state: add PersistentStore (f85fc6f)
  • app-state: add codec param to PersistentStore (5a008f7)
  • js-core: Add PublicInterface (e443610), closes #65
  • ng-app-state: nasModel's disabled input accepts null, for compatibility with an async pipe (d3cebcd), closes #69
  • ng-dev: add staticTest() (e3ca8a2)
simontonsoftware
published 13.1.0-next.2 •

Changelog

Source

13.1.0-next.2 (2021-12-18)

Features

  • ng-mat-core: Add SlDialogHarness (2478777)
simontonsoftware
published 13.1.0-next.1 •

Changelog

Source

13.1.0-next.1 (2021-12-18)

Bug Fixes

  • ng-mat-core: properly export SlDialogService (68d3963)
simontonsoftware
published 13.1.0-next.0 •

Changelog

Source

13.1.0-next.0 (2021-12-18)

Features

  • js-core: add Stopwatch (2704c53)
  • micro-dash: add mapKeys() (f29016a)
  • ng-dev: add AngularContext.hasHarness() (464a9b9)
  • ng-mat-core: Introducing @s-libs/ng-mat-core! A library of utility for Angular Material. The first thing available: SlDialogService (#71) (91de8e6)

Bug Fixes

  • js-core: improve accuracy of elapsedToString() when computing both very large and very small units. (It is now accurate until the largest unit is about a quadrillion times the size of the smallest unit.) (fa072cd)
simontonsoftware
published 13.0.0 •

Changelog

Source

13.0.0 (2021-11-20)

Bug Fixes

  • ng-dev: properly export expectRequest and SlTestRequest (9c64fdd)
simontonsoftware
published 13.0.0-next.0 •

Changelog

Source

13.0.0-next.0 (2021-11-20)

⚠ BREAKING CHANGES

  • all libraries: UMD bundles are no longer published, because the Angular CLI no longer creates them.
  • ng-core: In subclasses of WrappedFormControlSuperclass, rename all references of formControl to control
  • ng-core: If you have a subclass of WrappedFormControlSuperclass that implement ngOnInit(), you must now call super.ngOnInit()
  • ng-core: Rename all references of FormControlSuperclass to FormComponentSuperclass
  • ng-dev: In a previous version, linting config moved from ng-dev to eslint-config-ng. The old config was deprecated, now it is removed.
  • ng-dev: Tests that cause a call to ErrorHandler.handleError will now fail. Expect the errors with something like ctx.inject(MockErrorHandler).expectOne('error message').
  • ng-dev: trimLeftoverStyles() has been removed, because Angular does it now by default.
  • ng-dev: The deprecated precompileForTests() was removed from the library. It was only useful for the old View Engine renderer.
  • ng-dev: The behavior for AsyncMethodController to automatically trigger promise handlers and change detection is now opt-out instead of opt-in. The ctx option for its constructor has been removed. If you are using an AngularContext and do not want automatic calls to .tick() after each .flush() and .error(), pass a new option the constructor: autoTick: false.
  • ng-dev: To track which context is "current", it is now an error to create a context object without later calling its .run() method.
  • ng-dev: To track which context is "current", it is now required for context subclasses to call super.cleanUp().

Features

  • Upgrade peer dependencies to RxJs 7.4, Angular 13, and Jasmine 3.10 (b030aa1)
  • app-state: improve error message when trying to .assign() to undefined state. (ad11531), closes #53
  • js-core: Improve typing of mapToObject() for index types (4310429), closes #54
  • micro-dash: add intersection() (1c9a715), closes #48
  • micro-dash: add partition() (14417df), closes #25
  • micro-dash: add property() (52a3c02)
  • ng-app-state: nasModel accepts null for the store, for compatibility with an async pipe (f5f8f7a), closes #60
  • ng-core: add WrappedControlSuperclass (fb7cc7e)
  • ng-core: No longer require unnecessary-looking constructors when extending WrappedControlSuperclass (337eaa3)
  • ng-core: Rename FormControlSuperclass to FormComponentSuperclass, to better match Angular terminology (where a "FormControl" is not a component) (481908d)
  • ng-dev: AngularContext now uses MockErrorHandler. (71f0c44)
  • ng-dev: AsyncMethodController no longer needs the ctx argument (3c2f190)
  • ng-dev: ComponentContext no longer clears styles between tests that were added by anyone other than angular. (This is desirable when using e.g. Ionic or Fontawesome, which expect styles to persist.) (b42af81), closes #34
  • ng-dev: add AngularContext.getCurrent() (0c0acfc)
  • ng-dev: add expectRequest() and SlTestRequest (115b757)
  • ng-dev: add MockErrorHandler (d83353e)
  • ng-dev: provide a nice error message why trying to use AngularContext.tick() outside .run() (396af3c), closes #29
  • ng-dev: remove deprecated linting config (5b4aefe)

Bug Fixes

  • js-core: Fix typing to show that Persistence.get() can return undefined (50239e5), closes #56
  • micro-dash: flatten() and flatMap() now work on very large arrays (5c215da), closes #46
  • ng-core: WrappedControlSuperclass gracefully handles errors thrown from innerToOuter() and outerToInner() (45599aa)
  • ng-core: Fix a timing issue when combining nasModel and WrappedControlSuperclass so that it properly receives its initial value (6e07405)
  • ng-dev: fix compilation error in CI (2ff1d2c)
simontonsoftware
published 12.0.0 •

Changelog

Source

12.0.0 (2021-05-26)

Features

  • js-core: Typing for MigrateFunction and VersionedObject are available from the package root (4e50072)