New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

febs-browser

Package Overview
Dependencies
Maintainers
1
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

febs-browser - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

10

dist/febs/README.md

@@ -287,2 +287,12 @@ febs 库是一些常用的工具的合集;

febs.crypt.base64_encode(arrByte)
/**
* @desc: 计算md5.
* @return: string
*/
febs.crypt.md5( strOrBuffer )
/**
* @desc: 计算sh1.
* @return: string
*/
febs.crypt.sha1( strOrBuffer )
```

@@ -289,0 +299,0 @@

@@ -10,2 +10,4 @@ /**

var crypt = require('../../common/crypt');
var sha1 = require('sha1');
var md5 = require('md5');

@@ -71,2 +73,6 @@ /**

// exports.sha1 = sha1;
// exports.md5 = md5;
/**

@@ -73,0 +79,0 @@ * @desc: base64编码.

8

package.json

@@ -5,3 +5,5 @@ {

"bignumber.js": "^4.0.1",
"console-polyfill": "^0.3.0"
"console-polyfill": "^0.3.0",
"md5": "^2.2.1",
"sha1": "^1.1.1"
},

@@ -67,7 +69,7 @@ "devDependencies": {

"scripts": {
"build": "node scripts/webpack.build.js",
"build": "node scripts/webpack.build.js",
"prepare": "node scripts/webpack.build.js"
},
"name": "febs-browser",
"version": "0.7.1"
"version": "0.7.2"
}

@@ -287,2 +287,12 @@ febs 库是一些常用的工具的合集;

febs.crypt.base64_encode(arrByte)
/**
* @desc: 计算md5.
* @return: string
*/
febs.crypt.md5( strOrBuffer )
/**
* @desc: 计算sh1.
* @return: string
*/
febs.crypt.sha1( strOrBuffer )
```

@@ -289,0 +299,0 @@

@@ -202,3 +202,14 @@ // Type definitions for febs

function crc32_file(fileObj: object, cb: (crc32: number) => void): void;
/**
* @desc: 计算字符串的md5值
* @return: string.
*/
function md5(str: string|Buffer): string;
/**
* @desc: 计算字符串的sha1值
* @return: string.
*/
function sha1(str: string|Buffer): string;
/**
* @desc: base64编码.

@@ -205,0 +216,0 @@ * @param arrByte: 字节数组.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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