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

@nxtedition/agent

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nxtedition/agent - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

31

index.js

@@ -12,4 +12,2 @@ const objectHash = require('object-hash')

const providers = new Map()
module.exports = {

@@ -49,29 +47,6 @@ spawn (query, prop) {

return Observable
.using(
() => {
let provider = providers.get(name)
ds.record.set(name, { parent, description })
if (!provider) {
provider = {
unsubscribe: ds.record.provide(`${name}\\.query`, () => Observable.of({ parent, description })),
refs: 0
}
providers.set(name, provider)
}
provider.refs += 1
return {
unsubscribe: () => {
provider.refs -= 1
if (providers.refs === 0) {
provider.unsubscribe()
providers.delete(key)
}
}
}
},
() => ds.record.observe(name)
)
return ds.record
.observe(name)
.pluck(prop)

@@ -78,0 +53,0 @@ .map(x => x || {})

2

package.json
{
"name": "@nxtedition/agent",
"version": "1.0.10",
"version": "1.0.11",
"main": "index.js",

@@ -5,0 +5,0 @@ "author": "Robert Nagy <robert.nagy@boffins.se>",

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