uawdijnntqw1x1x1
IP : 216.73.216.153
Hostname : 6.87.74.97.host.secureserver.net
Kernel : Linux 6.87.74.97.host.secureserver.net 4.18.0-553.83.1.el8_10.x86_64 #1 SMP Mon Nov 10 04:22:44 EST 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
emeraadmin
/
.caldav
/
..
/
www
/
wp-admin
/
..
/
src
/
..
/
4d695
/
map-cache.tar
/
/
package.json000064400000003675151676727020007062 0ustar00{ "_from": "map-cache@^0.2.0", "_id": "map-cache@0.2.2", "_inBundle": false, "_integrity": "sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==", "_location": "/map-cache", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "map-cache@^0.2.0", "name": "map-cache", "escapedName": "map-cache", "rawSpec": "^0.2.0", "saveSpec": null, "fetchSpec": "^0.2.0" }, "_requiredBy": [ "/parse-filepath" ], "_resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", "_shasum": "c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf", "_spec": "map-cache@^0.2.0", "_where": "C:\\xampp\\htdocs\\emeraltd\\node_modules\\parse-filepath", "author": { "name": "Jon Schlinkert", "url": "https://github.com/jonschlinkert" }, "bugs": { "url": "https://github.com/jonschlinkert/map-cache/issues" }, "bundleDependencies": false, "deprecated": false, "description": "Basic cache object for storing key-value pairs.", "devDependencies": { "gulp-format-md": "^0.1.9", "should": "^8.3.1" }, "engines": { "node": ">=0.10.0" }, "files": [ "index.js" ], "homepage": "https://github.com/jonschlinkert/map-cache", "keywords": [ "cache", "get", "has", "object", "set", "storage", "store" ], "license": "MIT", "main": "index.js", "name": "map-cache", "repository": { "type": "git", "url": "git+https://github.com/jonschlinkert/map-cache.git" }, "scripts": { "test": "mocha" }, "verb": { "run": true, "toc": false, "layout": "default", "tasks": [ "readme" ], "plugins": [ "gulp-format-md" ], "related": { "list": [ "config-cache", "option-cache", "cache-base" ] }, "reflinks": [ "verb" ], "lint": { "reflinks": true } }, "version": "0.2.2" } LICENSE000064400000002100151676727020005557 0ustar00The MIT License (MIT) Copyright (c) 2015-2016, Jon Schlinkert. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. index.js000064400000003640151676727020006231 0ustar00/*! * map-cache <https://github.com/jonschlinkert/map-cache> * * Copyright (c) 2015, Jon Schlinkert. * Licensed under the MIT License. */ 'use strict'; var hasOwn = Object.prototype.hasOwnProperty; /** * Expose `MapCache` */ module.exports = MapCache; /** * Creates a cache object to store key/value pairs. * * ```js * var cache = new MapCache(); * ``` * * @api public */ function MapCache(data) { this.__data__ = data || {}; } /** * Adds `value` to `key` on the cache. * * ```js * cache.set('foo', 'bar'); * ``` * * @param {String} `key` The key of the value to cache. * @param {*} `value` The value to cache. * @returns {Object} Returns the `Cache` object for chaining. * @api public */ MapCache.prototype.set = function mapSet(key, value) { if (key !== '__proto__') { this.__data__[key] = value; } return this; }; /** * Gets the cached value for `key`. * * ```js * cache.get('foo'); * //=> 'bar' * ``` * * @param {String} `key` The key of the value to get. * @returns {*} Returns the cached value. * @api public */ MapCache.prototype.get = function mapGet(key) { return key === '__proto__' ? undefined : this.__data__[key]; }; /** * Checks if a cached value for `key` exists. * * ```js * cache.has('foo'); * //=> true * ``` * * @param {String} `key` The key of the entry to check. * @returns {Boolean} Returns `true` if an entry for `key` exists, else `false`. * @api public */ MapCache.prototype.has = function mapHas(key) { return key !== '__proto__' && hasOwn.call(this.__data__, key); }; /** * Removes `key` and its value from the cache. * * ```js * cache.del('foo'); * ``` * @title .del * @param {String} `key` The key of the value to remove. * @returns {Boolean} Returns `true` if the entry was removed successfully, else `false`. * @api public */ MapCache.prototype.del = function mapDelete(key) { return this.has(key) && delete this.__data__[key]; }; README.md000064400000006636151676727020006053 0ustar00# map-cache [](https://www.npmjs.com/package/map-cache) [](https://npmjs.org/package/map-cache) [](https://travis-ci.org/jonschlinkert/map-cache) Basic cache object for storing key-value pairs. ## Install Install with [npm](https://www.npmjs.com/): ```sh $ npm install map-cache --save ``` Based on MapCache in Lo-dash v3.0. [MIT License](https://github.com/lodash/lodash/blob/master/LICENSE.txt) ## Usage ```js var MapCache = require('map-cache'); var mapCache = new MapCache(); ``` ## API ### [MapCache](index.js#L28) Creates a cache object to store key/value pairs. **Example** ```js var cache = new MapCache(); ``` ### [.set](index.js#L45) Adds `value` to `key` on the cache. **Params** * `key` **{String}**: The key of the value to cache. * `value` **{any}**: The value to cache. * `returns` **{Object}**: Returns the `Cache` object for chaining. **Example** ```js cache.set('foo', 'bar'); ``` ### [.get](index.js#L65) Gets the cached value for `key`. **Params** * `key` **{String}**: The key of the value to get. * `returns` **{any}**: Returns the cached value. **Example** ```js cache.get('foo'); //=> 'bar' ``` ### [.has](index.js#L82) Checks if a cached value for `key` exists. **Params** * `key` **{String}**: The key of the entry to check. * `returns` **{Boolean}**: Returns `true` if an entry for `key` exists, else `false`. **Example** ```js cache.has('foo'); //=> true ``` ### [.del](index.js#L98) Removes `key` and its value from the cache. **Params** * `key` **{String}**: The key of the value to remove. * `returns` **{Boolean}**: Returns `true` if the entry was removed successfully, else `false`. **Example** ```js cache.del('foo'); ``` ## Related projects You might also be interested in these projects: * [cache-base](https://www.npmjs.com/package/cache-base): Basic object cache with `get`, `set`, `del`, and `has` methods for node.js/javascript projects. | [homepage](https://github.com/jonschlinkert/cache-base) * [config-cache](https://www.npmjs.com/package/config-cache): General purpose JavaScript object storage methods. | [homepage](https://github.com/jonschlinkert/config-cache) * [option-cache](https://www.npmjs.com/package/option-cache): Simple API for managing options in JavaScript applications. | [homepage](https://github.com/jonschlinkert/option-cache) ## Contributing Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/map-cache/issues/new). ## Building docs Generate readme and API documentation with [verb](https://github.com/verbose/verb): ```sh $ npm install verb && npm run docs ``` Or, if [verb](https://github.com/verbose/verb) is installed globally: ```sh $ verb ``` ## Running tests Install dev dependencies: ```sh $ npm install -d && npm test ``` ## Author **Jon Schlinkert** * [github/jonschlinkert](https://github.com/jonschlinkert) * [twitter/jonschlinkert](http://twitter.com/jonschlinkert) ## License Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert). Released under the [MIT license](https://github.com/jonschlinkert/map-cache/blob/master/LICENSE). *** _This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 10, 2016._
/home/emeraadmin/.caldav/../www/wp-admin/../src/../4d695/map-cache.tar