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

iso-8859-7

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iso-8859-7 - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

21

iso88597.js

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

/*! http://mths.be/iso-8859-7 v0.1.0 by @mathias | MIT license */
/*! http://mths.be/iso-8859-7 v0.1.1 by @mathias | MIT license */
;(function(root) {

@@ -53,2 +53,3 @@

var byteValue;
var pointer;
var result = '';

@@ -65,3 +66,3 @@ while (++index < length) {

// `single-byte`.”
var pointer = byteValue - 0x80;
pointer = byteValue - 0x80;
if (hasOwnProperty.call(INDEX_BY_POINTER, pointer)) {

@@ -119,3 +120,17 @@ // “Return a code point whose value is `code point`.”

'decode': decode,
'version': '0.1.0'
'labels': [
'csisolatingreek',
'ecma-118',
'elot_928',
'greek',
'greek8',
'iso-8859-7',
'iso-ir-126',
'iso8859-7',
'iso88597',
'iso_8859-7',
'iso_8859-7:1987',
'sun_eu_greek'
],
'version': '0.1.1'
};

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

{
"name": "iso-8859-7",
"version": "0.1.0",
"version": "0.1.1",
"description": "A robust iso-8859-7 encoder/decoder written in JavaScript.",

@@ -46,2 +46,8 @@ "homepage": "http://mths.be/iso-8859-7",

],
"directories": {
"test": "tests"
},
"scripts": {
"test": "node tests/tests.js"
},
"devDependencies": {

@@ -48,0 +54,0 @@ "grunt": "~0.4.4",

8

README.md
# iso-8859-7 [![Build status](https://travis-ci.org/mathiasbynens/iso-8859-7.svg?branch=master)](https://travis-ci.org/mathiasbynens/iso-8859-7) [![Dependency status](https://gemnasium.com/mathiasbynens/iso-8859-7.svg)](https://gemnasium.com/mathiasbynens/iso-8859-7)
_iso-8859-7_ is robust JavaScript implementation of [the iso-8859-7 character encoding as defined by the Encoding Standard](http://encoding.spec.whatwg.org/#iso-8859-7).
_iso-8859-7_ is a robust JavaScript implementation of [the iso-8859-7 character encoding as defined by the Encoding Standard](http://encoding.spec.whatwg.org/#iso-8859-7).
This encoding is known under the following names: csisolatingreek, ecma-118, elot_928, greek, greek8, iso-8859-7, iso-ir-126, iso8859-7, iso88597, iso_8859-7, iso_8859-7:1987, sun_eu_greek, and sun_eu_greek.
This encoding is known under the following names: csisolatingreek, ecma-118, elot_928, greek, greek8, iso-8859-7, iso-ir-126, iso8859-7, iso88597, iso_8859-7, iso_8859-7:1987, and sun_eu_greek.

@@ -67,2 +67,6 @@ ## Installation

### `iso88597.labels`
An array of strings, each representing a [label](http://encoding.spec.whatwg.org/#label) for this encoding.
### `iso88597.encode(input, options)`

@@ -69,0 +73,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