Comparing version 1.0.0 to 1.0.1
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { | ||
value: true | ||
}); | ||
var _bind = Function.prototype.bind; | ||
// Define | ||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })(); | ||
var _get = function get(_x, _x2, _x3) { var _again = true; _function: while (_again) { var object = _x, property = _x2, receiver = _x3; desc = parent = getter = undefined; _again = false; if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { _x = parent; _x2 = property; _x3 = receiver; _again = true; continue _function; } } else if ('value' in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } } }; | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== 'function' && superClass !== null) { throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
@@ -26,3 +23,3 @@ var Cachely = (function (_require$EventEmitter) { | ||
return new (_bind.apply(this, [null].concat(args)))(); | ||
return new (Function.prototype.bind.apply(this, [null].concat(args)))(); | ||
} | ||
@@ -34,17 +31,18 @@ }]); | ||
_get(Object.getPrototypeOf(Cachely.prototype), 'constructor', this).call(this); | ||
var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(Cachely).call(this)); | ||
opts = opts || {}; | ||
this.duration = opts.duration || require('oneday'); | ||
this.log = opts.log || function () {}; | ||
this.method = opts.method; | ||
_this.duration = opts.duration || require('oneday'); | ||
_this.log = opts.log || function () {}; | ||
_this.method = opts.method; | ||
if (typeof this.method !== 'function') { | ||
if (typeof _this.method !== 'function') { | ||
throw new Error('Cachely requires a method to be specified'); | ||
} | ||
this.data = null; | ||
this.retry = false; | ||
this.lastRequest = null; | ||
this.lastUpdate = null; | ||
_this.data = null; | ||
_this.retry = false; | ||
_this.lastRequest = null; | ||
_this.lastUpdate = null; | ||
return _this; | ||
} | ||
@@ -90,6 +88,7 @@ | ||
// next(err, data) | ||
}, { | ||
key: 'request', | ||
value: function request(next) { | ||
var _this = this; | ||
var _this2 = this; | ||
@@ -110,7 +109,7 @@ var cache = this.validate(); | ||
if (!err) { | ||
_this.data = data; | ||
_this2.data = data; | ||
} | ||
_this.lastUpdate = new Date(); | ||
_this.log('debug', 'Cachely has fetched the new data'); | ||
_this.emit('update', err, _this.data); | ||
_this2.lastUpdate = new Date(); | ||
_this2.log('debug', 'Cachely has fetched the new data'); | ||
_this2.emit('update', err, _this2.data); | ||
}); | ||
@@ -135,3 +134,4 @@ break; | ||
exports['default'] = Cachely; | ||
module.exports = exports['default']; | ||
// Export | ||
module.exports = Cachely; |
# History | ||
## v1.0.0 September 5, 2015 | ||
## v1.0.1 2015 December 10 | ||
- Updated internal conventions | ||
## v1.0.0 2015 September 5 | ||
- Initial working release |
@@ -1,23 +0,23 @@ | ||
<!-- LICENSEFILE/ --> | ||
# License | ||
<h1>License</h1> | ||
Unless stated otherwise all works are: | ||
- Copyright © 2015+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me) | ||
<ul><li>Copyright © 2015+ <a href="http://bevry.me">Bevry Pty Ltd</a></li></ul> | ||
and licensed under: | ||
- The incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT License](http://opensource.org/licenses/mit-license.php) | ||
<ul><li><a href="http://spdx.org/licenses/MIT.html">MIT License</a></li></ul> | ||
## MIT License | ||
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: | ||
<h2>MIT License</h2> | ||
<pre> | ||
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. | ||
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. | ||
</pre> | ||
<!-- /LICENSEFILE --> | ||
{ | ||
"title": "cachely", | ||
"name": "cachely", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A tiny wrapper that sits around your request function that caches its data for a specified duration, provides updates as requested rather than polling each interval", | ||
"homepage": "https://github.com/bevry/cachely", | ||
"license": { | ||
"type": "MIT" | ||
}, | ||
"license": "MIT", | ||
"keywords": [ | ||
@@ -16,18 +13,34 @@ "cache", | ||
"badges": { | ||
"travis": true, | ||
"npm": true, | ||
"npmdownloads": true, | ||
"david": true, | ||
"daviddev": true, | ||
"gratipay": "bevry", | ||
"flattr": "344188/balupton-on-Flattr", | ||
"paypal": "QB8GQPZAH84N6", | ||
"bitcoin": "https://bevry.me/bitcoin", | ||
"wishlist": "https://bevry.me/wishlist" | ||
"list": [ | ||
"travisci", | ||
"npmversion", | ||
"npmdownloads", | ||
"daviddm", | ||
"daviddmdev", | ||
"---", | ||
"slackin", | ||
"patreon", | ||
"gratipay", | ||
"flattr", | ||
"paypal", | ||
"bitcoin", | ||
"wishlist" | ||
], | ||
"config": { | ||
"patreonUsername": "bevry", | ||
"gratipayUsername": "bevry", | ||
"flattrCode": "344188/balupton-on-Flattr", | ||
"paypalButtonID": "QB8GQPZAH84N6", | ||
"bitcoinURL": "https://bevry.me/bitcoin", | ||
"wishlistURL": "https://bevry.me/wishlist", | ||
"slackinURL": "https://slack.bevry.me" | ||
} | ||
}, | ||
"author": "2015+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)", | ||
"maintainers": [ | ||
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)" | ||
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)" | ||
], | ||
"contributors": [], | ||
"contributors": [ | ||
"Benjamin Lupton <b@lupton.cc> (http://balupton.com)" | ||
], | ||
"bugs": { | ||
@@ -40,19 +53,24 @@ "url": "https://github.com/bevry/cachely/issues" | ||
}, | ||
"browsers": true, | ||
"engines": { | ||
"node": ">=0.12" | ||
}, | ||
"browsers": true, | ||
"dependencies": { | ||
"esnextguardian": "^1.2.0", | ||
"oneday": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"assert-helpers": "^1.0.2", | ||
"babel": "^5.8.23", | ||
"babel-eslint": "^4.1.1", | ||
"assert-helpers": "^4.1.0", | ||
"babel-cli": "^6.3.15", | ||
"babel-preset-es2015": "^6.3.13", | ||
"eslint": "^1.3.1", | ||
"joe": "^1.6.0", | ||
"joe-reporter-console": "^1.2.1", | ||
"projectz": "^0.5.0" | ||
"projectz": "^1.0.9" | ||
}, | ||
"main": "./es6guardian.js", | ||
"main": "./esnextguardian.js", | ||
"browser": "./es5/lib/cachely.js", | ||
"jspm": { | ||
"main": "./es5/lib/cachely.js" | ||
}, | ||
"scripts": { | ||
@@ -70,6 +88,6 @@ "clean": "node --harmony nakefile.js clean", | ||
"nakeConfiguration": { | ||
"BABEL_SRC_PATH": "es6", | ||
"ESLINT_SRC_PATH": "es6", | ||
"YUIDOC_SRC_PATH": "es6" | ||
"BABEL_SRC_PATH": "esnext", | ||
"ESLINT_SRC_PATH": "esnext", | ||
"YUIDOC_SRC_PATH": "esnext" | ||
} | ||
} |
@@ -1,5 +0,4 @@ | ||
<!-- TITLE/ --> | ||
# cachely | ||
<h1>cachely</h1> | ||
@@ -11,12 +10,15 @@ <!-- /TITLE --> | ||
[![Build Status](https://img.shields.io/travis/bevry/cachely/master.svg)](http://travis-ci.org/bevry/cachely "Check this project's build status on TravisCI") | ||
[![NPM version](https://img.shields.io/npm/v/cachely.svg)](https://npmjs.org/package/cachely "View this project on NPM") | ||
[![NPM downloads](https://img.shields.io/npm/dm/cachely.svg)](https://npmjs.org/package/cachely "View this project on NPM") | ||
[![Dependency Status](https://img.shields.io/david/bevry/cachely.svg)](https://david-dm.org/bevry/cachely) | ||
[![Dev Dependency Status](https://img.shields.io/david/dev/bevry/cachely.svg)](https://david-dm.org/bevry/cachely#info=devDependencies)<br/> | ||
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay") | ||
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr") | ||
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal") | ||
[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://bevry.me/bitcoin "Donate once-off to this project using BitCoin") | ||
[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](https://bevry.me/wishlist "Buy an item on our wishlist for us") | ||
<span class="badge-travisci"><a href="http://travis-ci.org/bevry/cachely" title="Check this project's build status on TravisCI"><img src="https://img.shields.io/travis/bevry/cachely/master.svg" alt="Travis CI Build Status" /></a></span> | ||
<span class="badge-npmversion"><a href="https://npmjs.org/package/cachely" title="View this project on NPM"><img src="https://img.shields.io/npm/v/cachely.svg" alt="NPM version" /></a></span> | ||
<span class="badge-npmdownloads"><a href="https://npmjs.org/package/cachely" title="View this project on NPM"><img src="https://img.shields.io/npm/dm/cachely.svg" alt="NPM downloads" /></a></span> | ||
<span class="badge-daviddm"><a href="https://david-dm.org/bevry/cachely" title="View the status of this project's dependencies on DavidDM"><img src="https://img.shields.io/david/bevry/cachely.svg" alt="Dependency Status" /></a></span> | ||
<span class="badge-daviddmdev"><a href="https://david-dm.org/bevry/cachely#info=devDependencies" title="View the status of this project's development dependencies on DavidDM"><img src="https://img.shields.io/david/dev/bevry/cachely.svg" alt="Dev Dependency Status" /></a></span> | ||
<br class="badge-separator" /> | ||
<span class="badge-slackin"><a href="https://slack.bevry.me" title="Join this project's slack community"><img src="https://slack.bevry.me/badge.svg" alt="Slack community badge" /></a></span> | ||
<span class="badge-patreon"><a href="http://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
<span class="badge-gratipay"><a href="https://www.gratipay.com/bevry" title="Donate weekly to this project using Gratipay"><img src="https://img.shields.io/badge/gratipay-donate-yellow.svg" alt="Gratipay donate button" /></a></span> | ||
<span class="badge-flattr"><a href="http://flattr.com/thing/344188/balupton-on-Flattr" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<span class="badge-paypal"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span> | ||
<span class="badge-bitcoin"><a href="https://bevry.me/bitcoin" title="Donate once-off to this project using Bitcoin"><img src="https://img.shields.io/badge/bitcoin-donate-yellow.svg" alt="Bitcoin donate button" /></a></span> | ||
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span> | ||
@@ -35,16 +37,16 @@ <!-- /BADGES --> | ||
## Install | ||
<h2>Install</h2> | ||
### [NPM](http://npmjs.org/) | ||
- Use: `require('cachely')` | ||
- Install: `npm install --save cachely` | ||
<a href="https://npmjs.com" title="npm is a package manager for javascript"><h3>NPM</h3></a><ul> | ||
<li>Install: <code>npm install --save cachely</code></li> | ||
<li>Use: <code>require('cachely')</code></li></ul> | ||
### [Browserify](http://browserify.org/) | ||
- Use: `require('cachely')` | ||
- Install: `npm install --save cachely` | ||
- CDN URL: `//wzrd.in/bundle/cachely@1.0.0` | ||
<a href="http://browserify.org" title="Browserify lets you require('modules') in the browser by bundling up all of your dependencies"><h3>Browserify</h3></a><ul> | ||
<li>Install: <code>npm install --save cachely</code></li> | ||
<li>Use: <code>require('cachely')</code></li> | ||
<li>CDN URL: <code>//wzrd.in/bundle/cachely@1.0.1</code></li></ul> | ||
### [Ender](http://enderjs.com) | ||
- Use: `require('cachely')` | ||
- Install: `ender add cachely` | ||
<a href="http://enderjs.com" title="Ender is a full featured package manager for your browser"><h3>Ender</h3></a><ul> | ||
<li>Install: <code>ender add cachely</code></li> | ||
<li>Use: <code>require('cachely')</code></li></ul> | ||
@@ -117,5 +119,6 @@ <!-- /INSTALL --> | ||
## History | ||
[Discover the change history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/cachely/blob/master/HISTORY.md#files) | ||
<h2>History</h2> | ||
<a href="https://github.com/bevry/cachely/blob/master/HISTORY.md#files">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a> | ||
<!-- /HISTORY --> | ||
@@ -126,5 +129,5 @@ | ||
## Contribute | ||
<h2>Contribute</h2> | ||
[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/bevry/cachely/blob/master/CONTRIBUTING.md#files) | ||
<a href="https://github.com/bevry/cachely/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a> | ||
@@ -136,25 +139,29 @@ <!-- /CONTRIBUTE --> | ||
## Backers | ||
<h2>Backers</h2> | ||
### Maintainers | ||
<h3>Maintainers</h3> | ||
These amazing people are maintaining this project: | ||
- Benjamin Lupton <b@lupton.cc> (https://github.com/balupton) | ||
<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/cachely/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/cachely">view contributions</a></li></ul> | ||
### Sponsors | ||
<h3>Sponsors</h3> | ||
No sponsors yet! Will you be the first? | ||
[![Gratipay donate button](https://img.shields.io/gratipay/bevry.svg)](https://www.gratipay.com/bevry/ "Donate weekly to this project using Gratipay") | ||
[![Flattr donate button](https://img.shields.io/badge/flattr-donate-yellow.svg)](http://flattr.com/thing/344188/balupton-on-Flattr "Donate monthly to this project using Flattr") | ||
[![PayPayl donate button](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6 "Donate once-off to this project using Paypal") | ||
[![BitCoin donate button](https://img.shields.io/badge/bitcoin-donate-yellow.svg)](https://bevry.me/bitcoin "Donate once-off to this project using BitCoin") | ||
[![Wishlist browse button](https://img.shields.io/badge/wishlist-donate-yellow.svg)](https://bevry.me/wishlist "Buy an item on our wishlist for us") | ||
<span class="badge-patreon"><a href="http://patreon.com/bevry" title="Donate to this project using Patreon"><img src="https://img.shields.io/badge/patreon-donate-yellow.svg" alt="Patreon donate button" /></a></span> | ||
<span class="badge-gratipay"><a href="https://www.gratipay.com/bevry" title="Donate weekly to this project using Gratipay"><img src="https://img.shields.io/badge/gratipay-donate-yellow.svg" alt="Gratipay donate button" /></a></span> | ||
<span class="badge-flattr"><a href="http://flattr.com/thing/344188/balupton-on-Flattr" title="Donate to this project using Flattr"><img src="https://img.shields.io/badge/flattr-donate-yellow.svg" alt="Flattr donate button" /></a></span> | ||
<span class="badge-paypal"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QB8GQPZAH84N6" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span> | ||
<span class="badge-bitcoin"><a href="https://bevry.me/bitcoin" title="Donate once-off to this project using Bitcoin"><img src="https://img.shields.io/badge/bitcoin-donate-yellow.svg" alt="Bitcoin donate button" /></a></span> | ||
<span class="badge-wishlist"><a href="https://bevry.me/wishlist" title="Buy an item on our wishlist for us"><img src="https://img.shields.io/badge/wishlist-donate-yellow.svg" alt="Wishlist browse button" /></a></span> | ||
### Contributors | ||
<h3>Contributors</h3> | ||
No contributors yet! Will you be the first? | ||
[Discover how you can contribute by heading on over to the `CONTRIBUTING.md` file.](https://github.com/bevry/cachely/blob/master/CONTRIBUTING.md#files) | ||
These amazing people have contributed code to this project: | ||
<ul><li><a href="http://balupton.com">Benjamin Lupton</a> — <a href="https://github.com/bevry/cachely/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/cachely">view contributions</a></li></ul> | ||
<a href="https://github.com/bevry/cachely/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a> | ||
<!-- /BACKERS --> | ||
@@ -165,14 +172,12 @@ | ||
## License | ||
<h2>License</h2> | ||
Unless stated otherwise all works are: | ||
- Copyright © 2015+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me) | ||
<ul><li>Copyright © 2015+ <a href="http://bevry.me">Bevry Pty Ltd</a></li></ul> | ||
and licensed under: | ||
- The incredibly [permissive](http://en.wikipedia.org/wiki/Permissive_free_software_licence) [MIT License](http://opensource.org/licenses/mit-license.php) | ||
<ul><li><a href="http://spdx.org/licenses/MIT.html">MIT License</a></li></ul> | ||
<!-- /LICENSE --> | ||
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
39377
10
687
178
0
2
+ Addedesnextguardian@^1.2.0
+ Addedesnextguardian@1.2.1(transitive)