Socket
Socket
Sign inDemoInstall

@dxos/crypto

Package Overview
Dependencies
Maintainers
9
Versions
3003
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/crypto - npm Package Compare versions

Comparing version 1.0.7 to 2.10.0

dist/src/encrypt.d.ts

73

package.json
{
"name": "@dxos/crypto",
"version": "1.0.7",
"description": "Basic crypto key utils",
"files": [
"dist",
"src"
],
"main": "dist/es/index.js",
"types": "dist/es/index.d.ts",
"scripts": {
"build": "tsc",
"coverage": "npm test -- --coverage",
"coveralls": "npm run coverage && cat ./coverage/lcov.info | coveralls",
"lint": "eslint 'src/**/*.ts'",
"lint:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts yarn npm codeload.github.com --validate-https",
"prepublishOnly": "npm run test && npm run build",
"test": "jest --rootDir=./src --verbose --passWithNoTests --forceExit"
},
"keywords": [],
"author": "",
"license": "GPL-3.0",
"jest": {
"testEnvironment": "node",
"preset": "ts-jest/presets/js-with-ts"
},
"dependencies": {
"crypto-js": "^3.1.9-1",
"humanhash": "^1.0.4",
"hypercore-crypto": "^1.0.0"
},
"devDependencies": {
"@dxos/eslint-plugin": "^1.0.8",
"coveralls": "^3.0.7",
"eslint": "^7.12.1",
"jest": "^26.4.0",
"lockfile-lint": "^4.3.7",
"ts-jest": "^26.2.0",
"typescript": "^4.0.0"
},
"publishConfig": {
"access": "public"
},
"eslintConfig": {
"extends": "plugin:@dxos/recomended"
}
"name": "@dxos/crypto",
"version": "2.10.0",
"description": "Basic crypto key utils",
"license": "GPL-3.0",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"build": "toolchain build",
"test": "toolchain test",
"lint": "toolchain lint"
},
"dependencies": {
"crypto-js": "^3.1.9-1",
"humanhash": "^1.0.4",
"hypercore-crypto": "^1.0.0"
},
"devDependencies": {
"@dxos/toolchain-node-library": "0.1.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.0.9"
},
"publishConfig": {
"access": "public"
}
}

@@ -1,5 +0,1 @@

//
// Copyright 2020 DxOS.
//
// dxos-testing-browser

@@ -6,0 +2,0 @@

//
// Copyright 2020 DxOS.
//
//
// Copyright 2020 DXOS.org

@@ -7,0 +3,0 @@ //

@@ -111,3 +111,3 @@ //

toString (): string {
return this.humanize();
return this.toHex();
}

@@ -119,3 +119,3 @@

toJson () {
return this.humanize();
return this.toHex();
}

@@ -122,0 +122,0 @@

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