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

@nanostores/angular

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nanostores/angular - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

karma.config.js

30

package.json
{
"name": "@nanostores/angular",
"version": "0.0.1",
"version": "0.0.2",
"description": "Angular integration for Nano Stores, a tiny state manager with many atomic tree-shakable stores",

@@ -9,2 +9,6 @@ "license": "MIT",

},
"scripts": {
"prepublishOnly": "rm -rf ./package && clean-publish",
"postpublish": "rm -rf ./package"
},
"clean-publish": {

@@ -30,25 +34,5 @@ "withoutPublish": true,

},
"module": "fesm2015/nanostores-angular.mjs",
"es2020": "fesm2020/nanostores-angular.mjs",
"esm2020": "esm2020/nanostores-angular.mjs",
"fesm2020": "fesm2020/nanostores-angular.mjs",
"fesm2015": "fesm2015/nanostores-angular.mjs",
"typings": "nanostores-angular.d.ts",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./nanostores-angular.d.ts",
"esm2020": "./esm2020/nanostores-angular.mjs",
"es2020": "./fesm2020/nanostores-angular.mjs",
"es2015": "./fesm2015/nanostores-angular.mjs",
"node": "./fesm2015/nanostores-angular.mjs",
"default": "./fesm2020/nanostores-angular.mjs"
}
},
"sideEffects": false,
"dependencies": {
"tslib": "^2.3.0"
"devDependencies": {
"clean-publish": "^4.1.1"
}
}

@@ -41,3 +41,3 @@ # Nano Stores Angular

currentUser$: Observable<IUser> = this.nanostores.useStore(profile)
.pipe(switchMap(userId => this.nanostores.useStore(User(userId))));
.pipe(switchMap(({ userId }) => this.nanostores.useStore(User(userId))));

@@ -68,3 +68,3 @@ constructor(private nanostores: NanostoresService) { }

this.nanostores.useStore(profile).pipe(
switchMap((userId: string) => this.nanostores.useStore(User(userId)))
switchMap(({ userId }) => this.nanostores.useStore(User(userId)))
)

@@ -71,0 +71,0 @@ .subscribe(user => this.text = `User name is ${user.name}`);

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