diff --git a/README.md b/README.md
index f1f0ad1..bb72944 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# memorystorage v0.11.0
+# memorystorage v0.12.0
Memory-backed storage that implements the [Web Storage API](http://www.w3.org/TR/webstorage/), making it a drop-in replacement for `localStorage` and `sessionStorage` in environments where these are not available.
[Project website](http://download.github.io/memorystorage)
@@ -10,7 +10,7 @@ Memory-backed storage that implements the [Web Storage API](http://www.w3.org/TR
.
-![logo](https://rawgit.com/download/memorystorage/0.11.0/memorystorage.png)
+![logo](https://rawgit.com/download/memorystorage/0.12.0/memorystorage.png)
.
@@ -28,7 +28,7 @@ npm install --save memorystorage
### CDN
This is by far the easiest method and gives good performance to boost. Use this if you are in doubt.
```xml
-
+
```
### Local script file
@@ -38,9 +38,9 @@ Download memorystorage.min.js, place it in a folder `lib` in the root of your we
```
#### Download
-* [memorystorage.umd.js](https://cdn.rawgit.com/download/memorystorage/0.11.0/dist/memorystorage.umd.js) (~4kB, commented)
-* [memorystorage.min.js](https://cdn.rawgit.com/download/memorystorage/0.11.0/dist/memorystorage.min.js) (~2kB, minified)
-* [memorystorage.min.js.map](https://cdn.rawgit.com/download/memorystorage/0.11.0/dist/memorystorage.min.js.map) (~2kB, debug map file)
+* [memorystorage.umd.js](https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.umd.js) (~4kB, commented)
+* [memorystorage.min.js](https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.min.js) (~2kB, minified)
+* [memorystorage.min.js.map](https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.min.js.map) (~2kB, debug map file)
### Module loaders
Memorystorage implements the Universal Module Pattern and as such, is available to be consumed
@@ -64,7 +64,7 @@ To be able to load MemoryStorage from CDN as an AMD module, configure the CDN ur
```javascript
require.config({
paths: {
- 'memorystorage': 'https://cdn.rawgit.com/download/memorystorage/0.11.0/dist/memorystorage.min'
+ 'memorystorage': 'https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.min'
}
});
```
@@ -186,6 +186,8 @@ documentation, pull requests or other forms of support.
* [getItem should return null for not-existing keys #4](https://github.com/Download/memorystorage/pull/4) (code contribution)
* [Chris Smola](https://github.com/Smolations)
* [Add npm install to README #5](https://github.com/Download/memorystorage/issues/5) (reported issue)
+* [Corentin Minne](https://github.com/CorentinMinne)
+ * [Invalid exports in package.json #14](https://github.com/Download/memorystorage/issues/14) (code contribution)
## Copyright
©2016 by Stijn de Witt and contributors. Some rights reserved.
diff --git a/package.json b/package.json
index 692d0a8..0c7ff29 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "memorystorage",
- "version": "0.11.0",
+ "version": "0.12.0",
"description": "Memory-backed implementation of the Web Storage API",
"src": "src/memorystorage.js",
"main": "dist/memorystorage.umd.js",
@@ -10,7 +10,7 @@
"map": "dist/memorystorage.min.js.map"
},
"exports": [
- "MemoryStorage"
+ "./dist/memorystorage.umd.js"
],
"directories": {
"test": "tests"
@@ -35,6 +35,10 @@
{
"name": "Matthias Seemann",
"url": "https://github.com/semmel"
+ },
+ {
+ "name": "Corentin Minne",
+ "url": "https://github.com/CorentinMinne"
}
],
"copyright": "©2016 by Stijn de Witt and contributors. Some rights reserved.",