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

jpacks

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jpacks - npm Package Compare versions

Comparing version 0.6.3 to 0.6.5

22

jpacks.dev.js

@@ -8,4 +8,4 @@ (function (exportName) {

* zswang (http://weibo.com/zswang)
* @version 0.6.3
* @date 2016-02-29
* @version 0.6.5
* @date 2016-03-01
*/

@@ -1012,2 +1012,3 @@ function createSchema() {

Schema.register('enums', enums);
/*<function name="encodeUTF8">*/
/**

@@ -1017,2 +1018,9 @@ * 对字符串进行 utf8 编码

* param {string} str 原始字符串
'''<example>'''
* @example encodeUTF8():base
```js
console.log(jstrs.encodeUTF8('汉'));
// > 汉
```
'''</example>'''
*/

@@ -1025,2 +1033,4 @@ function encodeUTF8(str) {

}
/*</function>*/
/*<function name="decodeUTF8">*/
/**

@@ -1030,2 +1040,9 @@ * 对 utf8 字符串进行解码

* @param {string} str 编码字符串
'''<example>'''
* @example decodeUTF8():base
```js
console.log(jstrs.decodeUTF8('汉'));
// > 汉
```
'''</example>'''
*/

@@ -1039,2 +1056,3 @@ function decodeUTF8(str) {

}
/*</function>*/
/**

@@ -1041,0 +1059,0 @@ * 将字符串转换为字节数组

@@ -8,4 +8,4 @@ (function (exportName) {

* zswang (http://weibo.com/zswang)
* @version 0.6.3
* @date 2016-02-29
* @version 0.6.5
* @date 2016-03-01
*/

@@ -949,2 +949,3 @@ function createSchema() {

Schema.register('enums', enums);
/*<function name="encodeUTF8">*/
/**

@@ -954,2 +955,9 @@ * 对字符串进行 utf8 编码

* param {string} str 原始字符串
'''<example>'''
* @example encodeUTF8():base
```js
console.log(jstrs.encodeUTF8('汉'));
// > 汉
```
'''</example>'''
*/

@@ -962,2 +970,4 @@ function encodeUTF8(str) {

}
/*</function>*/
/*<function name="decodeUTF8">*/
/**

@@ -967,2 +977,9 @@ * 对 utf8 字符串进行解码

* @param {string} str 编码字符串
'''<example>'''
* @example decodeUTF8():base
```js
console.log(jstrs.decodeUTF8('汉'));
// > 汉
```
'''</example>'''
*/

@@ -976,2 +993,3 @@ function decodeUTF8(str) {

}
/*</function>*/
/**

@@ -978,0 +996,0 @@ * 将字符串转换为字节数组

7

package.json

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

"description": "Binary data packing and unpacking.",
"version": "0.6.3",
"version": "0.6.5",
"homepage": "http://github.com/zswang/jpacks",

@@ -43,4 +43,5 @@ "main": "jpacks.js",

"uglify-js": "^2.4.15",
"jdists": "^1.0.9",
"jshint": "^2.8.0"
"jdists": "^1.3.8",
"jshint": "^2.8.0",
"jstrs": "^0.0.1"
},

@@ -47,0 +48,0 @@ "scripts": {

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