Skip to content

Commit

Permalink
Rewrite code, use WeakMap instead of arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Jan 14, 2018
1 parent e1b50c0 commit b29fc36
Show file tree
Hide file tree
Showing 5 changed files with 933 additions and 229 deletions.
24 changes: 24 additions & 0 deletions .gitignore
@@ -0,0 +1,24 @@
# Ignore IDE specific files
*.komodo*
*.sublime*
.idea/

# Ignore special files
.DS_Store
.fuse*
._*
*.bin

# Ignore log files
npm-debug.log
v8.log

# Ignore node modules
/node_modules/

# Ignore local test files
scratch*

# Ignore coverage results
/coverage/
.coveralls.yml
31 changes: 31 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,31 @@
## 1.0.0 (WIP)

* Rewrite code, take over new features from the `protoblast` package
* `WeakMap` is now used instead of multiple `Array` objects
* A `clone` method has been added

## 0.1.6 (2014-02-26)

* Register seen objects under their constructor name when stringifying for speed improvements

## 0.1.5 (2014-02-17)

* Rewrite the retrieveFromPath function to be more readable and error-safe

## 0.1.4 (2014-02-03)

* Fix generation of wrong paths when objects are empty

## 0.1.3 (2014-02-03)

* Add support for infinity
* Fix null object bug

## 0.1.2 (2014-01-21)

* Path exporting functions

## 0.1.0 (2014-01-15)

* Fork circular-json
* Initial release
7 changes: 7 additions & 0 deletions LICENSE
@@ -0,0 +1,7 @@
Copyright (c) 2017 Jelle De Loecker <jelle@develry.be>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 comments on commit b29fc36

Please sign in to comment.