ChangeLog for `jsonlint-pos`
----------------------------

Repository  
https://github.com/mmig/jsonlint-pos

Package  
https://www.npmjs.com/package/jsonlint-pos

-------------
Version 2.1.2
-------------

**Changes**

 * updated dependencies

-------------
Version 2.1.1-beta.1
-------------

**Changes**

 * updated metadata & documentation
 * updated test configuration
 
-------------
Version 2.1.0
-------------

**Changes**

 * removed superfluous dependencies from UMD header
 * FIX attach strict-mode setting and position-extraction-mode setting to parser instance instead of globally
 * FIX emit `strict` mode errors via `Parser.parseError(message, hash)`:  
   * throwing can be disabled by attaching a custom error handler function to `Parser.parseError`
   * the `hash` contains the position information (in case position information is enabled):
     ```
     Error.hash = {
         pos: Position,
         posOther: Position
     }
     ```
     this change is breaking (see comments below)
 * added basic TypeScript typings


**Breaking Changes**

 * renamed position fields on Error in strict mode for consistency with other parser errors
   * `Error._pos` &rarr; `Error.hash.pos`
   * `Error._posTo` &rarr; `Error.hash.posOther`

-------------
Version 2.0.0
-------------

**Changes**

 * removed file `bower.json`
 * clean up json-editor example & use npm dependencies for including/building its libraries

**Breaking Changes**

 * simplified accessing position information for array entries:  
   `_i<number>` &rarr; `_<number>`  
   do not use `_i<number>` but `_<number>`, to make it more consistent with
   accessing position information in general objects (`_<member name>`)  
   **NOTE** this was documented incorrectly before: now the implementation
            actually matches the documentation!


-------------
Version 1.7.1
-------------

**Changes**

 * BUGFIX for `cli` caused by change of dependency from `underscore` to `lodash`  
   _(`cli` now works again)_

-------------
Version 1.7.0
-------------

first version of `jsonlint-pos` based on `jsonlint-ext`
https://github.com/russaa/jsonlint-ext

`jsonlint-pos` is available on `npm`  
https://www.npmjs.com/package/jsonlint-pos

**Changes**

 * use UMD wrapper for detecting if instance should be exported AMD or CommonJS module or Global variable
 * include `min` mapping file for `web/jasonlint-pos.min.js`
 * renabled command line and added 2 options:
   ```
   -P, --position           include position information in the result [false]
   -S, --strict             parse in strict mode, e.g. disallow duplicate keys [false]
   ```
 * added JSON Editor demo to master branch directory `example/**`
 * BUGFIX applied PR zaach/jsonlint#54 fixing issue zaach/jsonlint#34:  
   correctly read escaped characters (e.g. escaped unicode chars)
 * migrated build from `Makefile` to pure node scripts in `scripts/**`
 * added test cases for `strict` mode and position extraction features


**Breaking Changes**

 * renamed `loc`/location to `pos`/position and moved parser functions to parser instance
   * renamed library file `jsonlint-ext.*` &rarr; `jsonlint-pos.*`
   * `_loc` (results position field) &rarr; `_pos`  
       _(customizable now, see `setPosEnabled(..)`)_
   * `jsonlint.setLocEnabled(value: boolean)` &rarr; `jsonlint.parser.setPosEnabled(value: boolean | string)`  
       in addition to enabling, this allows now to set a custom position-field name (in results),
       if given a `string` instead of `true` (if `true`, default name `_pos` is used)
   * `jsonlint.isLoc() : boolean` &rarr; `jsonlint.parser.getPos() : boolean | string`
 * moved parser functions for `strict` mode to parser instance
   * `jsonlint.isStrict() : boolean` &rarr; `jsonlint.parser.isStrict() : boolean`
   * `jsonlint.setStrict(value : boolean)` &rarr; `jsonlint.parser.setStrict(value : boolean)`
 * moved web page _(example)_ from `web/**` to `example/**`
