Socket
Socket
Sign inDemoInstall

iconv-lite

Package Overview
Dependencies
0
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.15 to 0.4.16

9

Changelog.md
# 0.4.16 / 2017-04-22
* Added support for React Native (#150)
* Changed iso8859-1 encoding to usine internal 'binary' encoding, as it's the same thing (#147 by @mscdex)
* Fixed typo in Readme (#138 by @jiangzhuo)
* Fixed build for Node v6.10+ by making correct version comparison
* Added a warning if iconv-lite is loaded not as utf-8 (see #142)
# 0.4.15 / 2016-11-21

@@ -3,0 +12,0 @@

3

encodings/dbcs-codec.js

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

"use strict"
"use strict";
var Buffer = require("buffer").Buffer;

@@ -3,0 +4,0 @@ // Multibyte codec. In this scheme, a character is represented by 1 or more bytes.

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

"use strict"
"use strict";

@@ -3,0 +3,0 @@ // Description of supported double byte encodings and aliases.

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

"use strict"
"use strict";

@@ -3,0 +3,0 @@ // Update this array if you add/rename/remove files in this directory.

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

"use strict"
"use strict";
var Buffer = require("buffer").Buffer;

@@ -15,2 +16,4 @@ // Export Node.js internal encodings.

binary: { type: "_internal" },
iso88591: "binary",
base64: { type: "_internal" },

@@ -17,0 +20,0 @@ hex: { type: "_internal" },

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

"use strict"
"use strict";
var Buffer = require("buffer").Buffer;

@@ -3,0 +4,0 @@ // Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that

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

"use strict"
"use strict";

@@ -41,3 +41,2 @@ // Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script.

"1258": "windows1258",
"28591": "iso88591",
"28592": "iso88592",

@@ -117,7 +116,2 @@ "28593": "iso88593",

"cp1258": "windows1258",
"iso88591": {
"type": "_sbcs",
"chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
},
"cp28591": "iso88591",
"iso88592": {

@@ -124,0 +118,0 @@ "type": "_sbcs",

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

"use strict"
"use strict";

@@ -87,2 +87,4 @@ // Manually added data to be used by sbcs codec in addition to generated one.

"ibm819": "iso88591",
"cp28591": "iso88591",
"28591": "iso88591",

@@ -89,0 +91,0 @@ "cyrillic": "iso88595",

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

"use strict"
"use strict";
var Buffer = require("buffer").Buffer;

@@ -3,0 +4,0 @@ // Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js

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

"use strict"
"use strict";
var Buffer = require("buffer").Buffer;

@@ -3,0 +4,0 @@ // UTF-7 codec, according to https://tools.ietf.org/html/rfc2152

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

"use strict"
"use strict";

@@ -3,0 +3,0 @@ var BOMChar = '\uFEFF';

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

"use strict"
"use strict";
var Buffer = require("buffer").Buffer;

@@ -3,0 +4,0 @@ // == Extend Node primitives to use iconv-lite =================================

@@ -1,4 +0,8 @@

"use strict"
"use strict";
var bomHandling = require('./bom-handling'),
// Some environments don't have global Buffer (e.g. React Native).
// Solution would be installing npm modules "buffer" and "stream" explicitly.
var Buffer = require("buffer").Buffer;
var bomHandling = require("./bom-handling"),
iconv = module.exports;

@@ -142,1 +146,4 @@

if ("Ā" != "\u0100") {
console.error("iconv-lite warning: javascript files are loaded not with utf-8 encoding. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info.");
}

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

"use strict"
"use strict";
var Transform = require("stream").Transform;
var Buffer = require("buffer").Buffer,
Transform = require("stream").Transform;

@@ -5,0 +6,0 @@

{
"name": "iconv-lite",
"description": "Convert character encodings in pure javascript.",
"version": "0.4.15",
"version": "0.4.16",
"license": "MIT",

@@ -51,4 +51,5 @@

"istanbul": "*",
"semver": "*",
"iconv": "*"
}
}

@@ -12,2 +12,3 @@ ## Pure JS character encoding conversion [![Build Status](https://travis-ci.org/ashtuchkin/iconv-lite.svg?branch=master)](https://travis-ci.org/ashtuchkin/iconv-lite)

* Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index.d.ts) included.
* React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stream`).
* License: MIT.

@@ -101,3 +102,3 @@

Aliases like 'latin1', 'us-ascii' also supported.
* All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2313, GBK, GB18030, Big5, Shift_JIS, EUC-JP.
* All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2312, GBK, GB18030, Big5, Shift_JIS, EUC-JP.

@@ -104,0 +105,0 @@ See [all supported encodings on wiki](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc