├── .gitignore ├── .travis.yml ├── LICENSE.md ├── README.md ├── dist ├── memorystorage.min.js ├── memorystorage.min.js.map └── memorystorage.umd.js ├── gruntfile.js ├── memorystorage.png ├── package-lock.json ├── package.json ├── src └── memorystorage.js ├── tests ├── index.html ├── test-amd.html ├── test-amd.js ├── test-node.js └── test.js └── umd-lite.hbs /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | 3 | # OS generated files # 4 | .DS_Store 5 | .DS_Store? 6 | .Trashes 7 | 8 | # PhpStorm project files # 9 | .idea -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "node" 4 | - "6" 5 | - "5" 6 | - "4" 7 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | ## creative commons 2 | 3 | # Attribution 4.0 International 4 | 5 | Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. 6 | 7 | ### Using Creative Commons Public Licenses 8 | 9 | Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. 10 | 11 | * __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors). 12 | 13 | * __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensor’s permission is not necessary for any reason–for example, because of any applicable exception or limitation to copyright–then that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees). 14 | 15 | ## Creative Commons Attribution 4.0 International Public License 16 | 17 | By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. 18 | 19 | ### Section 1 – Definitions. 20 | 21 | a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image. 22 | 23 | b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License. 24 | 25 | c. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights. 26 | 27 | d. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements. 28 | 29 | e. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material. 30 | 31 | f. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License. 32 | 33 | g. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license. 34 | 35 | h. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License. 36 | 37 | i. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them. 38 | 39 | j. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world. 40 | 41 | k. __You__ means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning. 42 | 43 | ### Section 2 – Scope. 44 | 45 | a. ___License grant.___ 46 | 47 | 1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to: 48 | 49 | A. reproduce and Share the Licensed Material, in whole or in part; and 50 | 51 | B. produce, reproduce, and Share Adapted Material. 52 | 53 | 2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions. 54 | 55 | 3. __Term.__ The term of this Public License is specified in Section 6(a). 56 | 57 | 4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material. 58 | 59 | 5. __Downstream recipients.__ 60 | 61 | A. __Offer from the Licensor – Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License. 62 | 63 | B. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material. 64 | 65 | 6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i). 66 | 67 | b. ___Other rights.___ 68 | 69 | 1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise. 70 | 71 | 2. Patent and trademark rights are not licensed under this Public License. 72 | 73 | 3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties. 74 | 75 | ### Section 3 – License Conditions. 76 | 77 | Your exercise of the Licensed Rights is expressly made subject to the following conditions. 78 | 79 | a. ___Attribution.___ 80 | 81 | 1. If You Share the Licensed Material (including in modified form), You must: 82 | 83 | A. retain the following if it is supplied by the Licensor with the Licensed Material: 84 | 85 | i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated); 86 | 87 | ii. a copyright notice; 88 | 89 | iii. a notice that refers to this Public License; 90 | 91 | iv. a notice that refers to the disclaimer of warranties; 92 | 93 | v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable; 94 | 95 | B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and 96 | 97 | C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License. 98 | 99 | 2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information. 100 | 101 | 3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable. 102 | 103 | 4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License. 104 | 105 | ### Section 4 – Sui Generis Database Rights. 106 | 107 | Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: 108 | 109 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database; 110 | 111 | b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and 112 | 113 | c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database. 114 | 115 | For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. 116 | 117 | ### Section 5 – Disclaimer of Warranties and Limitation of Liability. 118 | 119 | a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__ 120 | 121 | b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__ 122 | 123 | c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability. 124 | 125 | ### Section 6 – Term and Termination. 126 | 127 | a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically. 128 | 129 | b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates: 130 | 131 | 1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or 132 | 133 | 2. upon express reinstatement by the Licensor. 134 | 135 | For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License. 136 | 137 | c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License. 138 | 139 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License. 140 | 141 | ### Section 7 – Other Terms and Conditions. 142 | 143 | a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed. 144 | 145 | b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License. 146 | 147 | ### Section 8 – Interpretation. 148 | 149 | *a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License. 150 | 151 | b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions. 152 | 153 | c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor. 154 | 155 | d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority. 156 | 157 | ``` 158 | Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. 159 | 160 | Creative Commons may be contacted at creativecommons.org 161 | ``` -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # memorystorage v0.12.0 2 | 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. 3 | [Project website](http://download.github.io/memorystorage) 4 | 5 | [![npm](https://img.shields.io/npm/v/memorystorage.svg?maxAge=2592000)](https://npmjs.com/package/memorystorage) 6 | [![license](https://img.shields.io/npm/l/memorystorage.svg)](https://creativecommons.org/licenses/by/4.0/) 7 | [![travis](https://img.shields.io/travis/Download/memorystorage.svg)](https://travis-ci.org/Download/memorystorage) 8 | [![greenkeeper](https://img.shields.io/david/Download/memorystorage.svg?maxAge=2592000)](https://greenkeeper.io/) 9 | ![mind BLOWN](https://img.shields.io/badge/mind-BLOWN-ff69b4.svg) 10 | 11 | . 12 | 13 | ![logo](https://rawgit.com/download/memorystorage/0.12.0/memorystorage.png) 14 | 15 | . 16 | 17 | 18 | ## Installation 19 | **For Node** 20 | ```sh 21 | npm install --save memorystorage 22 | ``` 23 | 24 | **For browsers** 25 | ## Include on your page 26 | `memorystorage` can be used directly from CDN, from a local script file, or from a module loader. 27 | 28 | ### CDN 29 | This is by far the easiest method and gives good performance to boost. Use this if you are in doubt. 30 | ```xml 31 | 32 | ``` 33 | 34 | ### Local script file 35 | Download memorystorage.min.js, place it in a folder `lib` in the root of your website and include it like this: 36 | ```xml 37 | 38 | ``` 39 | 40 | #### Download 41 | * [memorystorage.umd.js](https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.umd.js) (~4kB, commented) 42 | * [memorystorage.min.js](https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.min.js) (~2kB, minified) 43 | * [memorystorage.min.js.map](https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.min.js.map) (~2kB, debug map file) 44 | 45 | ### Module loaders 46 | Memorystorage implements the Universal Module Pattern and as such, is available to be consumed 47 | from Node modules as well as via an AMD loader such as RequireJS. 48 | 49 | #### Node 50 | ```javascript 51 | var MemoryStorage = require('memorystorage'); 52 | // here, the MemoryStorage function is available 53 | var myStorage = new MemoryStorage('my-app'); 54 | ``` 55 | 56 | #### AMD 57 | ```javascript 58 | define(['memorystorage'], function(MemoryStorage){ 59 | // here, the MemoryStorage function is available 60 | var myStorage = new MemoryStorage('my-app'); 61 | }); 62 | ``` 63 | To be able to load MemoryStorage from CDN as an AMD module, configure the CDN url like so (note the absence of `.js` in the url): 64 | ```javascript 65 | require.config({ 66 | paths: { 67 | 'memorystorage': 'https://cdn.rawgit.com/download/memorystorage/0.12.0/dist/memorystorage.min' 68 | } 69 | }); 70 | ``` 71 | 72 | #### ES2015 73 | ```js 74 | import MemoryStorage from 'memorystorage' 75 | // here, the MemoryStorage function is available 76 | const myStorage = new MemoryStorage('my-app'); 77 | ``` 78 | 79 | ## Create a memory storage object 80 | The `MemoryStorage` function creates (or returns) a storage object implementing the W3C Web Storage API. 81 | By default, scripts share a `global` storage object, so scripts can access and mutate each other's store 82 | object. To have MemoryStorage create a storage object that is isolated from other scripts, you pass in 83 | a unique ID which acts as a namespace: 84 | 85 | ```javascript 86 | var isolated = new MemoryStorage('my-app'); // isolated from other scripts, recommended. 87 | ``` 88 | 89 | If you don't pass in an ID, or use the ID `'global'`, you get a globally shared storage object: 90 | 91 | ```javascript 92 | var global = new MemoryStorage(); // will default to a globally shared storage object. 93 | var global2 = new MemoryStorage('global'); // effectively same as above 94 | ``` 95 | 96 | For your convenience, the constructor permits `new`-less invocation: 97 | ```javascript 98 | var store = MemoryStorage('my-store'); 99 | var global = MemoryStorage(); 100 | ``` 101 | 102 | Instances of `MemoryStorage` expose an immutable `id` property that is set to 103 | the id the store was created with: 104 | 105 | ```javascript 106 | alert(store.id); // alerts 'my-store' 107 | alert(global.id); // alerts 'global' 108 | ``` 109 | 110 | ## Use it 111 | ```javascript 112 | store.setItem('myString', 'Hello MemoryStorage!'); 113 | store.myObject = JSON.stringify({my: 'object'})); 114 | alert(store.getItem('My string')); // alerts 'Hello MemoryStorage!' 115 | alert(store['My string']); // alerts 'Hello MemoryStorage!' 116 | alert(store.length); // alerts '2' 117 | alert(store.key(1)); // alerts 'My object' 118 | store.removeItem('My string'); 119 | alert(store.length); // alerts '1' 120 | store.clear(); 121 | alert(store.length); // alerts '0' 122 | ``` 123 | 124 | ## Staying within the Web Storage API 125 | The Web Storage API is pretty small. For discovering which key-value pairs are available within 126 | the storage object, you basically only have the `length` property and the `key(idx)` function. 127 | The same applies to reading, writing and removing keys. You have the functions `getItem`, `setItem` 128 | and `removeItem` and there is `clear` but that pretty much sums it up. 129 | 130 | In practice there are many other ways to interact with storage objects, such as `store[myKey] = myValue`, 131 | or `delete store[myKey]` or `Object.keys(store)` etc, but please remember that when you use these 132 | constructs, you venture outside the interface provided by the Web Storage API and run the risk of 133 | incompatibility. 134 | 135 | This project is committed to be as compatible as possible with the `localStorage` object present in 136 | real-life browsers, but due to inherent limitations to the Javascript language, it's impossible to 137 | guarantee the same behavior in all instances if you go beyond the Web Storage API. 138 | 139 | ### Example of going outside of the API 140 | Here is some code to print all the keys and values in the `store` object that does not limit itself 141 | to the Web Storage API: 142 | ```js 143 | var keys = Object.keys(store); 144 | for (var i=0; i=0&&aWeb Storage API using memory. 15 | * 16 | *

If no arguments are given, the created memory storage object will read from and write to the 17 | * global memory storage. If a string argument is given, the new storage object 18 | * will read from and write to it's own segment of memory. Any data written to such a memory 19 | * storage object will only show up in other memory storage objects that have been created with 20 | * the same id. This data will not show up in the global memory space. As such it 21 | * is recommended to always construct a memory storage object with a unique string id as argument.

22 | * 23 | * @param id Optional string argument used to isolate this memory storage object from others. 24 | */ 25 | function MemoryStorage(id) { 26 | // make sure id is assigned 27 | id = id || 'global' 28 | // try to get existing store 29 | var result = storage[id] 30 | // return it if found 31 | if (result) {return result} 32 | 33 | // make sure there is no harm in leaving out new in invocations to MemoryStorage 34 | if (! (this instanceof MemoryStorage)) {return new MemoryStorage(id);} 35 | 36 | // create a new store and save a ref to it so we can get it back later 37 | result = storage[id] = this; 38 | // create a space to store 'cloaked' key/values: items that have a key 39 | // that collides with Web Storage API method names. 40 | var cloak = {}; 41 | 42 | // Allow client code to read the id 43 | Object.defineProperty(result, 'id', {enumerable:true, configurable:true, value:id}) 44 | 45 | // Create the length property 46 | Object.defineProperty(result, 'length', {enumerable:true, configurable:true, get:function(){ 47 | return enumerableKeys().length 48 | }}) 49 | 50 | // Create API methods 51 | result.getItem = function MemoryStorage_getItem(key) { 52 | return (key in API ? cloak[key] : this[key]) || null 53 | } 54 | result.setItem = function MemoryStorage_setItem(key, val) { 55 | key in API ? cloak[key] = val : this[key] = val 56 | } 57 | result.removeItem = function MemoryStorage_removeItem(key) { 58 | key in API ? delete cloak[key] : delete this[key] 59 | } 60 | result.key = function MemoryStorage_key(idx) { 61 | var keys = enumerableKeys() 62 | return idx >= 0 && idx < keys.length ? keys[idx] : null 63 | } 64 | result.clear = function MemoryStorage_clear() { 65 | var keys = uncloakedKeys() 66 | for (var i=0,key; key=keys[i]; i++) { 67 | delete this[key] 68 | } 69 | keys = cloakedKeys() 70 | for (var i=0,key; key=keys[i]; i++) { 71 | delete cloak[key] 72 | } 73 | } 74 | 75 | // Wrap in ES6 Proxy if available to support Object.keys() on a MemoryStorage object 76 | return typeof Proxy === 'undefined' ? result : new Proxy(result, {ownKeys: function() {return enumerableKeys()}}) 77 | 78 | // helper functions 79 | function uncloakedKeys() {return Object.keys(result).filter(function(x){return !(x in API)})} 80 | function cloakedKeys() {return Object.keys(cloak)} 81 | function enumerableKeys(){return uncloakedKeys().concat(cloakedKeys())} 82 | } 83 | 84 | // API methods and properties will be cloaked 85 | var API = {clear:1, getItem:1, id:1, key:1, length:1, removeItem:1, setItem:1} 86 | 87 | // Used to store all memorystorage objects 88 | var storage = {}; 89 | 90 | 91 | return MemoryStorage; 92 | })); 93 | -------------------------------------------------------------------------------- /gruntfile.js: -------------------------------------------------------------------------------- 1 | module.exports = function(grunt) { 2 | require('load-grunt-tasks')(grunt); 3 | 4 | var pkg = grunt.file.readJSON('package.json'); 5 | grunt.initConfig({ 6 | pkg: pkg, 7 | umd: { 8 | all: { 9 | options: { 10 | src: '<%= pkg.src %>', 11 | dest: '<%= pkg.dist.umd %>', 12 | template: 'umd-lite.hbs', 13 | objectToExport: '<%= pkg.exports[0] %>', 14 | amdModuleId: '<%= pkg.name %>' 15 | } 16 | } 17 | }, 18 | uglify: { 19 | options:{ 20 | banner : '/*! <%= pkg.name %> <%= pkg.version %> <%= pkg.copyright %> License: <%= pkg.license %> */', 21 | mangle: { 22 | except: pkg.exports.concat(['u','m','d']) 23 | }, 24 | sourceMap: true 25 | }, 26 | admin: { 27 | files: { 28 | '<%= pkg.dist.min %>': ['<%= pkg.dist.umd %>'] 29 | } 30 | } 31 | }, 32 | }); 33 | 34 | grunt.registerTask('default', [ 35 | 'umd', 36 | 'uglify', 37 | ]); 38 | } 39 | -------------------------------------------------------------------------------- /memorystorage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Download/memorystorage/cf012f5b5523cb584325a3c5f28d6c39c445e84d/memorystorage.png -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "memorystorage", 3 | "version": "0.12.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "abbrev": { 8 | "version": "1.1.1", 9 | "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", 10 | "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", 11 | "dev": true 12 | }, 13 | "ajv": { 14 | "version": "6.12.6", 15 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 16 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 17 | "dev": true, 18 | "requires": { 19 | "fast-deep-equal": "^3.1.1", 20 | "fast-json-stable-stringify": "^2.0.0", 21 | "json-schema-traverse": "^0.4.1", 22 | "uri-js": "^4.2.2" 23 | } 24 | }, 25 | "alphabet": { 26 | "version": "1.0.0", 27 | "resolved": "https://registry.npmjs.org/alphabet/-/alphabet-1.0.0.tgz", 28 | "integrity": "sha1-DY+Byj94NVEm1yTRRUh+Hk7zd8A=", 29 | "dev": true 30 | }, 31 | "annois": { 32 | "version": "0.3.2", 33 | "resolved": "https://registry.npmjs.org/annois/-/annois-0.3.2.tgz", 34 | "integrity": "sha1-b2Fp7jdPhND9ANtYnFtAPbT5SwU=", 35 | "dev": true 36 | }, 37 | "annotate": { 38 | "version": "0.9.1", 39 | "resolved": "https://registry.npmjs.org/annotate/-/annotate-0.9.1.tgz", 40 | "integrity": "sha1-ODA+ZWhE5MwXR2DjRDsjv2VHK9M=", 41 | "dev": true, 42 | "requires": { 43 | "annois": "0.3.0" 44 | }, 45 | "dependencies": { 46 | "annois": { 47 | "version": "0.3.0", 48 | "resolved": "https://registry.npmjs.org/annois/-/annois-0.3.0.tgz", 49 | "integrity": "sha1-BcW8WQDoKGgX6IaEuOfjSKniQ0Q=", 50 | "dev": true 51 | } 52 | } 53 | }, 54 | "annozip": { 55 | "version": "0.2.6", 56 | "resolved": "https://registry.npmjs.org/annozip/-/annozip-0.2.6.tgz", 57 | "integrity": "sha1-4Yorw+KHHwYeC+yhwdGozQRlCZs=", 58 | "dev": true, 59 | "requires": { 60 | "annois": "^0.3.2", 61 | "annotate": "^0.9.1" 62 | } 63 | }, 64 | "ansi-regex": { 65 | "version": "2.1.1", 66 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 67 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 68 | "dev": true 69 | }, 70 | "ansi-styles": { 71 | "version": "4.3.0", 72 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 73 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 74 | "dev": true, 75 | "requires": { 76 | "color-convert": "^2.0.1" 77 | } 78 | }, 79 | "argparse": { 80 | "version": "1.0.10", 81 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 82 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 83 | "dev": true, 84 | "requires": { 85 | "sprintf-js": "~1.0.2" 86 | }, 87 | "dependencies": { 88 | "sprintf-js": { 89 | "version": "1.0.3", 90 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 91 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 92 | "dev": true 93 | } 94 | } 95 | }, 96 | "arr-diff": { 97 | "version": "4.0.0", 98 | "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", 99 | "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", 100 | "dev": true 101 | }, 102 | "arr-flatten": { 103 | "version": "1.1.0", 104 | "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", 105 | "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", 106 | "dev": true 107 | }, 108 | "arr-union": { 109 | "version": "3.1.0", 110 | "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", 111 | "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", 112 | "dev": true 113 | }, 114 | "array-differ": { 115 | "version": "1.0.0", 116 | "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz", 117 | "integrity": "sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=", 118 | "dev": true 119 | }, 120 | "array-each": { 121 | "version": "1.0.1", 122 | "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", 123 | "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=", 124 | "dev": true 125 | }, 126 | "array-find-index": { 127 | "version": "1.0.2", 128 | "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", 129 | "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", 130 | "dev": true 131 | }, 132 | "array-slice": { 133 | "version": "1.1.0", 134 | "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", 135 | "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", 136 | "dev": true 137 | }, 138 | "array-union": { 139 | "version": "1.0.2", 140 | "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", 141 | "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", 142 | "dev": true, 143 | "requires": { 144 | "array-uniq": "^1.0.1" 145 | } 146 | }, 147 | "array-uniq": { 148 | "version": "1.0.3", 149 | "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", 150 | "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", 151 | "dev": true 152 | }, 153 | "array-unique": { 154 | "version": "0.3.2", 155 | "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", 156 | "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", 157 | "dev": true 158 | }, 159 | "arrify": { 160 | "version": "1.0.1", 161 | "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", 162 | "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", 163 | "dev": true 164 | }, 165 | "asn1": { 166 | "version": "0.2.4", 167 | "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", 168 | "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", 169 | "dev": true, 170 | "requires": { 171 | "safer-buffer": "~2.1.0" 172 | } 173 | }, 174 | "assert-plus": { 175 | "version": "1.0.0", 176 | "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", 177 | "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", 178 | "dev": true 179 | }, 180 | "assign-symbols": { 181 | "version": "1.0.0", 182 | "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", 183 | "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", 184 | "dev": true 185 | }, 186 | "async": { 187 | "version": "1.5.2", 188 | "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", 189 | "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", 190 | "dev": true 191 | }, 192 | "asynckit": { 193 | "version": "0.4.0", 194 | "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", 195 | "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", 196 | "dev": true 197 | }, 198 | "atob": { 199 | "version": "2.1.2", 200 | "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", 201 | "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", 202 | "dev": true 203 | }, 204 | "aws-sign2": { 205 | "version": "0.7.0", 206 | "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", 207 | "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", 208 | "dev": true 209 | }, 210 | "aws4": { 211 | "version": "1.11.0", 212 | "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", 213 | "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", 214 | "dev": true 215 | }, 216 | "balanced-match": { 217 | "version": "1.0.0", 218 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 219 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", 220 | "dev": true 221 | }, 222 | "base": { 223 | "version": "0.11.2", 224 | "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", 225 | "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", 226 | "dev": true, 227 | "requires": { 228 | "cache-base": "^1.0.1", 229 | "class-utils": "^0.3.5", 230 | "component-emitter": "^1.2.1", 231 | "define-property": "^1.0.0", 232 | "isobject": "^3.0.1", 233 | "mixin-deep": "^1.2.0", 234 | "pascalcase": "^0.1.1" 235 | }, 236 | "dependencies": { 237 | "define-property": { 238 | "version": "1.0.0", 239 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", 240 | "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", 241 | "dev": true, 242 | "requires": { 243 | "is-descriptor": "^1.0.0" 244 | } 245 | }, 246 | "is-accessor-descriptor": { 247 | "version": "1.0.0", 248 | "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", 249 | "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", 250 | "dev": true, 251 | "requires": { 252 | "kind-of": "^6.0.0" 253 | } 254 | }, 255 | "is-data-descriptor": { 256 | "version": "1.0.0", 257 | "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", 258 | "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", 259 | "dev": true, 260 | "requires": { 261 | "kind-of": "^6.0.0" 262 | } 263 | }, 264 | "is-descriptor": { 265 | "version": "1.0.2", 266 | "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", 267 | "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", 268 | "dev": true, 269 | "requires": { 270 | "is-accessor-descriptor": "^1.0.0", 271 | "is-data-descriptor": "^1.0.0", 272 | "kind-of": "^6.0.2" 273 | } 274 | } 275 | } 276 | }, 277 | "bcrypt-pbkdf": { 278 | "version": "1.0.2", 279 | "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", 280 | "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", 281 | "dev": true, 282 | "requires": { 283 | "tweetnacl": "^0.14.3" 284 | } 285 | }, 286 | "brace-expansion": { 287 | "version": "1.1.11", 288 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 289 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 290 | "dev": true, 291 | "requires": { 292 | "balanced-match": "^1.0.0", 293 | "concat-map": "0.0.1" 294 | } 295 | }, 296 | "braces": { 297 | "version": "2.3.2", 298 | "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", 299 | "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", 300 | "dev": true, 301 | "requires": { 302 | "arr-flatten": "^1.1.0", 303 | "array-unique": "^0.3.2", 304 | "extend-shallow": "^2.0.1", 305 | "fill-range": "^4.0.0", 306 | "isobject": "^3.0.1", 307 | "repeat-element": "^1.1.2", 308 | "snapdragon": "^0.8.1", 309 | "snapdragon-node": "^2.0.1", 310 | "split-string": "^3.0.2", 311 | "to-regex": "^3.0.1" 312 | }, 313 | "dependencies": { 314 | "extend-shallow": { 315 | "version": "2.0.1", 316 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", 317 | "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", 318 | "dev": true, 319 | "requires": { 320 | "is-extendable": "^0.1.0" 321 | } 322 | } 323 | } 324 | }, 325 | "browserify-zlib": { 326 | "version": "0.1.4", 327 | "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.1.4.tgz", 328 | "integrity": "sha1-uzX4pRn2AOD6a4SFJByXnQFB+y0=", 329 | "dev": true, 330 | "requires": { 331 | "pako": "~0.2.0" 332 | } 333 | }, 334 | "buffer-crc32": { 335 | "version": "0.2.13", 336 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", 337 | "integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=", 338 | "dev": true 339 | }, 340 | "buffer-from": { 341 | "version": "1.1.1", 342 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", 343 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", 344 | "dev": true 345 | }, 346 | "cache-base": { 347 | "version": "1.0.1", 348 | "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", 349 | "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", 350 | "dev": true, 351 | "requires": { 352 | "collection-visit": "^1.0.0", 353 | "component-emitter": "^1.2.1", 354 | "get-value": "^2.0.6", 355 | "has-value": "^1.0.0", 356 | "isobject": "^3.0.1", 357 | "set-value": "^2.0.0", 358 | "to-object-path": "^0.3.0", 359 | "union-value": "^1.0.0", 360 | "unset-value": "^1.0.0" 361 | } 362 | }, 363 | "camelcase": { 364 | "version": "2.1.1", 365 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", 366 | "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", 367 | "dev": true 368 | }, 369 | "camelcase-keys": { 370 | "version": "2.1.0", 371 | "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", 372 | "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", 373 | "dev": true, 374 | "requires": { 375 | "camelcase": "^2.0.0", 376 | "map-obj": "^1.0.0" 377 | } 378 | }, 379 | "caseless": { 380 | "version": "0.12.0", 381 | "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", 382 | "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", 383 | "dev": true 384 | }, 385 | "chalk": { 386 | "version": "4.1.0", 387 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", 388 | "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", 389 | "dev": true, 390 | "requires": { 391 | "ansi-styles": "^4.1.0", 392 | "supports-color": "^7.1.0" 393 | } 394 | }, 395 | "class-utils": { 396 | "version": "0.3.6", 397 | "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", 398 | "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", 399 | "dev": true, 400 | "requires": { 401 | "arr-union": "^3.1.0", 402 | "define-property": "^0.2.5", 403 | "isobject": "^3.0.0", 404 | "static-extend": "^0.1.1" 405 | }, 406 | "dependencies": { 407 | "define-property": { 408 | "version": "0.2.5", 409 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", 410 | "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", 411 | "dev": true, 412 | "requires": { 413 | "is-descriptor": "^0.1.0" 414 | } 415 | } 416 | } 417 | }, 418 | "clone-function": { 419 | "version": "1.0.6", 420 | "resolved": "https://registry.npmjs.org/clone-function/-/clone-function-1.0.6.tgz", 421 | "integrity": "sha1-QoRxk3dQvKnEjsv7wW9uIy90oD0=", 422 | "dev": true 423 | }, 424 | "collection-visit": { 425 | "version": "1.0.0", 426 | "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", 427 | "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", 428 | "dev": true, 429 | "requires": { 430 | "map-visit": "^1.0.0", 431 | "object-visit": "^1.0.0" 432 | } 433 | }, 434 | "color-convert": { 435 | "version": "2.0.1", 436 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 437 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 438 | "dev": true, 439 | "requires": { 440 | "color-name": "~1.1.4" 441 | } 442 | }, 443 | "color-name": { 444 | "version": "1.1.4", 445 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 446 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 447 | "dev": true 448 | }, 449 | "colors": { 450 | "version": "1.1.2", 451 | "resolved": "https://registry.npmjs.org/colors/-/colors-1.1.2.tgz", 452 | "integrity": "sha1-FopHAXVran9RoSzgyXv6KMCE7WM=", 453 | "dev": true 454 | }, 455 | "combined-stream": { 456 | "version": "1.0.8", 457 | "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", 458 | "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", 459 | "dev": true, 460 | "requires": { 461 | "delayed-stream": "~1.0.0" 462 | } 463 | }, 464 | "commander": { 465 | "version": "2.11.0", 466 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", 467 | "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==", 468 | "dev": true 469 | }, 470 | "component-emitter": { 471 | "version": "1.3.0", 472 | "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", 473 | "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", 474 | "dev": true 475 | }, 476 | "concat-map": { 477 | "version": "0.0.1", 478 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 479 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 480 | "dev": true 481 | }, 482 | "concat-stream": { 483 | "version": "1.6.2", 484 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 485 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 486 | "dev": true, 487 | "requires": { 488 | "buffer-from": "^1.0.0", 489 | "inherits": "^2.0.3", 490 | "readable-stream": "^2.2.2", 491 | "typedarray": "^0.0.6" 492 | } 493 | }, 494 | "copy-descriptor": { 495 | "version": "0.1.1", 496 | "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", 497 | "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", 498 | "dev": true 499 | }, 500 | "core-util-is": { 501 | "version": "1.0.2", 502 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 503 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", 504 | "dev": true 505 | }, 506 | "currently-unhandled": { 507 | "version": "0.4.1", 508 | "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", 509 | "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", 510 | "dev": true, 511 | "requires": { 512 | "array-find-index": "^1.0.1" 513 | } 514 | }, 515 | "dashdash": { 516 | "version": "1.14.1", 517 | "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", 518 | "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", 519 | "dev": true, 520 | "requires": { 521 | "assert-plus": "^1.0.0" 522 | } 523 | }, 524 | "dateformat": { 525 | "version": "3.0.3", 526 | "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", 527 | "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", 528 | "dev": true 529 | }, 530 | "debug": { 531 | "version": "2.6.9", 532 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 533 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 534 | "dev": true, 535 | "requires": { 536 | "ms": "2.0.0" 537 | } 538 | }, 539 | "decamelize": { 540 | "version": "1.2.0", 541 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", 542 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", 543 | "dev": true 544 | }, 545 | "decode-uri-component": { 546 | "version": "0.2.0", 547 | "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", 548 | "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", 549 | "dev": true 550 | }, 551 | "define-property": { 552 | "version": "2.0.2", 553 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", 554 | "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", 555 | "dev": true, 556 | "requires": { 557 | "is-descriptor": "^1.0.2", 558 | "isobject": "^3.0.1" 559 | }, 560 | "dependencies": { 561 | "is-accessor-descriptor": { 562 | "version": "1.0.0", 563 | "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", 564 | "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", 565 | "dev": true, 566 | "requires": { 567 | "kind-of": "^6.0.0" 568 | } 569 | }, 570 | "is-data-descriptor": { 571 | "version": "1.0.0", 572 | "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", 573 | "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", 574 | "dev": true, 575 | "requires": { 576 | "kind-of": "^6.0.0" 577 | } 578 | }, 579 | "is-descriptor": { 580 | "version": "1.0.2", 581 | "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", 582 | "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", 583 | "dev": true, 584 | "requires": { 585 | "is-accessor-descriptor": "^1.0.0", 586 | "is-data-descriptor": "^1.0.0", 587 | "kind-of": "^6.0.2" 588 | } 589 | } 590 | } 591 | }, 592 | "delayed-stream": { 593 | "version": "1.0.0", 594 | "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", 595 | "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", 596 | "dev": true 597 | }, 598 | "detect-file": { 599 | "version": "1.0.0", 600 | "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", 601 | "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", 602 | "dev": true 603 | }, 604 | "ecc-jsbn": { 605 | "version": "0.1.2", 606 | "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", 607 | "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", 608 | "dev": true, 609 | "requires": { 610 | "jsbn": "~0.1.0", 611 | "safer-buffer": "^2.1.0" 612 | } 613 | }, 614 | "error-ex": { 615 | "version": "1.3.2", 616 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 617 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 618 | "dev": true, 619 | "requires": { 620 | "is-arrayish": "^0.2.1" 621 | } 622 | }, 623 | "es6-promise": { 624 | "version": "4.2.8", 625 | "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", 626 | "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==", 627 | "dev": true 628 | }, 629 | "escape-string-regexp": { 630 | "version": "1.0.5", 631 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 632 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 633 | "dev": true 634 | }, 635 | "esprima": { 636 | "version": "4.0.1", 637 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 638 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 639 | "dev": true 640 | }, 641 | "eventemitter2": { 642 | "version": "0.4.14", 643 | "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz", 644 | "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=", 645 | "dev": true 646 | }, 647 | "exit": { 648 | "version": "0.1.2", 649 | "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", 650 | "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", 651 | "dev": true 652 | }, 653 | "expand-brackets": { 654 | "version": "2.1.4", 655 | "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", 656 | "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", 657 | "dev": true, 658 | "requires": { 659 | "debug": "^2.3.3", 660 | "define-property": "^0.2.5", 661 | "extend-shallow": "^2.0.1", 662 | "posix-character-classes": "^0.1.0", 663 | "regex-not": "^1.0.0", 664 | "snapdragon": "^0.8.1", 665 | "to-regex": "^3.0.1" 666 | }, 667 | "dependencies": { 668 | "define-property": { 669 | "version": "0.2.5", 670 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", 671 | "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", 672 | "dev": true, 673 | "requires": { 674 | "is-descriptor": "^0.1.0" 675 | } 676 | }, 677 | "extend-shallow": { 678 | "version": "2.0.1", 679 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", 680 | "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", 681 | "dev": true, 682 | "requires": { 683 | "is-extendable": "^0.1.0" 684 | } 685 | } 686 | } 687 | }, 688 | "expand-tilde": { 689 | "version": "2.0.2", 690 | "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", 691 | "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", 692 | "dev": true, 693 | "requires": { 694 | "homedir-polyfill": "^1.0.1" 695 | } 696 | }, 697 | "extend": { 698 | "version": "3.0.2", 699 | "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", 700 | "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", 701 | "dev": true 702 | }, 703 | "extend-shallow": { 704 | "version": "3.0.2", 705 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", 706 | "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", 707 | "dev": true, 708 | "requires": { 709 | "assign-symbols": "^1.0.0", 710 | "is-extendable": "^1.0.1" 711 | }, 712 | "dependencies": { 713 | "is-extendable": { 714 | "version": "1.0.1", 715 | "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", 716 | "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", 717 | "dev": true, 718 | "requires": { 719 | "is-plain-object": "^2.0.4" 720 | } 721 | } 722 | } 723 | }, 724 | "extglob": { 725 | "version": "2.0.4", 726 | "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", 727 | "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", 728 | "dev": true, 729 | "requires": { 730 | "array-unique": "^0.3.2", 731 | "define-property": "^1.0.0", 732 | "expand-brackets": "^2.1.4", 733 | "extend-shallow": "^2.0.1", 734 | "fragment-cache": "^0.2.1", 735 | "regex-not": "^1.0.0", 736 | "snapdragon": "^0.8.1", 737 | "to-regex": "^3.0.1" 738 | }, 739 | "dependencies": { 740 | "define-property": { 741 | "version": "1.0.0", 742 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", 743 | "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", 744 | "dev": true, 745 | "requires": { 746 | "is-descriptor": "^1.0.0" 747 | } 748 | }, 749 | "extend-shallow": { 750 | "version": "2.0.1", 751 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", 752 | "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", 753 | "dev": true, 754 | "requires": { 755 | "is-extendable": "^0.1.0" 756 | } 757 | }, 758 | "is-accessor-descriptor": { 759 | "version": "1.0.0", 760 | "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", 761 | "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", 762 | "dev": true, 763 | "requires": { 764 | "kind-of": "^6.0.0" 765 | } 766 | }, 767 | "is-data-descriptor": { 768 | "version": "1.0.0", 769 | "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", 770 | "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", 771 | "dev": true, 772 | "requires": { 773 | "kind-of": "^6.0.0" 774 | } 775 | }, 776 | "is-descriptor": { 777 | "version": "1.0.2", 778 | "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", 779 | "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", 780 | "dev": true, 781 | "requires": { 782 | "is-accessor-descriptor": "^1.0.0", 783 | "is-data-descriptor": "^1.0.0", 784 | "kind-of": "^6.0.2" 785 | } 786 | } 787 | } 788 | }, 789 | "extract-zip": { 790 | "version": "1.7.0", 791 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", 792 | "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", 793 | "dev": true, 794 | "requires": { 795 | "concat-stream": "^1.6.2", 796 | "debug": "^2.6.9", 797 | "mkdirp": "^0.5.4", 798 | "yauzl": "^2.10.0" 799 | }, 800 | "dependencies": { 801 | "mkdirp": { 802 | "version": "0.5.5", 803 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", 804 | "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", 805 | "dev": true, 806 | "requires": { 807 | "minimist": "^1.2.5" 808 | } 809 | } 810 | } 811 | }, 812 | "extsprintf": { 813 | "version": "1.3.0", 814 | "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", 815 | "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", 816 | "dev": true 817 | }, 818 | "fast-deep-equal": { 819 | "version": "3.1.3", 820 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 821 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 822 | "dev": true 823 | }, 824 | "fast-json-stable-stringify": { 825 | "version": "2.1.0", 826 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 827 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", 828 | "dev": true 829 | }, 830 | "fd-slicer": { 831 | "version": "1.1.0", 832 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", 833 | "integrity": "sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=", 834 | "dev": true, 835 | "requires": { 836 | "pend": "~1.2.0" 837 | } 838 | }, 839 | "figures": { 840 | "version": "1.7.0", 841 | "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", 842 | "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", 843 | "dev": true, 844 | "requires": { 845 | "escape-string-regexp": "^1.0.5", 846 | "object-assign": "^4.1.0" 847 | } 848 | }, 849 | "fill-range": { 850 | "version": "4.0.0", 851 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", 852 | "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", 853 | "dev": true, 854 | "requires": { 855 | "extend-shallow": "^2.0.1", 856 | "is-number": "^3.0.0", 857 | "repeat-string": "^1.6.1", 858 | "to-regex-range": "^2.1.0" 859 | }, 860 | "dependencies": { 861 | "extend-shallow": { 862 | "version": "2.0.1", 863 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", 864 | "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", 865 | "dev": true, 866 | "requires": { 867 | "is-extendable": "^0.1.0" 868 | } 869 | } 870 | } 871 | }, 872 | "find-up": { 873 | "version": "1.1.2", 874 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", 875 | "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", 876 | "dev": true, 877 | "requires": { 878 | "path-exists": "^2.0.0", 879 | "pinkie-promise": "^2.0.0" 880 | } 881 | }, 882 | "findup-sync": { 883 | "version": "0.3.0", 884 | "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-0.3.0.tgz", 885 | "integrity": "sha1-N5MKpdgWt3fANEXhlmzGeQpMCxY=", 886 | "dev": true, 887 | "requires": { 888 | "glob": "~5.0.0" 889 | }, 890 | "dependencies": { 891 | "glob": { 892 | "version": "5.0.15", 893 | "resolved": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", 894 | "integrity": "sha1-G8k2ueAvSmA/zCIuz3Yz0wuLk7E=", 895 | "dev": true, 896 | "requires": { 897 | "inflight": "^1.0.4", 898 | "inherits": "2", 899 | "minimatch": "2 || 3", 900 | "once": "^1.3.0", 901 | "path-is-absolute": "^1.0.0" 902 | } 903 | } 904 | } 905 | }, 906 | "fined": { 907 | "version": "1.2.0", 908 | "resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz", 909 | "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==", 910 | "dev": true, 911 | "requires": { 912 | "expand-tilde": "^2.0.2", 913 | "is-plain-object": "^2.0.3", 914 | "object.defaults": "^1.1.0", 915 | "object.pick": "^1.2.0", 916 | "parse-filepath": "^1.0.1" 917 | } 918 | }, 919 | "flagged-respawn": { 920 | "version": "1.0.1", 921 | "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz", 922 | "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==", 923 | "dev": true 924 | }, 925 | "for-in": { 926 | "version": "1.0.2", 927 | "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", 928 | "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", 929 | "dev": true 930 | }, 931 | "for-own": { 932 | "version": "1.0.0", 933 | "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", 934 | "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", 935 | "dev": true, 936 | "requires": { 937 | "for-in": "^1.0.1" 938 | } 939 | }, 940 | "forever-agent": { 941 | "version": "0.6.1", 942 | "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", 943 | "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", 944 | "dev": true 945 | }, 946 | "form-data": { 947 | "version": "2.3.3", 948 | "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", 949 | "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", 950 | "dev": true, 951 | "requires": { 952 | "asynckit": "^0.4.0", 953 | "combined-stream": "^1.0.6", 954 | "mime-types": "^2.1.12" 955 | } 956 | }, 957 | "fragment-cache": { 958 | "version": "0.2.1", 959 | "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", 960 | "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", 961 | "dev": true, 962 | "requires": { 963 | "map-cache": "^0.2.2" 964 | } 965 | }, 966 | "fs-extra": { 967 | "version": "1.0.0", 968 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-1.0.0.tgz", 969 | "integrity": "sha1-zTzl9+fLYUWIP8rjGR6Yd/hYeVA=", 970 | "dev": true, 971 | "requires": { 972 | "graceful-fs": "^4.1.2", 973 | "jsonfile": "^2.1.0", 974 | "klaw": "^1.0.0" 975 | } 976 | }, 977 | "fs.realpath": { 978 | "version": "1.0.0", 979 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 980 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 981 | "dev": true 982 | }, 983 | "function-bind": { 984 | "version": "1.1.1", 985 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 986 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 987 | "dev": true 988 | }, 989 | "get-stdin": { 990 | "version": "4.0.1", 991 | "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", 992 | "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", 993 | "dev": true 994 | }, 995 | "get-value": { 996 | "version": "2.0.6", 997 | "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", 998 | "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", 999 | "dev": true 1000 | }, 1001 | "getobject": { 1002 | "version": "0.1.0", 1003 | "resolved": "https://registry.npmjs.org/getobject/-/getobject-0.1.0.tgz", 1004 | "integrity": "sha1-BHpEl4n6Fg0Bj1SG7ZEyC27HiFw=", 1005 | "dev": true 1006 | }, 1007 | "getpass": { 1008 | "version": "0.1.7", 1009 | "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", 1010 | "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", 1011 | "dev": true, 1012 | "requires": { 1013 | "assert-plus": "^1.0.0" 1014 | } 1015 | }, 1016 | "glob": { 1017 | "version": "7.1.6", 1018 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 1019 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 1020 | "dev": true, 1021 | "requires": { 1022 | "fs.realpath": "^1.0.0", 1023 | "inflight": "^1.0.4", 1024 | "inherits": "2", 1025 | "minimatch": "^3.0.4", 1026 | "once": "^1.3.0", 1027 | "path-is-absolute": "^1.0.0" 1028 | } 1029 | }, 1030 | "global-modules": { 1031 | "version": "1.0.0", 1032 | "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", 1033 | "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", 1034 | "dev": true, 1035 | "requires": { 1036 | "global-prefix": "^1.0.1", 1037 | "is-windows": "^1.0.1", 1038 | "resolve-dir": "^1.0.0" 1039 | } 1040 | }, 1041 | "global-prefix": { 1042 | "version": "1.0.2", 1043 | "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", 1044 | "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", 1045 | "dev": true, 1046 | "requires": { 1047 | "expand-tilde": "^2.0.2", 1048 | "homedir-polyfill": "^1.0.1", 1049 | "ini": "^1.3.4", 1050 | "is-windows": "^1.0.1", 1051 | "which": "^1.2.14" 1052 | } 1053 | }, 1054 | "graceful-fs": { 1055 | "version": "4.2.4", 1056 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", 1057 | "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", 1058 | "dev": true 1059 | }, 1060 | "grunt": { 1061 | "version": "1.3.0", 1062 | "resolved": "https://registry.npmjs.org/grunt/-/grunt-1.3.0.tgz", 1063 | "integrity": "sha512-6ILlMXv11/4cxuhSMfSU+SfvbxrPuqZrAtLN64+tZpQ3DAKfSQPQHRbTjSbdtxfyQhGZPtN0bDZJ/LdCM5WXXA==", 1064 | "dev": true, 1065 | "requires": { 1066 | "dateformat": "~3.0.3", 1067 | "eventemitter2": "~0.4.13", 1068 | "exit": "~0.1.2", 1069 | "findup-sync": "~0.3.0", 1070 | "glob": "~7.1.6", 1071 | "grunt-cli": "~1.3.2", 1072 | "grunt-known-options": "~1.1.0", 1073 | "grunt-legacy-log": "~3.0.0", 1074 | "grunt-legacy-util": "~2.0.0", 1075 | "iconv-lite": "~0.4.13", 1076 | "js-yaml": "~3.14.0", 1077 | "minimatch": "~3.0.4", 1078 | "mkdirp": "~1.0.4", 1079 | "nopt": "~3.0.6", 1080 | "rimraf": "~3.0.2" 1081 | }, 1082 | "dependencies": { 1083 | "grunt-cli": { 1084 | "version": "1.3.2", 1085 | "resolved": "https://registry.npmjs.org/grunt-cli/-/grunt-cli-1.3.2.tgz", 1086 | "integrity": "sha512-8OHDiZZkcptxVXtMfDxJvmN7MVJNE8L/yIcPb4HB7TlyFD1kDvjHrb62uhySsU14wJx9ORMnTuhRMQ40lH/orQ==", 1087 | "dev": true, 1088 | "requires": { 1089 | "grunt-known-options": "~1.1.0", 1090 | "interpret": "~1.1.0", 1091 | "liftoff": "~2.5.0", 1092 | "nopt": "~4.0.1", 1093 | "v8flags": "~3.1.1" 1094 | }, 1095 | "dependencies": { 1096 | "nopt": { 1097 | "version": "4.0.3", 1098 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", 1099 | "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", 1100 | "dev": true, 1101 | "requires": { 1102 | "abbrev": "1", 1103 | "osenv": "^0.1.4" 1104 | } 1105 | } 1106 | } 1107 | } 1108 | } 1109 | }, 1110 | "grunt-contrib-uglify": { 1111 | "version": "3.0.1", 1112 | "resolved": "https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-3.0.1.tgz", 1113 | "integrity": "sha1-/etfk4pMgEL46Grkb2NVTo6VEcs=", 1114 | "dev": true, 1115 | "requires": { 1116 | "chalk": "^1.0.0", 1117 | "maxmin": "^1.1.0", 1118 | "uglify-js": "~3.0.4", 1119 | "uri-path": "^1.0.0" 1120 | }, 1121 | "dependencies": { 1122 | "ansi-styles": { 1123 | "version": "2.2.1", 1124 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 1125 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 1126 | "dev": true 1127 | }, 1128 | "chalk": { 1129 | "version": "1.1.3", 1130 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 1131 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 1132 | "dev": true, 1133 | "requires": { 1134 | "ansi-styles": "^2.2.1", 1135 | "escape-string-regexp": "^1.0.2", 1136 | "has-ansi": "^2.0.0", 1137 | "strip-ansi": "^3.0.0", 1138 | "supports-color": "^2.0.0" 1139 | } 1140 | }, 1141 | "supports-color": { 1142 | "version": "2.0.0", 1143 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 1144 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 1145 | "dev": true 1146 | } 1147 | } 1148 | }, 1149 | "grunt-known-options": { 1150 | "version": "1.1.1", 1151 | "resolved": "https://registry.npmjs.org/grunt-known-options/-/grunt-known-options-1.1.1.tgz", 1152 | "integrity": "sha512-cHwsLqoighpu7TuYj5RonnEuxGVFnztcUqTqp5rXFGYL4OuPFofwC4Ycg7n9fYwvK6F5WbYgeVOwph9Crs2fsQ==", 1153 | "dev": true 1154 | }, 1155 | "grunt-legacy-log": { 1156 | "version": "3.0.0", 1157 | "resolved": "https://registry.npmjs.org/grunt-legacy-log/-/grunt-legacy-log-3.0.0.tgz", 1158 | "integrity": "sha512-GHZQzZmhyq0u3hr7aHW4qUH0xDzwp2YXldLPZTCjlOeGscAOWWPftZG3XioW8MasGp+OBRIu39LFx14SLjXRcA==", 1159 | "dev": true, 1160 | "requires": { 1161 | "colors": "~1.1.2", 1162 | "grunt-legacy-log-utils": "~2.1.0", 1163 | "hooker": "~0.2.3", 1164 | "lodash": "~4.17.19" 1165 | } 1166 | }, 1167 | "grunt-legacy-log-utils": { 1168 | "version": "2.1.0", 1169 | "resolved": "https://registry.npmjs.org/grunt-legacy-log-utils/-/grunt-legacy-log-utils-2.1.0.tgz", 1170 | "integrity": "sha512-lwquaPXJtKQk0rUM1IQAop5noEpwFqOXasVoedLeNzaibf/OPWjKYvvdqnEHNmU+0T0CaReAXIbGo747ZD+Aaw==", 1171 | "dev": true, 1172 | "requires": { 1173 | "chalk": "~4.1.0", 1174 | "lodash": "~4.17.19" 1175 | } 1176 | }, 1177 | "grunt-legacy-util": { 1178 | "version": "2.0.0", 1179 | "resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-2.0.0.tgz", 1180 | "integrity": "sha512-ZEmYFB44bblwPE2oz3q3ygfF6hseQja9tx8I3UZIwbUik32FMWewA+d1qSFicMFB+8dNXDkh35HcDCWlpRsGlA==", 1181 | "dev": true, 1182 | "requires": { 1183 | "async": "~1.5.2", 1184 | "exit": "~0.1.1", 1185 | "getobject": "~0.1.0", 1186 | "hooker": "~0.2.3", 1187 | "lodash": "~4.17.20", 1188 | "underscore.string": "~3.3.5", 1189 | "which": "~1.3.0" 1190 | } 1191 | }, 1192 | "grunt-umd": { 1193 | "version": "2.4.0", 1194 | "resolved": "https://registry.npmjs.org/grunt-umd/-/grunt-umd-2.4.0.tgz", 1195 | "integrity": "sha1-0TGMZFukc0wQwgwd1pI0Z9gbBe8=", 1196 | "dev": true, 1197 | "requires": { 1198 | "libumd": "^0.7.0", 1199 | "xtend": "^4.0.0" 1200 | } 1201 | }, 1202 | "gzip-size": { 1203 | "version": "1.0.0", 1204 | "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-1.0.0.tgz", 1205 | "integrity": "sha1-Zs+LEBBHInuVus5uodoMF37Vwi8=", 1206 | "dev": true, 1207 | "requires": { 1208 | "browserify-zlib": "^0.1.4", 1209 | "concat-stream": "^1.4.1" 1210 | } 1211 | }, 1212 | "handlebars": { 1213 | "version": "4.7.6", 1214 | "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.6.tgz", 1215 | "integrity": "sha512-1f2BACcBfiwAfStCKZNrUCgqNZkGsAT7UM3kkYtXuLo0KnaVfjKOyf7PRzB6++aK9STyT1Pd2ZCPe3EGOXleXA==", 1216 | "dev": true, 1217 | "requires": { 1218 | "minimist": "^1.2.5", 1219 | "neo-async": "^2.6.0", 1220 | "source-map": "^0.6.1", 1221 | "uglify-js": "^3.1.4", 1222 | "wordwrap": "^1.0.0" 1223 | }, 1224 | "dependencies": { 1225 | "source-map": { 1226 | "version": "0.6.1", 1227 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1228 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", 1229 | "dev": true 1230 | }, 1231 | "uglify-js": { 1232 | "version": "3.11.5", 1233 | "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.11.5.tgz", 1234 | "integrity": "sha512-btvv/baMqe7HxP7zJSF7Uc16h1mSfuuSplT0/qdjxseesDU+yYzH33eHBH+eMdeRXwujXspaCTooWHQVVBh09w==", 1235 | "dev": true, 1236 | "optional": true 1237 | } 1238 | } 1239 | }, 1240 | "har-schema": { 1241 | "version": "2.0.0", 1242 | "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", 1243 | "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", 1244 | "dev": true 1245 | }, 1246 | "har-validator": { 1247 | "version": "5.1.5", 1248 | "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", 1249 | "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", 1250 | "dev": true, 1251 | "requires": { 1252 | "ajv": "^6.12.3", 1253 | "har-schema": "^2.0.0" 1254 | } 1255 | }, 1256 | "has": { 1257 | "version": "1.0.3", 1258 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1259 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1260 | "dev": true, 1261 | "requires": { 1262 | "function-bind": "^1.1.1" 1263 | } 1264 | }, 1265 | "has-ansi": { 1266 | "version": "2.0.0", 1267 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 1268 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 1269 | "dev": true, 1270 | "requires": { 1271 | "ansi-regex": "^2.0.0" 1272 | } 1273 | }, 1274 | "has-flag": { 1275 | "version": "4.0.0", 1276 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 1277 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 1278 | "dev": true 1279 | }, 1280 | "has-value": { 1281 | "version": "1.0.0", 1282 | "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", 1283 | "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", 1284 | "dev": true, 1285 | "requires": { 1286 | "get-value": "^2.0.6", 1287 | "has-values": "^1.0.0", 1288 | "isobject": "^3.0.0" 1289 | } 1290 | }, 1291 | "has-values": { 1292 | "version": "1.0.0", 1293 | "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", 1294 | "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", 1295 | "dev": true, 1296 | "requires": { 1297 | "is-number": "^3.0.0", 1298 | "kind-of": "^4.0.0" 1299 | }, 1300 | "dependencies": { 1301 | "kind-of": { 1302 | "version": "4.0.0", 1303 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", 1304 | "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", 1305 | "dev": true, 1306 | "requires": { 1307 | "is-buffer": "^1.1.5" 1308 | } 1309 | } 1310 | } 1311 | }, 1312 | "hasha": { 1313 | "version": "2.2.0", 1314 | "resolved": "https://registry.npmjs.org/hasha/-/hasha-2.2.0.tgz", 1315 | "integrity": "sha1-eNfL/B5tZjA/55g3NlmEUXsvbuE=", 1316 | "dev": true, 1317 | "requires": { 1318 | "is-stream": "^1.0.1", 1319 | "pinkie-promise": "^2.0.0" 1320 | } 1321 | }, 1322 | "homedir-polyfill": { 1323 | "version": "1.0.3", 1324 | "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", 1325 | "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", 1326 | "dev": true, 1327 | "requires": { 1328 | "parse-passwd": "^1.0.0" 1329 | } 1330 | }, 1331 | "hooker": { 1332 | "version": "0.2.3", 1333 | "resolved": "https://registry.npmjs.org/hooker/-/hooker-0.2.3.tgz", 1334 | "integrity": "sha1-uDT3I8xKJCqmWWNFnfbZhMXT2Vk=", 1335 | "dev": true 1336 | }, 1337 | "hosted-git-info": { 1338 | "version": "2.8.8", 1339 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", 1340 | "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", 1341 | "dev": true 1342 | }, 1343 | "http-signature": { 1344 | "version": "1.2.0", 1345 | "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", 1346 | "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", 1347 | "dev": true, 1348 | "requires": { 1349 | "assert-plus": "^1.0.0", 1350 | "jsprim": "^1.2.2", 1351 | "sshpk": "^1.7.0" 1352 | } 1353 | }, 1354 | "iconv-lite": { 1355 | "version": "0.4.24", 1356 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1357 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1358 | "dev": true, 1359 | "requires": { 1360 | "safer-buffer": ">= 2.1.2 < 3" 1361 | } 1362 | }, 1363 | "indent-string": { 1364 | "version": "2.1.0", 1365 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", 1366 | "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", 1367 | "dev": true, 1368 | "requires": { 1369 | "repeating": "^2.0.0" 1370 | } 1371 | }, 1372 | "inflight": { 1373 | "version": "1.0.6", 1374 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1375 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1376 | "dev": true, 1377 | "requires": { 1378 | "once": "^1.3.0", 1379 | "wrappy": "1" 1380 | } 1381 | }, 1382 | "inherits": { 1383 | "version": "2.0.4", 1384 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1385 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 1386 | "dev": true 1387 | }, 1388 | "ini": { 1389 | "version": "1.3.8", 1390 | "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", 1391 | "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", 1392 | "dev": true 1393 | }, 1394 | "interpret": { 1395 | "version": "1.1.0", 1396 | "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.1.0.tgz", 1397 | "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", 1398 | "dev": true 1399 | }, 1400 | "is-absolute": { 1401 | "version": "1.0.0", 1402 | "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", 1403 | "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", 1404 | "dev": true, 1405 | "requires": { 1406 | "is-relative": "^1.0.0", 1407 | "is-windows": "^1.0.1" 1408 | } 1409 | }, 1410 | "is-accessor-descriptor": { 1411 | "version": "0.1.6", 1412 | "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", 1413 | "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", 1414 | "dev": true, 1415 | "requires": { 1416 | "kind-of": "^3.0.2" 1417 | }, 1418 | "dependencies": { 1419 | "kind-of": { 1420 | "version": "3.2.2", 1421 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", 1422 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", 1423 | "dev": true, 1424 | "requires": { 1425 | "is-buffer": "^1.1.5" 1426 | } 1427 | } 1428 | } 1429 | }, 1430 | "is-arrayish": { 1431 | "version": "0.2.1", 1432 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 1433 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", 1434 | "dev": true 1435 | }, 1436 | "is-buffer": { 1437 | "version": "1.1.6", 1438 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", 1439 | "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", 1440 | "dev": true 1441 | }, 1442 | "is-core-module": { 1443 | "version": "2.1.0", 1444 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.1.0.tgz", 1445 | "integrity": "sha512-YcV7BgVMRFRua2FqQzKtTDMz8iCuLEyGKjr70q8Zm1yy2qKcurbFEd79PAdHV77oL3NrAaOVQIbMmiHQCHB7ZA==", 1446 | "dev": true, 1447 | "requires": { 1448 | "has": "^1.0.3" 1449 | } 1450 | }, 1451 | "is-data-descriptor": { 1452 | "version": "0.1.4", 1453 | "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", 1454 | "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", 1455 | "dev": true, 1456 | "requires": { 1457 | "kind-of": "^3.0.2" 1458 | }, 1459 | "dependencies": { 1460 | "kind-of": { 1461 | "version": "3.2.2", 1462 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", 1463 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", 1464 | "dev": true, 1465 | "requires": { 1466 | "is-buffer": "^1.1.5" 1467 | } 1468 | } 1469 | } 1470 | }, 1471 | "is-descriptor": { 1472 | "version": "0.1.6", 1473 | "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", 1474 | "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", 1475 | "dev": true, 1476 | "requires": { 1477 | "is-accessor-descriptor": "^0.1.6", 1478 | "is-data-descriptor": "^0.1.4", 1479 | "kind-of": "^5.0.0" 1480 | }, 1481 | "dependencies": { 1482 | "kind-of": { 1483 | "version": "5.1.0", 1484 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", 1485 | "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", 1486 | "dev": true 1487 | } 1488 | } 1489 | }, 1490 | "is-extendable": { 1491 | "version": "0.1.1", 1492 | "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", 1493 | "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", 1494 | "dev": true 1495 | }, 1496 | "is-extglob": { 1497 | "version": "2.1.1", 1498 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", 1499 | "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", 1500 | "dev": true 1501 | }, 1502 | "is-finite": { 1503 | "version": "1.1.0", 1504 | "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", 1505 | "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", 1506 | "dev": true 1507 | }, 1508 | "is-glob": { 1509 | "version": "3.1.0", 1510 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", 1511 | "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", 1512 | "dev": true, 1513 | "requires": { 1514 | "is-extglob": "^2.1.0" 1515 | } 1516 | }, 1517 | "is-number": { 1518 | "version": "3.0.0", 1519 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", 1520 | "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", 1521 | "dev": true, 1522 | "requires": { 1523 | "kind-of": "^3.0.2" 1524 | }, 1525 | "dependencies": { 1526 | "kind-of": { 1527 | "version": "3.2.2", 1528 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", 1529 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", 1530 | "dev": true, 1531 | "requires": { 1532 | "is-buffer": "^1.1.5" 1533 | } 1534 | } 1535 | } 1536 | }, 1537 | "is-plain-object": { 1538 | "version": "2.0.4", 1539 | "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", 1540 | "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", 1541 | "dev": true, 1542 | "requires": { 1543 | "isobject": "^3.0.1" 1544 | } 1545 | }, 1546 | "is-relative": { 1547 | "version": "1.0.0", 1548 | "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", 1549 | "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", 1550 | "dev": true, 1551 | "requires": { 1552 | "is-unc-path": "^1.0.0" 1553 | } 1554 | }, 1555 | "is-stream": { 1556 | "version": "1.1.0", 1557 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 1558 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", 1559 | "dev": true 1560 | }, 1561 | "is-typedarray": { 1562 | "version": "1.0.0", 1563 | "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", 1564 | "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", 1565 | "dev": true 1566 | }, 1567 | "is-unc-path": { 1568 | "version": "1.0.0", 1569 | "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", 1570 | "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", 1571 | "dev": true, 1572 | "requires": { 1573 | "unc-path-regex": "^0.1.2" 1574 | } 1575 | }, 1576 | "is-utf8": { 1577 | "version": "0.2.1", 1578 | "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", 1579 | "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", 1580 | "dev": true 1581 | }, 1582 | "is-windows": { 1583 | "version": "1.0.2", 1584 | "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", 1585 | "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", 1586 | "dev": true 1587 | }, 1588 | "isarray": { 1589 | "version": "1.0.0", 1590 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1591 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 1592 | "dev": true 1593 | }, 1594 | "isexe": { 1595 | "version": "2.0.0", 1596 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1597 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", 1598 | "dev": true 1599 | }, 1600 | "isobject": { 1601 | "version": "3.0.1", 1602 | "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", 1603 | "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", 1604 | "dev": true 1605 | }, 1606 | "isstream": { 1607 | "version": "0.1.2", 1608 | "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", 1609 | "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", 1610 | "dev": true 1611 | }, 1612 | "js-yaml": { 1613 | "version": "3.14.0", 1614 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.0.tgz", 1615 | "integrity": "sha512-/4IbIeHcD9VMHFqDR/gQ7EdZdLimOvW2DdcxFjdyyZ9NsbS+ccrXqVWDtab/lRl5AlUqmpBx8EhPaWR+OtY17A==", 1616 | "dev": true, 1617 | "requires": { 1618 | "argparse": "^1.0.7", 1619 | "esprima": "^4.0.0" 1620 | } 1621 | }, 1622 | "jsbn": { 1623 | "version": "0.1.1", 1624 | "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", 1625 | "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", 1626 | "dev": true 1627 | }, 1628 | "json-schema": { 1629 | "version": "0.2.3", 1630 | "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", 1631 | "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", 1632 | "dev": true 1633 | }, 1634 | "json-schema-traverse": { 1635 | "version": "0.4.1", 1636 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1637 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1638 | "dev": true 1639 | }, 1640 | "json-stringify-safe": { 1641 | "version": "5.0.1", 1642 | "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", 1643 | "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", 1644 | "dev": true 1645 | }, 1646 | "jsonfile": { 1647 | "version": "2.4.0", 1648 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", 1649 | "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", 1650 | "dev": true, 1651 | "requires": { 1652 | "graceful-fs": "^4.1.6" 1653 | } 1654 | }, 1655 | "jsprim": { 1656 | "version": "1.4.1", 1657 | "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", 1658 | "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", 1659 | "dev": true, 1660 | "requires": { 1661 | "assert-plus": "1.0.0", 1662 | "extsprintf": "1.3.0", 1663 | "json-schema": "0.2.3", 1664 | "verror": "1.10.0" 1665 | } 1666 | }, 1667 | "kew": { 1668 | "version": "0.7.0", 1669 | "resolved": "https://registry.npmjs.org/kew/-/kew-0.7.0.tgz", 1670 | "integrity": "sha1-edk9LTM2PW/dKXCzNdkUGtWR15s=", 1671 | "dev": true 1672 | }, 1673 | "kind-of": { 1674 | "version": "6.0.3", 1675 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", 1676 | "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", 1677 | "dev": true 1678 | }, 1679 | "klaw": { 1680 | "version": "1.3.1", 1681 | "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", 1682 | "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", 1683 | "dev": true, 1684 | "requires": { 1685 | "graceful-fs": "^4.1.9" 1686 | } 1687 | }, 1688 | "libumd": { 1689 | "version": "0.7.0", 1690 | "resolved": "https://registry.npmjs.org/libumd/-/libumd-0.7.0.tgz", 1691 | "integrity": "sha1-9D765q2YTOSSjB81b1GdEuyPm3Y=", 1692 | "dev": true, 1693 | "requires": { 1694 | "alphabet": "^1.0.0", 1695 | "annois": "^0.3.2", 1696 | "annozip": "^0.2.6", 1697 | "handlebars": "^4.0.2", 1698 | "object-merge": "^2.5.1" 1699 | } 1700 | }, 1701 | "liftoff": { 1702 | "version": "2.5.0", 1703 | "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-2.5.0.tgz", 1704 | "integrity": "sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=", 1705 | "dev": true, 1706 | "requires": { 1707 | "extend": "^3.0.0", 1708 | "findup-sync": "^2.0.0", 1709 | "fined": "^1.0.1", 1710 | "flagged-respawn": "^1.0.0", 1711 | "is-plain-object": "^2.0.4", 1712 | "object.map": "^1.0.0", 1713 | "rechoir": "^0.6.2", 1714 | "resolve": "^1.1.7" 1715 | }, 1716 | "dependencies": { 1717 | "findup-sync": { 1718 | "version": "2.0.0", 1719 | "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz", 1720 | "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=", 1721 | "dev": true, 1722 | "requires": { 1723 | "detect-file": "^1.0.0", 1724 | "is-glob": "^3.1.0", 1725 | "micromatch": "^3.0.4", 1726 | "resolve-dir": "^1.0.1" 1727 | } 1728 | } 1729 | } 1730 | }, 1731 | "load-grunt-tasks": { 1732 | "version": "3.5.2", 1733 | "resolved": "https://registry.npmjs.org/load-grunt-tasks/-/load-grunt-tasks-3.5.2.tgz", 1734 | "integrity": "sha1-ByhWEYD9IP+KaSdQWFL8WKrqDIg=", 1735 | "dev": true, 1736 | "requires": { 1737 | "arrify": "^1.0.0", 1738 | "multimatch": "^2.0.0", 1739 | "pkg-up": "^1.0.0", 1740 | "resolve-pkg": "^0.1.0" 1741 | } 1742 | }, 1743 | "load-json-file": { 1744 | "version": "1.1.0", 1745 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", 1746 | "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", 1747 | "dev": true, 1748 | "requires": { 1749 | "graceful-fs": "^4.1.2", 1750 | "parse-json": "^2.2.0", 1751 | "pify": "^2.0.0", 1752 | "pinkie-promise": "^2.0.0", 1753 | "strip-bom": "^2.0.0" 1754 | } 1755 | }, 1756 | "lodash": { 1757 | "version": "4.17.20", 1758 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", 1759 | "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", 1760 | "dev": true 1761 | }, 1762 | "loud-rejection": { 1763 | "version": "1.6.0", 1764 | "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", 1765 | "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", 1766 | "dev": true, 1767 | "requires": { 1768 | "currently-unhandled": "^0.4.1", 1769 | "signal-exit": "^3.0.0" 1770 | } 1771 | }, 1772 | "make-iterator": { 1773 | "version": "1.0.1", 1774 | "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", 1775 | "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", 1776 | "dev": true, 1777 | "requires": { 1778 | "kind-of": "^6.0.2" 1779 | } 1780 | }, 1781 | "map-cache": { 1782 | "version": "0.2.2", 1783 | "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", 1784 | "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", 1785 | "dev": true 1786 | }, 1787 | "map-obj": { 1788 | "version": "1.0.1", 1789 | "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", 1790 | "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", 1791 | "dev": true 1792 | }, 1793 | "map-visit": { 1794 | "version": "1.0.0", 1795 | "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", 1796 | "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", 1797 | "dev": true, 1798 | "requires": { 1799 | "object-visit": "^1.0.0" 1800 | } 1801 | }, 1802 | "maxmin": { 1803 | "version": "1.1.0", 1804 | "resolved": "https://registry.npmjs.org/maxmin/-/maxmin-1.1.0.tgz", 1805 | "integrity": "sha1-cTZehKmd2Piz99X94vANHn9zvmE=", 1806 | "dev": true, 1807 | "requires": { 1808 | "chalk": "^1.0.0", 1809 | "figures": "^1.0.1", 1810 | "gzip-size": "^1.0.0", 1811 | "pretty-bytes": "^1.0.0" 1812 | }, 1813 | "dependencies": { 1814 | "ansi-styles": { 1815 | "version": "2.2.1", 1816 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 1817 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 1818 | "dev": true 1819 | }, 1820 | "chalk": { 1821 | "version": "1.1.3", 1822 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 1823 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 1824 | "dev": true, 1825 | "requires": { 1826 | "ansi-styles": "^2.2.1", 1827 | "escape-string-regexp": "^1.0.2", 1828 | "has-ansi": "^2.0.0", 1829 | "strip-ansi": "^3.0.0", 1830 | "supports-color": "^2.0.0" 1831 | } 1832 | }, 1833 | "supports-color": { 1834 | "version": "2.0.0", 1835 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 1836 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 1837 | "dev": true 1838 | } 1839 | } 1840 | }, 1841 | "meow": { 1842 | "version": "3.7.0", 1843 | "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", 1844 | "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", 1845 | "dev": true, 1846 | "requires": { 1847 | "camelcase-keys": "^2.0.0", 1848 | "decamelize": "^1.1.2", 1849 | "loud-rejection": "^1.0.0", 1850 | "map-obj": "^1.0.1", 1851 | "minimist": "^1.1.3", 1852 | "normalize-package-data": "^2.3.4", 1853 | "object-assign": "^4.0.1", 1854 | "read-pkg-up": "^1.0.1", 1855 | "redent": "^1.0.0", 1856 | "trim-newlines": "^1.0.0" 1857 | } 1858 | }, 1859 | "micromatch": { 1860 | "version": "3.1.10", 1861 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", 1862 | "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", 1863 | "dev": true, 1864 | "requires": { 1865 | "arr-diff": "^4.0.0", 1866 | "array-unique": "^0.3.2", 1867 | "braces": "^2.3.1", 1868 | "define-property": "^2.0.2", 1869 | "extend-shallow": "^3.0.2", 1870 | "extglob": "^2.0.4", 1871 | "fragment-cache": "^0.2.1", 1872 | "kind-of": "^6.0.2", 1873 | "nanomatch": "^1.2.9", 1874 | "object.pick": "^1.3.0", 1875 | "regex-not": "^1.0.0", 1876 | "snapdragon": "^0.8.1", 1877 | "to-regex": "^3.0.2" 1878 | } 1879 | }, 1880 | "mime-db": { 1881 | "version": "1.44.0", 1882 | "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", 1883 | "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", 1884 | "dev": true 1885 | }, 1886 | "mime-types": { 1887 | "version": "2.1.27", 1888 | "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", 1889 | "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", 1890 | "dev": true, 1891 | "requires": { 1892 | "mime-db": "1.44.0" 1893 | } 1894 | }, 1895 | "minimatch": { 1896 | "version": "3.0.4", 1897 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 1898 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 1899 | "dev": true, 1900 | "requires": { 1901 | "brace-expansion": "^1.1.7" 1902 | } 1903 | }, 1904 | "minimist": { 1905 | "version": "1.2.5", 1906 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", 1907 | "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", 1908 | "dev": true 1909 | }, 1910 | "mixin-deep": { 1911 | "version": "1.3.2", 1912 | "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", 1913 | "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", 1914 | "dev": true, 1915 | "requires": { 1916 | "for-in": "^1.0.2", 1917 | "is-extendable": "^1.0.1" 1918 | }, 1919 | "dependencies": { 1920 | "is-extendable": { 1921 | "version": "1.0.1", 1922 | "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", 1923 | "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", 1924 | "dev": true, 1925 | "requires": { 1926 | "is-plain-object": "^2.0.4" 1927 | } 1928 | } 1929 | } 1930 | }, 1931 | "mkdirp": { 1932 | "version": "1.0.4", 1933 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", 1934 | "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", 1935 | "dev": true 1936 | }, 1937 | "ms": { 1938 | "version": "2.0.0", 1939 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1940 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 1941 | "dev": true 1942 | }, 1943 | "multimatch": { 1944 | "version": "2.1.0", 1945 | "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-2.1.0.tgz", 1946 | "integrity": "sha1-nHkGoi+0wCkZ4vX3UWG0zb1LKis=", 1947 | "dev": true, 1948 | "requires": { 1949 | "array-differ": "^1.0.0", 1950 | "array-union": "^1.0.1", 1951 | "arrify": "^1.0.0", 1952 | "minimatch": "^3.0.0" 1953 | } 1954 | }, 1955 | "nanomatch": { 1956 | "version": "1.2.13", 1957 | "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", 1958 | "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", 1959 | "dev": true, 1960 | "requires": { 1961 | "arr-diff": "^4.0.0", 1962 | "array-unique": "^0.3.2", 1963 | "define-property": "^2.0.2", 1964 | "extend-shallow": "^3.0.2", 1965 | "fragment-cache": "^0.2.1", 1966 | "is-windows": "^1.0.2", 1967 | "kind-of": "^6.0.2", 1968 | "object.pick": "^1.3.0", 1969 | "regex-not": "^1.0.0", 1970 | "snapdragon": "^0.8.1", 1971 | "to-regex": "^3.0.1" 1972 | } 1973 | }, 1974 | "neo-async": { 1975 | "version": "2.6.2", 1976 | "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", 1977 | "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", 1978 | "dev": true 1979 | }, 1980 | "node-qunit-phantomjs": { 1981 | "version": "1.6.3", 1982 | "resolved": "https://registry.npmjs.org/node-qunit-phantomjs/-/node-qunit-phantomjs-1.6.3.tgz", 1983 | "integrity": "sha512-N4VWOnHTL9ek835SIfW3KmH9djLMdMk8LV99VBPNwtVG6NKplklzR9pfPEMA7xBTrJUuiEf3LCf+C16d7H+Ghg==", 1984 | "dev": true, 1985 | "requires": { 1986 | "chalk": "^2.2.0", 1987 | "minimist": "^1.2.0", 1988 | "phantomjs-prebuilt": "^2.1.3", 1989 | "qunit-phantomjs-runner": "^2.3.1" 1990 | }, 1991 | "dependencies": { 1992 | "ansi-styles": { 1993 | "version": "3.2.1", 1994 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 1995 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 1996 | "dev": true, 1997 | "requires": { 1998 | "color-convert": "^1.9.0" 1999 | } 2000 | }, 2001 | "chalk": { 2002 | "version": "2.4.2", 2003 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 2004 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 2005 | "dev": true, 2006 | "requires": { 2007 | "ansi-styles": "^3.2.1", 2008 | "escape-string-regexp": "^1.0.5", 2009 | "supports-color": "^5.3.0" 2010 | } 2011 | }, 2012 | "color-convert": { 2013 | "version": "1.9.3", 2014 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 2015 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 2016 | "dev": true, 2017 | "requires": { 2018 | "color-name": "1.1.3" 2019 | } 2020 | }, 2021 | "color-name": { 2022 | "version": "1.1.3", 2023 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 2024 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", 2025 | "dev": true 2026 | }, 2027 | "has-flag": { 2028 | "version": "3.0.0", 2029 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 2030 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 2031 | "dev": true 2032 | }, 2033 | "supports-color": { 2034 | "version": "5.5.0", 2035 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 2036 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 2037 | "dev": true, 2038 | "requires": { 2039 | "has-flag": "^3.0.0" 2040 | } 2041 | } 2042 | } 2043 | }, 2044 | "nopt": { 2045 | "version": "3.0.6", 2046 | "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", 2047 | "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", 2048 | "dev": true, 2049 | "requires": { 2050 | "abbrev": "1" 2051 | } 2052 | }, 2053 | "normalize-package-data": { 2054 | "version": "2.5.0", 2055 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 2056 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 2057 | "dev": true, 2058 | "requires": { 2059 | "hosted-git-info": "^2.1.4", 2060 | "resolve": "^1.10.0", 2061 | "semver": "2 || 3 || 4 || 5", 2062 | "validate-npm-package-license": "^3.0.1" 2063 | } 2064 | }, 2065 | "oauth-sign": { 2066 | "version": "0.9.0", 2067 | "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", 2068 | "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", 2069 | "dev": true 2070 | }, 2071 | "object-assign": { 2072 | "version": "4.1.1", 2073 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 2074 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", 2075 | "dev": true 2076 | }, 2077 | "object-copy": { 2078 | "version": "0.1.0", 2079 | "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", 2080 | "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", 2081 | "dev": true, 2082 | "requires": { 2083 | "copy-descriptor": "^0.1.0", 2084 | "define-property": "^0.2.5", 2085 | "kind-of": "^3.0.3" 2086 | }, 2087 | "dependencies": { 2088 | "define-property": { 2089 | "version": "0.2.5", 2090 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", 2091 | "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", 2092 | "dev": true, 2093 | "requires": { 2094 | "is-descriptor": "^0.1.0" 2095 | } 2096 | }, 2097 | "kind-of": { 2098 | "version": "3.2.2", 2099 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", 2100 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", 2101 | "dev": true, 2102 | "requires": { 2103 | "is-buffer": "^1.1.5" 2104 | } 2105 | } 2106 | } 2107 | }, 2108 | "object-foreach": { 2109 | "version": "0.1.2", 2110 | "resolved": "https://registry.npmjs.org/object-foreach/-/object-foreach-0.1.2.tgz", 2111 | "integrity": "sha1-10IcW0DjtqPvV6xiQ2jSHY+NLew=", 2112 | "dev": true 2113 | }, 2114 | "object-merge": { 2115 | "version": "2.5.1", 2116 | "resolved": "https://registry.npmjs.org/object-merge/-/object-merge-2.5.1.tgz", 2117 | "integrity": "sha1-B36JFc446nKUeIRIxd0znjTfQic=", 2118 | "dev": true, 2119 | "requires": { 2120 | "clone-function": ">=1.0.1", 2121 | "object-foreach": ">=0.1.2" 2122 | } 2123 | }, 2124 | "object-visit": { 2125 | "version": "1.0.1", 2126 | "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", 2127 | "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", 2128 | "dev": true, 2129 | "requires": { 2130 | "isobject": "^3.0.0" 2131 | } 2132 | }, 2133 | "object.defaults": { 2134 | "version": "1.1.0", 2135 | "resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz", 2136 | "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=", 2137 | "dev": true, 2138 | "requires": { 2139 | "array-each": "^1.0.1", 2140 | "array-slice": "^1.0.0", 2141 | "for-own": "^1.0.0", 2142 | "isobject": "^3.0.0" 2143 | } 2144 | }, 2145 | "object.map": { 2146 | "version": "1.0.1", 2147 | "resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz", 2148 | "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=", 2149 | "dev": true, 2150 | "requires": { 2151 | "for-own": "^1.0.0", 2152 | "make-iterator": "^1.0.0" 2153 | } 2154 | }, 2155 | "object.pick": { 2156 | "version": "1.3.0", 2157 | "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", 2158 | "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", 2159 | "dev": true, 2160 | "requires": { 2161 | "isobject": "^3.0.1" 2162 | } 2163 | }, 2164 | "once": { 2165 | "version": "1.4.0", 2166 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2167 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 2168 | "dev": true, 2169 | "requires": { 2170 | "wrappy": "1" 2171 | } 2172 | }, 2173 | "os-homedir": { 2174 | "version": "1.0.2", 2175 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", 2176 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", 2177 | "dev": true 2178 | }, 2179 | "os-tmpdir": { 2180 | "version": "1.0.2", 2181 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 2182 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", 2183 | "dev": true 2184 | }, 2185 | "osenv": { 2186 | "version": "0.1.5", 2187 | "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", 2188 | "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", 2189 | "dev": true, 2190 | "requires": { 2191 | "os-homedir": "^1.0.0", 2192 | "os-tmpdir": "^1.0.0" 2193 | } 2194 | }, 2195 | "pako": { 2196 | "version": "0.2.9", 2197 | "resolved": "https://registry.npmjs.org/pako/-/pako-0.2.9.tgz", 2198 | "integrity": "sha1-8/dSL073gjSNqBYbrZ7P1Rv4OnU=", 2199 | "dev": true 2200 | }, 2201 | "parse-filepath": { 2202 | "version": "1.0.2", 2203 | "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", 2204 | "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=", 2205 | "dev": true, 2206 | "requires": { 2207 | "is-absolute": "^1.0.0", 2208 | "map-cache": "^0.2.0", 2209 | "path-root": "^0.1.1" 2210 | } 2211 | }, 2212 | "parse-json": { 2213 | "version": "2.2.0", 2214 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", 2215 | "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", 2216 | "dev": true, 2217 | "requires": { 2218 | "error-ex": "^1.2.0" 2219 | } 2220 | }, 2221 | "parse-passwd": { 2222 | "version": "1.0.0", 2223 | "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", 2224 | "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", 2225 | "dev": true 2226 | }, 2227 | "pascalcase": { 2228 | "version": "0.1.1", 2229 | "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", 2230 | "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", 2231 | "dev": true 2232 | }, 2233 | "path-exists": { 2234 | "version": "2.1.0", 2235 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", 2236 | "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", 2237 | "dev": true, 2238 | "requires": { 2239 | "pinkie-promise": "^2.0.0" 2240 | } 2241 | }, 2242 | "path-is-absolute": { 2243 | "version": "1.0.1", 2244 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2245 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 2246 | "dev": true 2247 | }, 2248 | "path-parse": { 2249 | "version": "1.0.6", 2250 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 2251 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", 2252 | "dev": true 2253 | }, 2254 | "path-root": { 2255 | "version": "0.1.1", 2256 | "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", 2257 | "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=", 2258 | "dev": true, 2259 | "requires": { 2260 | "path-root-regex": "^0.1.0" 2261 | } 2262 | }, 2263 | "path-root-regex": { 2264 | "version": "0.1.2", 2265 | "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", 2266 | "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=", 2267 | "dev": true 2268 | }, 2269 | "path-type": { 2270 | "version": "1.1.0", 2271 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", 2272 | "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", 2273 | "dev": true, 2274 | "requires": { 2275 | "graceful-fs": "^4.1.2", 2276 | "pify": "^2.0.0", 2277 | "pinkie-promise": "^2.0.0" 2278 | } 2279 | }, 2280 | "pend": { 2281 | "version": "1.2.0", 2282 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", 2283 | "integrity": "sha1-elfrVQpng/kRUzH89GY9XI4AelA=", 2284 | "dev": true 2285 | }, 2286 | "performance-now": { 2287 | "version": "2.1.0", 2288 | "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", 2289 | "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", 2290 | "dev": true 2291 | }, 2292 | "phantomjs-prebuilt": { 2293 | "version": "2.1.16", 2294 | "resolved": "https://registry.npmjs.org/phantomjs-prebuilt/-/phantomjs-prebuilt-2.1.16.tgz", 2295 | "integrity": "sha1-79ISpKOWbTZHaE6ouniFSb4q7+8=", 2296 | "dev": true, 2297 | "requires": { 2298 | "es6-promise": "^4.0.3", 2299 | "extract-zip": "^1.6.5", 2300 | "fs-extra": "^1.0.0", 2301 | "hasha": "^2.2.0", 2302 | "kew": "^0.7.0", 2303 | "progress": "^1.1.8", 2304 | "request": "^2.81.0", 2305 | "request-progress": "^2.0.1", 2306 | "which": "^1.2.10" 2307 | } 2308 | }, 2309 | "pify": { 2310 | "version": "2.3.0", 2311 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 2312 | "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", 2313 | "dev": true 2314 | }, 2315 | "pinkie": { 2316 | "version": "2.0.4", 2317 | "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", 2318 | "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", 2319 | "dev": true 2320 | }, 2321 | "pinkie-promise": { 2322 | "version": "2.0.1", 2323 | "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", 2324 | "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", 2325 | "dev": true, 2326 | "requires": { 2327 | "pinkie": "^2.0.0" 2328 | } 2329 | }, 2330 | "pkg-up": { 2331 | "version": "1.0.0", 2332 | "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-1.0.0.tgz", 2333 | "integrity": "sha1-Pgj7RhUlxEIWJKM7n35tCvWwWiY=", 2334 | "dev": true, 2335 | "requires": { 2336 | "find-up": "^1.0.0" 2337 | } 2338 | }, 2339 | "posix-character-classes": { 2340 | "version": "0.1.1", 2341 | "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", 2342 | "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", 2343 | "dev": true 2344 | }, 2345 | "pretty-bytes": { 2346 | "version": "1.0.4", 2347 | "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-1.0.4.tgz", 2348 | "integrity": "sha1-CiLoIQYJrTVUL4yNXSFZr/B1HIQ=", 2349 | "dev": true, 2350 | "requires": { 2351 | "get-stdin": "^4.0.1", 2352 | "meow": "^3.1.0" 2353 | } 2354 | }, 2355 | "process-nextick-args": { 2356 | "version": "2.0.1", 2357 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2358 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 2359 | "dev": true 2360 | }, 2361 | "progress": { 2362 | "version": "1.1.8", 2363 | "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz", 2364 | "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=", 2365 | "dev": true 2366 | }, 2367 | "psl": { 2368 | "version": "1.8.0", 2369 | "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", 2370 | "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", 2371 | "dev": true 2372 | }, 2373 | "punycode": { 2374 | "version": "2.1.1", 2375 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 2376 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 2377 | "dev": true 2378 | }, 2379 | "qs": { 2380 | "version": "6.5.2", 2381 | "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", 2382 | "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", 2383 | "dev": true 2384 | }, 2385 | "qunit-phantomjs-runner": { 2386 | "version": "2.4.2", 2387 | "resolved": "https://registry.npmjs.org/qunit-phantomjs-runner/-/qunit-phantomjs-runner-2.4.2.tgz", 2388 | "integrity": "sha512-a1SaMuG0lbAQryYr+Oj2KNUmVDlqrKWka37WBHFymGFLPPfyuA2XuvaKgchRCvZwcXwF2rr29A3cXZ48KCYqWQ==", 2389 | "dev": true, 2390 | "requires": { 2391 | "qunit-reporter-junit": "^1.1.1" 2392 | } 2393 | }, 2394 | "qunit-reporter-junit": { 2395 | "version": "1.1.1", 2396 | "resolved": "https://registry.npmjs.org/qunit-reporter-junit/-/qunit-reporter-junit-1.1.1.tgz", 2397 | "integrity": "sha1-7rYiZFeJaZPnlaEZQPGK9q+lebQ=", 2398 | "dev": true 2399 | }, 2400 | "read-pkg": { 2401 | "version": "1.1.0", 2402 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", 2403 | "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", 2404 | "dev": true, 2405 | "requires": { 2406 | "load-json-file": "^1.0.0", 2407 | "normalize-package-data": "^2.3.2", 2408 | "path-type": "^1.0.0" 2409 | } 2410 | }, 2411 | "read-pkg-up": { 2412 | "version": "1.0.1", 2413 | "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", 2414 | "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", 2415 | "dev": true, 2416 | "requires": { 2417 | "find-up": "^1.0.0", 2418 | "read-pkg": "^1.0.0" 2419 | } 2420 | }, 2421 | "readable-stream": { 2422 | "version": "2.3.7", 2423 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 2424 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 2425 | "dev": true, 2426 | "requires": { 2427 | "core-util-is": "~1.0.0", 2428 | "inherits": "~2.0.3", 2429 | "isarray": "~1.0.0", 2430 | "process-nextick-args": "~2.0.0", 2431 | "safe-buffer": "~5.1.1", 2432 | "string_decoder": "~1.1.1", 2433 | "util-deprecate": "~1.0.1" 2434 | } 2435 | }, 2436 | "rechoir": { 2437 | "version": "0.6.2", 2438 | "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", 2439 | "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", 2440 | "dev": true, 2441 | "requires": { 2442 | "resolve": "^1.1.6" 2443 | } 2444 | }, 2445 | "redent": { 2446 | "version": "1.0.0", 2447 | "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", 2448 | "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", 2449 | "dev": true, 2450 | "requires": { 2451 | "indent-string": "^2.1.0", 2452 | "strip-indent": "^1.0.1" 2453 | } 2454 | }, 2455 | "regex-not": { 2456 | "version": "1.0.2", 2457 | "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", 2458 | "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", 2459 | "dev": true, 2460 | "requires": { 2461 | "extend-shallow": "^3.0.2", 2462 | "safe-regex": "^1.1.0" 2463 | } 2464 | }, 2465 | "repeat-element": { 2466 | "version": "1.1.3", 2467 | "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", 2468 | "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", 2469 | "dev": true 2470 | }, 2471 | "repeat-string": { 2472 | "version": "1.6.1", 2473 | "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", 2474 | "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", 2475 | "dev": true 2476 | }, 2477 | "repeating": { 2478 | "version": "2.0.1", 2479 | "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", 2480 | "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", 2481 | "dev": true, 2482 | "requires": { 2483 | "is-finite": "^1.0.0" 2484 | } 2485 | }, 2486 | "request": { 2487 | "version": "2.88.2", 2488 | "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", 2489 | "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", 2490 | "dev": true, 2491 | "requires": { 2492 | "aws-sign2": "~0.7.0", 2493 | "aws4": "^1.8.0", 2494 | "caseless": "~0.12.0", 2495 | "combined-stream": "~1.0.6", 2496 | "extend": "~3.0.2", 2497 | "forever-agent": "~0.6.1", 2498 | "form-data": "~2.3.2", 2499 | "har-validator": "~5.1.3", 2500 | "http-signature": "~1.2.0", 2501 | "is-typedarray": "~1.0.0", 2502 | "isstream": "~0.1.2", 2503 | "json-stringify-safe": "~5.0.1", 2504 | "mime-types": "~2.1.19", 2505 | "oauth-sign": "~0.9.0", 2506 | "performance-now": "^2.1.0", 2507 | "qs": "~6.5.2", 2508 | "safe-buffer": "^5.1.2", 2509 | "tough-cookie": "~2.5.0", 2510 | "tunnel-agent": "^0.6.0", 2511 | "uuid": "^3.3.2" 2512 | } 2513 | }, 2514 | "request-progress": { 2515 | "version": "2.0.1", 2516 | "resolved": "https://registry.npmjs.org/request-progress/-/request-progress-2.0.1.tgz", 2517 | "integrity": "sha1-XTa7V5YcZzqlt4jbyBQf3yO0Tgg=", 2518 | "dev": true, 2519 | "requires": { 2520 | "throttleit": "^1.0.0" 2521 | } 2522 | }, 2523 | "resolve": { 2524 | "version": "1.18.1", 2525 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.18.1.tgz", 2526 | "integrity": "sha512-lDfCPaMKfOJXjy0dPayzPdF1phampNWr3qFCjAu+rw/qbQmr5jWH5xN2hwh9QKfw9E5v4hwV7A+jrCmL8yjjqA==", 2527 | "dev": true, 2528 | "requires": { 2529 | "is-core-module": "^2.0.0", 2530 | "path-parse": "^1.0.6" 2531 | } 2532 | }, 2533 | "resolve-dir": { 2534 | "version": "1.0.1", 2535 | "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", 2536 | "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", 2537 | "dev": true, 2538 | "requires": { 2539 | "expand-tilde": "^2.0.0", 2540 | "global-modules": "^1.0.0" 2541 | } 2542 | }, 2543 | "resolve-from": { 2544 | "version": "2.0.0", 2545 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", 2546 | "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=", 2547 | "dev": true 2548 | }, 2549 | "resolve-pkg": { 2550 | "version": "0.1.0", 2551 | "resolved": "https://registry.npmjs.org/resolve-pkg/-/resolve-pkg-0.1.0.tgz", 2552 | "integrity": "sha1-AsyZNBDik2livZcWahsHfalyVTE=", 2553 | "dev": true, 2554 | "requires": { 2555 | "resolve-from": "^2.0.0" 2556 | } 2557 | }, 2558 | "resolve-url": { 2559 | "version": "0.2.1", 2560 | "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", 2561 | "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", 2562 | "dev": true 2563 | }, 2564 | "ret": { 2565 | "version": "0.1.15", 2566 | "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", 2567 | "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", 2568 | "dev": true 2569 | }, 2570 | "rimraf": { 2571 | "version": "3.0.2", 2572 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 2573 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 2574 | "dev": true, 2575 | "requires": { 2576 | "glob": "^7.1.3" 2577 | } 2578 | }, 2579 | "safe-buffer": { 2580 | "version": "5.1.2", 2581 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2582 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 2583 | "dev": true 2584 | }, 2585 | "safe-regex": { 2586 | "version": "1.1.0", 2587 | "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", 2588 | "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", 2589 | "dev": true, 2590 | "requires": { 2591 | "ret": "~0.1.10" 2592 | } 2593 | }, 2594 | "safer-buffer": { 2595 | "version": "2.1.2", 2596 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2597 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 2598 | "dev": true 2599 | }, 2600 | "semver": { 2601 | "version": "5.7.1", 2602 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 2603 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", 2604 | "dev": true 2605 | }, 2606 | "set-value": { 2607 | "version": "2.0.1", 2608 | "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", 2609 | "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", 2610 | "dev": true, 2611 | "requires": { 2612 | "extend-shallow": "^2.0.1", 2613 | "is-extendable": "^0.1.1", 2614 | "is-plain-object": "^2.0.3", 2615 | "split-string": "^3.0.1" 2616 | }, 2617 | "dependencies": { 2618 | "extend-shallow": { 2619 | "version": "2.0.1", 2620 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", 2621 | "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", 2622 | "dev": true, 2623 | "requires": { 2624 | "is-extendable": "^0.1.0" 2625 | } 2626 | } 2627 | } 2628 | }, 2629 | "signal-exit": { 2630 | "version": "3.0.3", 2631 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", 2632 | "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", 2633 | "dev": true 2634 | }, 2635 | "snapdragon": { 2636 | "version": "0.8.2", 2637 | "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", 2638 | "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", 2639 | "dev": true, 2640 | "requires": { 2641 | "base": "^0.11.1", 2642 | "debug": "^2.2.0", 2643 | "define-property": "^0.2.5", 2644 | "extend-shallow": "^2.0.1", 2645 | "map-cache": "^0.2.2", 2646 | "source-map": "^0.5.6", 2647 | "source-map-resolve": "^0.5.0", 2648 | "use": "^3.1.0" 2649 | }, 2650 | "dependencies": { 2651 | "define-property": { 2652 | "version": "0.2.5", 2653 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", 2654 | "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", 2655 | "dev": true, 2656 | "requires": { 2657 | "is-descriptor": "^0.1.0" 2658 | } 2659 | }, 2660 | "extend-shallow": { 2661 | "version": "2.0.1", 2662 | "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", 2663 | "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", 2664 | "dev": true, 2665 | "requires": { 2666 | "is-extendable": "^0.1.0" 2667 | } 2668 | } 2669 | } 2670 | }, 2671 | "snapdragon-node": { 2672 | "version": "2.1.1", 2673 | "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", 2674 | "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", 2675 | "dev": true, 2676 | "requires": { 2677 | "define-property": "^1.0.0", 2678 | "isobject": "^3.0.0", 2679 | "snapdragon-util": "^3.0.1" 2680 | }, 2681 | "dependencies": { 2682 | "define-property": { 2683 | "version": "1.0.0", 2684 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", 2685 | "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", 2686 | "dev": true, 2687 | "requires": { 2688 | "is-descriptor": "^1.0.0" 2689 | } 2690 | }, 2691 | "is-accessor-descriptor": { 2692 | "version": "1.0.0", 2693 | "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", 2694 | "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", 2695 | "dev": true, 2696 | "requires": { 2697 | "kind-of": "^6.0.0" 2698 | } 2699 | }, 2700 | "is-data-descriptor": { 2701 | "version": "1.0.0", 2702 | "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", 2703 | "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", 2704 | "dev": true, 2705 | "requires": { 2706 | "kind-of": "^6.0.0" 2707 | } 2708 | }, 2709 | "is-descriptor": { 2710 | "version": "1.0.2", 2711 | "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", 2712 | "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", 2713 | "dev": true, 2714 | "requires": { 2715 | "is-accessor-descriptor": "^1.0.0", 2716 | "is-data-descriptor": "^1.0.0", 2717 | "kind-of": "^6.0.2" 2718 | } 2719 | } 2720 | } 2721 | }, 2722 | "snapdragon-util": { 2723 | "version": "3.0.1", 2724 | "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", 2725 | "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", 2726 | "dev": true, 2727 | "requires": { 2728 | "kind-of": "^3.2.0" 2729 | }, 2730 | "dependencies": { 2731 | "kind-of": { 2732 | "version": "3.2.2", 2733 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", 2734 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", 2735 | "dev": true, 2736 | "requires": { 2737 | "is-buffer": "^1.1.5" 2738 | } 2739 | } 2740 | } 2741 | }, 2742 | "source-map": { 2743 | "version": "0.5.7", 2744 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 2745 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", 2746 | "dev": true 2747 | }, 2748 | "source-map-resolve": { 2749 | "version": "0.5.3", 2750 | "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", 2751 | "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", 2752 | "dev": true, 2753 | "requires": { 2754 | "atob": "^2.1.2", 2755 | "decode-uri-component": "^0.2.0", 2756 | "resolve-url": "^0.2.1", 2757 | "source-map-url": "^0.4.0", 2758 | "urix": "^0.1.0" 2759 | } 2760 | }, 2761 | "source-map-url": { 2762 | "version": "0.4.0", 2763 | "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", 2764 | "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", 2765 | "dev": true 2766 | }, 2767 | "spdx-correct": { 2768 | "version": "3.1.1", 2769 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", 2770 | "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", 2771 | "dev": true, 2772 | "requires": { 2773 | "spdx-expression-parse": "^3.0.0", 2774 | "spdx-license-ids": "^3.0.0" 2775 | } 2776 | }, 2777 | "spdx-exceptions": { 2778 | "version": "2.3.0", 2779 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", 2780 | "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", 2781 | "dev": true 2782 | }, 2783 | "spdx-expression-parse": { 2784 | "version": "3.0.1", 2785 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", 2786 | "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", 2787 | "dev": true, 2788 | "requires": { 2789 | "spdx-exceptions": "^2.1.0", 2790 | "spdx-license-ids": "^3.0.0" 2791 | } 2792 | }, 2793 | "spdx-license-ids": { 2794 | "version": "3.0.6", 2795 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.6.tgz", 2796 | "integrity": "sha512-+orQK83kyMva3WyPf59k1+Y525csj5JejicWut55zeTWANuN17qSiSLUXWtzHeNWORSvT7GLDJ/E/XiIWoXBTw==", 2797 | "dev": true 2798 | }, 2799 | "split-string": { 2800 | "version": "3.1.0", 2801 | "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", 2802 | "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", 2803 | "dev": true, 2804 | "requires": { 2805 | "extend-shallow": "^3.0.0" 2806 | } 2807 | }, 2808 | "sprintf-js": { 2809 | "version": "1.1.2", 2810 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", 2811 | "integrity": "sha512-VE0SOVEHCk7Qc8ulkWw3ntAzXuqf7S2lvwQaDLRnUeIEaKNQJzV6BwmLKhOqT61aGhfUMrXeaBk+oDGCzvhcug==", 2812 | "dev": true 2813 | }, 2814 | "sshpk": { 2815 | "version": "1.16.1", 2816 | "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", 2817 | "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", 2818 | "dev": true, 2819 | "requires": { 2820 | "asn1": "~0.2.3", 2821 | "assert-plus": "^1.0.0", 2822 | "bcrypt-pbkdf": "^1.0.0", 2823 | "dashdash": "^1.12.0", 2824 | "ecc-jsbn": "~0.1.1", 2825 | "getpass": "^0.1.1", 2826 | "jsbn": "~0.1.0", 2827 | "safer-buffer": "^2.0.2", 2828 | "tweetnacl": "~0.14.0" 2829 | } 2830 | }, 2831 | "static-extend": { 2832 | "version": "0.1.2", 2833 | "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", 2834 | "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", 2835 | "dev": true, 2836 | "requires": { 2837 | "define-property": "^0.2.5", 2838 | "object-copy": "^0.1.0" 2839 | }, 2840 | "dependencies": { 2841 | "define-property": { 2842 | "version": "0.2.5", 2843 | "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", 2844 | "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", 2845 | "dev": true, 2846 | "requires": { 2847 | "is-descriptor": "^0.1.0" 2848 | } 2849 | } 2850 | } 2851 | }, 2852 | "string_decoder": { 2853 | "version": "1.1.1", 2854 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 2855 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 2856 | "dev": true, 2857 | "requires": { 2858 | "safe-buffer": "~5.1.0" 2859 | } 2860 | }, 2861 | "strip-ansi": { 2862 | "version": "3.0.1", 2863 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 2864 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 2865 | "dev": true, 2866 | "requires": { 2867 | "ansi-regex": "^2.0.0" 2868 | } 2869 | }, 2870 | "strip-bom": { 2871 | "version": "2.0.0", 2872 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", 2873 | "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", 2874 | "dev": true, 2875 | "requires": { 2876 | "is-utf8": "^0.2.0" 2877 | } 2878 | }, 2879 | "strip-indent": { 2880 | "version": "1.0.1", 2881 | "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", 2882 | "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", 2883 | "dev": true, 2884 | "requires": { 2885 | "get-stdin": "^4.0.1" 2886 | } 2887 | }, 2888 | "supports-color": { 2889 | "version": "7.2.0", 2890 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 2891 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 2892 | "dev": true, 2893 | "requires": { 2894 | "has-flag": "^4.0.0" 2895 | } 2896 | }, 2897 | "throttleit": { 2898 | "version": "1.0.0", 2899 | "resolved": "https://registry.npmjs.org/throttleit/-/throttleit-1.0.0.tgz", 2900 | "integrity": "sha1-nnhYNtr0Z0MUWlmEtiaNgoUorGw=", 2901 | "dev": true 2902 | }, 2903 | "to-object-path": { 2904 | "version": "0.3.0", 2905 | "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", 2906 | "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", 2907 | "dev": true, 2908 | "requires": { 2909 | "kind-of": "^3.0.2" 2910 | }, 2911 | "dependencies": { 2912 | "kind-of": { 2913 | "version": "3.2.2", 2914 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", 2915 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", 2916 | "dev": true, 2917 | "requires": { 2918 | "is-buffer": "^1.1.5" 2919 | } 2920 | } 2921 | } 2922 | }, 2923 | "to-regex": { 2924 | "version": "3.0.2", 2925 | "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", 2926 | "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", 2927 | "dev": true, 2928 | "requires": { 2929 | "define-property": "^2.0.2", 2930 | "extend-shallow": "^3.0.2", 2931 | "regex-not": "^1.0.2", 2932 | "safe-regex": "^1.1.0" 2933 | } 2934 | }, 2935 | "to-regex-range": { 2936 | "version": "2.1.1", 2937 | "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", 2938 | "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", 2939 | "dev": true, 2940 | "requires": { 2941 | "is-number": "^3.0.0", 2942 | "repeat-string": "^1.6.1" 2943 | } 2944 | }, 2945 | "tough-cookie": { 2946 | "version": "2.5.0", 2947 | "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", 2948 | "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", 2949 | "dev": true, 2950 | "requires": { 2951 | "psl": "^1.1.28", 2952 | "punycode": "^2.1.1" 2953 | } 2954 | }, 2955 | "trim-newlines": { 2956 | "version": "1.0.0", 2957 | "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", 2958 | "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", 2959 | "dev": true 2960 | }, 2961 | "tunnel-agent": { 2962 | "version": "0.6.0", 2963 | "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", 2964 | "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", 2965 | "dev": true, 2966 | "requires": { 2967 | "safe-buffer": "^5.0.1" 2968 | } 2969 | }, 2970 | "tweetnacl": { 2971 | "version": "0.14.5", 2972 | "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", 2973 | "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", 2974 | "dev": true 2975 | }, 2976 | "typedarray": { 2977 | "version": "0.0.6", 2978 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 2979 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", 2980 | "dev": true 2981 | }, 2982 | "uglify-js": { 2983 | "version": "3.0.28", 2984 | "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.0.28.tgz", 2985 | "integrity": "sha512-0h/qGay016GG2lVav3Kz174F3T2Vjlz2v6HCt+WDQpoXfco0hWwF5gHK9yh88mUYvIC+N7Z8NT8WpjSp1yoqGA==", 2986 | "dev": true, 2987 | "requires": { 2988 | "commander": "~2.11.0", 2989 | "source-map": "~0.5.1" 2990 | } 2991 | }, 2992 | "unc-path-regex": { 2993 | "version": "0.1.2", 2994 | "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", 2995 | "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=", 2996 | "dev": true 2997 | }, 2998 | "underscore.string": { 2999 | "version": "3.3.5", 3000 | "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz", 3001 | "integrity": "sha512-g+dpmgn+XBneLmXXo+sGlW5xQEt4ErkS3mgeN2GFbremYeMBSJKr9Wf2KJplQVaiPY/f7FN6atosWYNm9ovrYg==", 3002 | "dev": true, 3003 | "requires": { 3004 | "sprintf-js": "^1.0.3", 3005 | "util-deprecate": "^1.0.2" 3006 | } 3007 | }, 3008 | "union-value": { 3009 | "version": "1.0.1", 3010 | "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", 3011 | "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", 3012 | "dev": true, 3013 | "requires": { 3014 | "arr-union": "^3.1.0", 3015 | "get-value": "^2.0.6", 3016 | "is-extendable": "^0.1.1", 3017 | "set-value": "^2.0.1" 3018 | } 3019 | }, 3020 | "unset-value": { 3021 | "version": "1.0.0", 3022 | "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", 3023 | "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", 3024 | "dev": true, 3025 | "requires": { 3026 | "has-value": "^0.3.1", 3027 | "isobject": "^3.0.0" 3028 | }, 3029 | "dependencies": { 3030 | "has-value": { 3031 | "version": "0.3.1", 3032 | "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", 3033 | "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", 3034 | "dev": true, 3035 | "requires": { 3036 | "get-value": "^2.0.3", 3037 | "has-values": "^0.1.4", 3038 | "isobject": "^2.0.0" 3039 | }, 3040 | "dependencies": { 3041 | "isobject": { 3042 | "version": "2.1.0", 3043 | "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", 3044 | "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", 3045 | "dev": true, 3046 | "requires": { 3047 | "isarray": "1.0.0" 3048 | } 3049 | } 3050 | } 3051 | }, 3052 | "has-values": { 3053 | "version": "0.1.4", 3054 | "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", 3055 | "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", 3056 | "dev": true 3057 | } 3058 | } 3059 | }, 3060 | "uri-js": { 3061 | "version": "4.4.0", 3062 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", 3063 | "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", 3064 | "dev": true, 3065 | "requires": { 3066 | "punycode": "^2.1.0" 3067 | } 3068 | }, 3069 | "uri-path": { 3070 | "version": "1.0.0", 3071 | "resolved": "https://registry.npmjs.org/uri-path/-/uri-path-1.0.0.tgz", 3072 | "integrity": "sha1-l0fwGDWJM8Md4PzP2C0TjmcmLjI=", 3073 | "dev": true 3074 | }, 3075 | "urix": { 3076 | "version": "0.1.0", 3077 | "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", 3078 | "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", 3079 | "dev": true 3080 | }, 3081 | "use": { 3082 | "version": "3.1.1", 3083 | "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", 3084 | "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", 3085 | "dev": true 3086 | }, 3087 | "util-deprecate": { 3088 | "version": "1.0.2", 3089 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3090 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 3091 | "dev": true 3092 | }, 3093 | "uuid": { 3094 | "version": "3.4.0", 3095 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 3096 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", 3097 | "dev": true 3098 | }, 3099 | "v8flags": { 3100 | "version": "3.1.3", 3101 | "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.1.3.tgz", 3102 | "integrity": "sha512-amh9CCg3ZxkzQ48Mhcb8iX7xpAfYJgePHxWMQCBWECpOSqJUXgY26ncA61UTV0BkPqfhcy6mzwCIoP4ygxpW8w==", 3103 | "dev": true, 3104 | "requires": { 3105 | "homedir-polyfill": "^1.0.1" 3106 | } 3107 | }, 3108 | "validate-npm-package-license": { 3109 | "version": "3.0.4", 3110 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 3111 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 3112 | "dev": true, 3113 | "requires": { 3114 | "spdx-correct": "^3.0.0", 3115 | "spdx-expression-parse": "^3.0.0" 3116 | } 3117 | }, 3118 | "verror": { 3119 | "version": "1.10.0", 3120 | "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", 3121 | "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", 3122 | "dev": true, 3123 | "requires": { 3124 | "assert-plus": "^1.0.0", 3125 | "core-util-is": "1.0.2", 3126 | "extsprintf": "^1.2.0" 3127 | } 3128 | }, 3129 | "which": { 3130 | "version": "1.3.1", 3131 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 3132 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 3133 | "dev": true, 3134 | "requires": { 3135 | "isexe": "^2.0.0" 3136 | } 3137 | }, 3138 | "wordwrap": { 3139 | "version": "1.0.0", 3140 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", 3141 | "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", 3142 | "dev": true 3143 | }, 3144 | "wrappy": { 3145 | "version": "1.0.2", 3146 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3147 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 3148 | "dev": true 3149 | }, 3150 | "xtend": { 3151 | "version": "4.0.2", 3152 | "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", 3153 | "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", 3154 | "dev": true 3155 | }, 3156 | "yauzl": { 3157 | "version": "2.10.0", 3158 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", 3159 | "integrity": "sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=", 3160 | "dev": true, 3161 | "requires": { 3162 | "buffer-crc32": "~0.2.3", 3163 | "fd-slicer": "~1.1.0" 3164 | } 3165 | } 3166 | } 3167 | } 3168 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "memorystorage", 3 | "version": "0.12.0", 4 | "description": "Memory-backed implementation of the Web Storage API", 5 | "src": "src/memorystorage.js", 6 | "main": "dist/memorystorage.umd.js", 7 | "dist": { 8 | "umd": "dist/memorystorage.umd.js", 9 | "min": "dist/memorystorage.min.js", 10 | "map": "dist/memorystorage.min.js.map" 11 | }, 12 | "exports": [ 13 | "./dist/memorystorage.umd.js" 14 | ], 15 | "directories": { 16 | "test": "tests" 17 | }, 18 | "repository": { 19 | "type": "git", 20 | "url": "https://github.com/download/memorystorage.git" 21 | }, 22 | "keywords": [ 23 | "javascript", 24 | "persistence", 25 | "persistent objects", 26 | "localStorage", 27 | "Web Storage API" 28 | ], 29 | "author": { 30 | "name": "Stijn de Witt", 31 | "email": "StijnDeWitt@hotmail.com", 32 | "url": "http://StijnDeWitt.com" 33 | }, 34 | "contributors": [ 35 | { 36 | "name": "Matthias Seemann", 37 | "url": "https://github.com/semmel" 38 | }, 39 | { 40 | "name": "Corentin Minne", 41 | "url": "https://github.com/CorentinMinne" 42 | } 43 | ], 44 | "copyright": "©2016 by Stijn de Witt and contributors. Some rights reserved.", 45 | "license": "CC-BY-4.0", 46 | "licenseUrl": "https://creativecommons.org/licenses/by/4.0/", 47 | "bugs": { 48 | "url": "https://github.com/download/memorystorage/issues" 49 | }, 50 | "homepage": "http://download.github.io/memorystorage", 51 | "devDependencies": { 52 | "grunt": "^1.0.1", 53 | "grunt-contrib-uglify": "~3.0.1", 54 | "grunt-umd": "^2.3.3", 55 | "load-grunt-tasks": "~3.5.2", 56 | "node-qunit-phantomjs": "^1.4.0" 57 | }, 58 | "dependencies": {}, 59 | "scripts": { 60 | "test": "node ./tests/test-node.js" 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /src/memorystorage.js: -------------------------------------------------------------------------------- 1 | /*! memorystorage.js - A memory-backed implementation of the Web Storage API. 2 | * 3 | * @copyright Copyright 2016 by Stijn de Witt and contributors. Some rights reserved. 4 | * @license Licensed under [Creative Commons Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). 5 | */ 6 | 7 | /** 8 | * Creates a new MemoryStorage object implementing the Web Storage API using memory. 9 | * 10 | *

If no arguments are given, the created memory storage object will read from and write to the 11 | * global memory storage. If a string argument is given, the new storage object 12 | * will read from and write to it's own segment of memory. Any data written to such a memory 13 | * storage object will only show up in other memory storage objects that have been created with 14 | * the same id. This data will not show up in the global memory space. As such it 15 | * is recommended to always construct a memory storage object with a unique string id as argument.

16 | * 17 | * @param id Optional string argument used to isolate this memory storage object from others. 18 | */ 19 | function MemoryStorage(id) { 20 | // make sure id is assigned 21 | id = id || 'global' 22 | // try to get existing store 23 | var result = storage[id] 24 | // return it if found 25 | if (result) {return result} 26 | 27 | // make sure there is no harm in leaving out new in invocations to MemoryStorage 28 | if (! (this instanceof MemoryStorage)) {return new MemoryStorage(id);} 29 | 30 | // create a new store and save a ref to it so we can get it back later 31 | result = storage[id] = this; 32 | // create a space to store 'cloaked' key/values: items that have a key 33 | // that collides with Web Storage API method names. 34 | var cloak = {}; 35 | 36 | // Allow client code to read the id 37 | Object.defineProperty(result, 'id', {enumerable:true, configurable:true, value:id}) 38 | 39 | // Create the length property 40 | Object.defineProperty(result, 'length', {enumerable:true, configurable:true, get:function(){ 41 | return enumerableKeys().length 42 | }}) 43 | 44 | // Create API methods 45 | result.getItem = function MemoryStorage_getItem(key) { 46 | return (key in API ? cloak[key] : this[key]) || null 47 | } 48 | result.setItem = function MemoryStorage_setItem(key, val) { 49 | key in API ? cloak[key] = val : this[key] = val 50 | } 51 | result.removeItem = function MemoryStorage_removeItem(key) { 52 | key in API ? delete cloak[key] : delete this[key] 53 | } 54 | result.key = function MemoryStorage_key(idx) { 55 | var keys = enumerableKeys() 56 | return idx >= 0 && idx < keys.length ? keys[idx] : null 57 | } 58 | result.clear = function MemoryStorage_clear() { 59 | var keys = uncloakedKeys() 60 | for (var i=0,key; key=keys[i]; i++) { 61 | delete this[key] 62 | } 63 | keys = cloakedKeys() 64 | for (var i=0,key; key=keys[i]; i++) { 65 | delete cloak[key] 66 | } 67 | } 68 | 69 | // Wrap in ES6 Proxy if available to support Object.keys() on a MemoryStorage object 70 | return typeof Proxy === 'undefined' ? result : new Proxy(result, {ownKeys: function() {return enumerableKeys()}}) 71 | 72 | // helper functions 73 | function uncloakedKeys() {return Object.keys(result).filter(function(x){return !(x in API)})} 74 | function cloakedKeys() {return Object.keys(cloak)} 75 | function enumerableKeys(){return uncloakedKeys().concat(cloakedKeys())} 76 | } 77 | 78 | // API methods and properties will be cloaked 79 | var API = {clear:1, getItem:1, id:1, key:1, length:1, removeItem:1, setItem:1} 80 | 81 | // Used to store all memorystorage objects 82 | var storage = {}; 83 | -------------------------------------------------------------------------------- /tests/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MemoryStorage Tests 5 | 6 | 7 | 8 | 9 | Restart | Next Test 10 |

MemoryStorage Tests

11 | Test code 12 | 13 | 14 |
15 |
16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/test-amd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | MemoryStorage as AMD module 5 | 6 | 7 | Restart 8 |

MemoryStorage as AMD module

9 | Test code 10 | 11 | 13 |
14 |
15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/test-amd.js: -------------------------------------------------------------------------------- 1 | require.config({ 2 | baseUrl: '../dist', 3 | paths: { 4 | 'memorystorage': './memorystorage.min', 5 | } 6 | }); 7 | define(['memorystorage'], function(MemoryStorage){ 8 | QUnit.test("AMD Module Compliance Test", function( assert ) { 9 | assert.ok(MemoryStorage !== undefined, 'MemoryStorage is defined'); 10 | assert.ok(typeof MemoryStorage === 'function', 'MemoryStorage is a function'); 11 | assert.ok(window.MemoryStorage === undefined, 'global MemoryStorage is NOT defined'); 12 | }); 13 | 14 | QUnit.test("W3C Web Storage API Compliance Test", function( assert ) { 15 | var store = new MemoryStorage('local'); 16 | 17 | store.clear(); 18 | assert.ok(store.length===0, "store cleared"); 19 | store.setItem('test0', 'data0'); 20 | assert.ok(store.length===1, "first item added to store"); 21 | assert.ok(store.key(0)==='test0', "key registered"); 22 | assert.ok(store.key(99)===null, "key() should return null when index out of bounds") 23 | assert.ok(store.getItem('test0')==='data0', "value retrieved with getItem matches stored value"); 24 | assert.ok(store['test0']==='data0', "value retrieved with index operators matches stored value"); 25 | store['test0'] = 'changed'; 26 | assert.ok(store['test0']==='changed', "value updated correctly with index operators."); 27 | store['test1'] = 'data1'; 28 | assert.ok(store.length===2, 'value added correctly with index operators'); 29 | store.setItem('test2', 'data2'); 30 | assert.ok(store.length===3, 'three items added to store'); 31 | assert.ok(Object.keys(store).length == (3), "store has 3 enumerable properties (no api methods + 3 stored items)"); 32 | assert.ok(store.getItem('test1')==='data1' && store.getItem('test2')==='data2', "retrieved values matches stored values"); 33 | var keyOrderBefore = ''; 34 | for (var i=0; i