Comparing version 0.4.0 to 0.4.1
{ | ||
"name": "omniclone", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "deep cloning function for js objects", | ||
@@ -54,2 +54,2 @@ "main": "dist/main.js", | ||
} | ||
} | ||
} |
@@ -32,3 +32,3 @@ # omniclone | ||
4. let you to copy getters and setters, non enumerables properties and also symbols (customizable behavior) | ||
5. correct handling of String, Boolean, Number, Error, Promise, WeakMap and WeakSet objects | ||
5. correct handling of String, Boolean, Number, Error, Promise, Map, WeakMap and WeakSet objects | ||
6. safe similar sibilings references are not duplicated | ||
@@ -172,3 +172,3 @@ 7. correct cloning of Array objects (if the `invokeConstructors` flag is setted) | ||
## what about String, Boolean, Number, Error, Promise, WeakMap and WeakSet objects? | ||
## what about String, Boolean, Number, Error, Promise, Map, WeakMap and WeakSet objects? | ||
@@ -186,2 +186,4 @@ String, Boolean and Number objects passed to `omniclone` as sources will produce `null`.\ | ||
Map objects will be deeply cloned following same rules of normal objects. | ||
## what about the 6th strength? | ||
@@ -207,2 +209,2 @@ | ||
4. currently there is no isomorphic way to detect if an object is a `Proxy` nor is possible to access the handler object. Because of transparent virtualization, `omniclone` will copy each properties, the `constructor` and the `[[Prototype]]` directly from the proxed object. | ||
5. currenlty there is a lack of support for Map and Set objects. I'm working on this. | ||
5. currenlty there is a lack of support for Set objects. I'm working on this. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15454
207