Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@pagedip/lib-cli

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedip/lib-cli - npm Package Compare versions

Comparing version 1.4.5 to 1.4.6

11

CHANGELOG.md

@@ -0,1 +1,12 @@

## [1.4.6](https://github.com/pagedip/pagedip-framework/tree/release/97/lib/cli) - Mar 21, 2019
### Dependencies
- [@pagedip/lib-rc](https://github.com/pagedip/pagedip-framework/tree/release/97/lib/rc): `^2.1.17` → `^2.1.18`
- strip-ansi: `^5.0.0` → `^5.2.0`
### Commits
[`db43d24a..522ff9a0`](https://github.com/pagedip/pagedip-framework/compare/db43d24a3c50051d20e3deb9af517d139cca5709..522ff9a0336954bac45767248fa9f75611204952)
- [`39180c05`](https://github.com/pagedip/pagedip-framework/commit/39180c05b78d99844465f9d690fb0b15808de6d9) update deps
## [1.4.5](https://github.com/pagedip/pagedip-framework/tree/release/96/lib/cli) - Jan 28, 2019

@@ -2,0 +13,0 @@

8

lib/cli.js

@@ -43,2 +43,4 @@ /* eslint-disable */

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }

@@ -48,4 +50,2 @@

function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
var Cli =

@@ -62,3 +62,3 @@ /*#__PURE__*/

_this = _possibleConstructorReturn(this, _getPrototypeOf(Cli).call(this));
(0, _utilPropHelpers.immutable)(_assertThisInitialized(_assertThisInitialized(_this)), "_commands", {}, {
(0, _utilPropHelpers.immutable)(_assertThisInitialized(_this), "_commands", {}, {
enumerable: false

@@ -197,2 +197,2 @@ });

module.exports = exports.default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jbGkuanMiXSwibmFtZXMiOlsiQ2xpIiwiZW51bWVyYWJsZSIsImZuIiwiQXJyYXkiLCJpc0FycmF5IiwiZm9yRWFjaCIsImYiLCJ1c2UiLCJjYWxsIiwibmFtZSIsIl9jb21tYW5kcyIsImFsbE5hbWVzIiwiT2JqZWN0Iiwia2V5cyIsImkiLCJsZW5ndGgiLCJjbWQiLCJhbGlhcyIsImNvbmNhdCIsInNvbWUiLCJhIiwic3BlYyIsInMiLCJjb21tYW5kIiwiY21kU3RyaW5nIiwiX2Rlc2NyaXB0aW9uIiwiZGVzY3JpcHRpb24iLCJkZXNjcmliZSIsImRlc2MiLCJwcm9wcyIsInN5bnRheCIsImFyZ3MiLCJFcnJvciIsImdldENvbW1hbmQiLCJmaXJlIiwicHJvY2VzcyIsImFyZ3YiLCJzbGljZSIsInRoZW4iLCJydW4iLCJjYXRjaCIsImUiLCJjb2RlIiwiaXNOYU4iLCJsb2ciLCJlcnJvciIsImV4aXQiLCJPYnNlcnZlciJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7OztBQUFBOztBQUNBOztBQUNBOztBQUNBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQUVxQkEsRzs7Ozs7QUFDbkIsaUJBQWM7QUFBQTs7QUFBQTs7QUFDWjtBQUNBLDJGQUFnQixXQUFoQixFQUE2QixFQUE3QixFQUFpQztBQUFFQyxNQUFBQSxVQUFVLEVBQUU7QUFBZCxLQUFqQztBQUZZO0FBR2I7Ozs7d0JBRUdDLEUsRUFBSTtBQUFBOztBQUNOLFVBQUlDLEtBQUssQ0FBQ0MsT0FBTixDQUFjRixFQUFkLENBQUosRUFBdUI7QUFDckJBLFFBQUFBLEVBQUUs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AgIH0pO1xuICB9XG59XG4iXX0=
{
"name": "@pagedip/lib-cli",
"version": "1.4.5",
"version": "1.4.6",
"repository": {

@@ -19,3 +19,3 @@ "type": "git",

"@pagedip/lib-observer": "^2.1.5",
"@pagedip/lib-rc": "^2.1.17",
"@pagedip/lib-rc": "^2.1.18",
"@pagedip/util-logger": "^2.2.2",

@@ -27,3 +27,3 @@ "@pagedip/util-merge-plain-objects": "^2.1.4",

"lodash": "^4.17.11",
"strip-ansi": "^5.0.0"
"strip-ansi": "^5.2.0"
},

@@ -39,3 +39,3 @@ "devDependencies": {

],
"gitHead": "db43d24a3c50051d20e3deb9af517d139cca5709"
"gitHead": "9be709495c7ab3c678804a76c46d82cde8075bf8"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc