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.2.1 to 1.2.4

8

index.js

@@ -13,10 +13,10 @@ const objectHash = require('object-hash')

hash: hashObject,
spawn (query, prop, meta) {
spawn (query, prop) {
const ds = this
const hash = hashObject(query)
if (typeof query.title === 'string') {
ds.record.update(`${hash}:general.title`, doc => ({ value: query.title, ...doc }))
ds.record.update(`${hash}:general.title`, doc => Object.assign({ value: query.title }, doc))
}
ds.record.update(`${hash}:general.tags`, doc => ({ value: [ 'hidden' ], ...doc }))
ds.record.update(`${hash}:general.created`, doc => ({ value: new Date().toISOString(), ...doc }))
ds.record.update(`${hash}:general.tags`, doc => Object.assign({ value: [ 'hidden' ] }, doc))
ds.record.update(`${hash}:general.created`, doc => Object.assign({ value: new Date().toISOString() }, doc))
ds.record.set(`${hash}:agent.query`, query)

@@ -23,0 +23,0 @@ return ds.record.observe(`${hash}:agent${prop ? `.${prop}` : ``}`)

{
"name": "@nxtedition/agent",
"version": "1.2.1",
"version": "1.2.4",
"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