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

@frida/dbus

Package Overview
Dependencies
Maintainers
3
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frida/dbus - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

lib/.align.js.swp

2

lib/align.js

@@ -1,2 +0,2 @@

import Buffer from 'buffer';
import { Buffer } from 'buffer';

@@ -3,0 +3,0 @@ export default function align (ps, n) {

import process from 'process';
export default function auth (stream, opts, cb) {
const skipAuthentication = authMethods.length === 0;
const { authMethods } = opts;
const skipAuthentication = authMethods !== undefined && authMethods.length === 0;
if (!skipAuthentication) {

@@ -6,0 +7,0 @@ throw new Error('not supported');

@@ -5,4 +5,4 @@ import align from './align.js';

import assert from 'assert';
import put from '@nornagon/put';
import { Buffer } from 'buffer';
import put from '@frida/put';

@@ -70,3 +70,5 @@ export default function marshall (signature, data, offset, fds) {

// TODO: allow serialisation of simple types as variants, e. g 123 -> ['u', 123], true -> ['b', 1], 'abc' -> ['s', 'abc']
assert.strictEqual(data.length, 2, 'variant data should be [signature, data]');
if (data.length !== 2) {
throw new Error('variant data should be [signature, data]');
}
const signatureEle = {

@@ -78,3 +80,2 @@ type: 'g',

const tree = parseSignature(data[0]);
assert(tree.length === 1);
write(ps, tree[0], data[1], fds);

@@ -81,0 +82,0 @@ break;

@@ -8,3 +8,3 @@ import align from './align.js';

import Buffer from 'buffer';
import { Buffer } from 'buffer';
import JSBI from 'jsbi';

@@ -11,0 +11,0 @@ import Long from 'long';

@@ -5,3 +5,3 @@ import constants from './constants.js';

import Buffer from 'buffer';
import { Buffer } from 'buffer';

@@ -8,0 +8,0 @@ const headerSignature = [

@@ -1,2 +0,2 @@

import Buffer from 'buffer';
import { Buffer } from 'buffer';

@@ -3,0 +3,0 @@ export default function readOneLine (stream, cb) {

{
"name": "@frida/dbus",
"description": "DBus library for JavaScript environments",
"version": "1.0.0",
"version": "1.0.1",
"publishConfig": {

@@ -46,4 +46,4 @@ "access": "public"

"dependencies": {
"@frida/put": "^1.0.0",
"@frida/xml2js": "^1.0.1",
"@nornagon/put": "0.0.8",
"event-stream": "3.3.4",

@@ -50,0 +50,0 @@ "hexy": "^0.2.10",

@@ -1,3 +0,2 @@

declare module 'dbus-next' {
declare module '@frida/dbus' {
import { EventEmitter } from "events";

@@ -4,0 +3,0 @@ import { Duplex } from "stream";

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