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

@pagedip/lib-command

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pagedip/lib-command - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

lib/index.js

@@ -242,2 +242,2 @@ /* eslint-disable */"use strict";

}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjbWQiLCJhcmdzIiwib3B0aW9ucyIsImJlZm9yZSIsImxvZ2dlciIsImlzTG9nZ2VyIiwibmFtZSIsImNtZHMiLCJFcnJvciIsIm9wdHMiLCJkZWZhdWx0IiwiY29udGV4dCIsImFyZ3YiLCJwcm9jZXNzIiwic2xpY2UiLCJwYXJzZUFyZ3YiLCJhIiwibyIsIk9iamVjdCIsImFzc2lnbiIsInJ1biIsIl9jbWQiLCJfYXJncyIsIl9vcHRpb25zIiwiX2JlZm9yZSIsImluaGVyaXRDb25maWciLCJjb25mIiwiaGVscCIsIkJvb2xlYW4iLCJ2ZXJzaW9uIiwiQXJyYXkiLCJpc0FycmF5Iiwic3RvcEVhcmx5IiwiZGVmYXVsdHMiLCJpbmhlcml0IiwiY2FsbCIsImluZm8iLCJjYWxsYmFjayIsImNtZGxvZ2dlciIsImxhYmVsIiwiY21kbmFtZSIsImNvbG9yIiwiZ3JlZW4iLCJzdGFydERhdGUiLCJEYXRlIiwidmVyYm9zZSIsInRvSlNPTiIsImRlYnVnIiwiZ2V0IiwibWFpbiIsImNvbW1hbmQiLCJzZXRMb2dnZXJMZXZlbCIsImRlZmF1bHRCb29scyIsImRlZmF1bHRBbGlhc2VzIiwibG9nTGV2ZWwiLCJkaXNwbGF5TG9nTGFiZWwiLCJzaWxlbnQiLCJkZXZlbG9wbWVudCIsInN0cmluZyIsImJ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9kdWxlIDpcbiAgICBmYWxzZTtcblxuICBpZiAoaXNtYWluKSBtYWluKGNtZCk7XG5cbiAgY29uc3QgcnVubmVyID0gcnVuLmJpbmQobnVsbCwgY21kKTtcbiAgcnVubmVyLmNtZCA9IGNtZDtcbiAgcnVubmVyLm1haW4gPSBtYWluLmJpbmQobnVsbCwgY21kKTtcbiAgcmV0dXJuIHJ1bm5lcjtcbn1cbiJdfQ==

@@ -39,2 +39,2 @@ /* eslint-disable */"use strict";

module.exports = exports["default"];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9sb2dnZXItY29uZmlnLmpzIl0sIm5hbWVzIjpbImxvZ2dlciIsImFyZ3YiLCJsb2dMZXZlbCIsInNldExvZ0xldmVsIiwic2lsZW50IiwibG9nTGV2ZWxzIiwic29tZSIsImxldmVsIiwicHJvZ3Jlc3MiLCJkaXNhYmxlUHJvZ3Jlc3MiLCJkaXNwbGF5TG9nTGFiZWwiLCJfZGlzcGxheUxhYmVsIl0sIm1hcHBpbmdzIjoiOzs7Ozs7a0JBRWUsVUFBU0EsTUFBVCxFQUFpQkMsSUFBakIsRUFBdUI7QUFDcEMsTUFBTUMsV0FBV0QsS0FBS0MsUUFBdEI7O0FBRUEsTUFBSUEsUUFBSixFQUFjO0FBQ1pGLFdBQU9HLFdBQVAsQ0FBbUJELFFBQW5CO0FBQ0QsR0FGRCxNQUVPLElBQUlELEtBQUtHLE1BQVQsRUFBaUI7QUFDdEJKLFdBQU9HLFdBQVAsQ0FBbUIsUUFBbkI7QUFDRCxHQUZNLE1BRUE7QUFDTCx5QkFBT0UsU0FBUCxDQUFpQkMsSUFBakIsQ0FBc0IsaUJBQVM7QUFDN0IsVUFBSUwsS0FBS00sS0FBTCxDQUFKLEVBQWlCO0FBQ2ZQLGVBQU9HLFdBQVAsQ0FBbUJJLEtBQW5CO0FBQ0EsZUFBTyxJQUFQO0FBQ0Q7QUFDRixLQU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GUiOiJsb2dnZXItY29uZmlnLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IExvZ2dlciBmcm9tIFwiQHBhZ2VkaXAvdXRpbC1sb2dnZXJcIjtcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24obG9nZ2VyLCBhcmd2KSB7XG4gIGNvbnN0IGxvZ0xldmVsID0gYXJndi5sb2dMZXZlbDtcblxuICBpZiAobG9nTGV2ZWwpIHtcbiAgICBsb2dnZXIuc2V0TG9nTGV2ZWwobG9nTGV2ZWwpO1xuICB9IGVsc2UgaWYgKGFyZ3Yuc2lsZW50KSB7XG4gICAgbG9nZ2VyLnNldExvZ0xldmVsKFwic2lsZW50XCIpO1xuICB9IGVsc2Uge1xuICAgIExvZ2dlci5sb2dMZXZlbHMuc29tZShsZXZlbCA9PiB7XG4gICAgICBpZiAoYXJndltsZXZlbF0pIHtcbiAgICAgICAgbG9nZ2VyLnNldExvZ0xldmVsKGxldmVsKTtcbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cblxuICBpZiAoYXJndi5wcm9ncmVzcyA9PT0gZmFsc2UpIHtcbiAgICBsb2dnZXIuZGlzYWJsZVByb2dyZXNzKCk7XG4gIH1cblxuICBpZiAodHlwZW9mIGFyZ3YuZGlzcGxheUxvZ0xhYmVsICE9PSBcInVuZGVmaW5lZFwiKSB7XG4gICAgbG9nZ2VyLl9kaXNwbGF5TGFiZWwgPSBhcmd2LmRpc3BsYXlMb2dMYWJlbDtcbiAgfVxufVxuIl19
{
"name": "@pagedip/lib-command",
"version": "1.0.5",
"version": "1.0.6",
"public": true,

@@ -19,7 +19,7 @@ "author": "Tyler Johnson <tyler@tylerjohnson.me>",

"@pagedip/util-logger": "^1.0.3",
"@pagedip/lib-rc": "^1.0.5"
"@pagedip/lib-rc": "^1.1.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"npm-run-all": "^4.1.2",
"npm-run-all": "^4.1.3",
"shx": "^0.2.2"

@@ -30,3 +30,3 @@ },

],
"gitHead": "0ba7ac13f32d0f1c30d2939d86215486cb70d34d"
"gitHead": "ee6a978ece00a724970d409cb51f0c36f10f431c"
}
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