New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

registry-sync

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

registry-sync - npm Package Compare versions

Comparing version 2.4.7 to 2.4.8

24

package.json
{
"name": "registry-sync",
"version": "2.4.7",
"version": "2.4.8",
"description": "synchronize a remote npm registry for private use",

@@ -17,22 +17,22 @@ "repository": "https://github.com/heikkipora/registry-sync",

"dependencies": {
"@babel/runtime": "7.8.7",
"@babel/runtime": "7.9.6",
"axios": "0.19.2",
"bluebird": "3.7.2",
"commander": "5.0.0",
"commander": "5.1.0",
"lodash": "4.17.15",
"mkdirp": "1.0.3",
"mkdirp": "1.0.4",
"rimraf": "3.0.2",
"semver": "7.1.3",
"semver": "7.3.2",
"ssri": "8.0.0",
"streamifier": "0.1.1",
"tar-fs": "2.0.0"
"tar-fs": "2.0.1"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.7",
"@babel/plugin-proposal-object-rest-spread": "7.8.3",
"@babel/plugin-transform-runtime": "7.8.3",
"@babel/core": "7.9.6",
"@babel/plugin-proposal-object-rest-spread": "7.9.6",
"@babel/plugin-transform-runtime": "7.9.6",
"@babel/polyfill": "7.8.7",
"@babel/preset-env": "7.8.7",
"@babel/register": "7.8.6",
"@babel/preset-env": "7.9.6",
"@babel/register": "7.9.0",
"babel-eslint": "10.1.0",

@@ -43,3 +43,3 @@ "chai": "4.2.0",

"express": "4.17.1",
"mocha": "7.1.0"
"mocha": "7.1.2"
},

@@ -46,0 +46,0 @@ "keywords": [

@@ -136,3 +136,3 @@ "use strict";

} catch (fileNotFound) {
return _objectSpread({}, defaultMetadata, {
return _objectSpread(_objectSpread({}, defaultMetadata), {}, {
'dist-tags': {},

@@ -139,0 +139,0 @@ time: {},

@@ -23,2 +23,8 @@ "use strict";

function _createForOfIteratorHelper(o) { if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) { var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var it, normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
const fs = _bluebird.default.promisifyAll(require('fs'));

@@ -41,8 +47,8 @@

version = versionMetadata.version;
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
var _iterator = _createForOfIteratorHelper(prebuiltBinaryProperties),
_step;
try {
for (var _iterator = prebuiltBinaryProperties[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
for (_iterator.s(); !(_step = _iterator.n()).done;) {
const _step$value = _step.value,

@@ -67,14 +73,5 @@ abi = _step$value.abi,

} catch (err) {
_didIteratorError = true;
_iteratorError = err;
_iterator.e(err);
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return != null) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
_iterator.f();
}

@@ -81,0 +78,0 @@ });

@@ -26,4 +26,4 @@ "use strict";

_updateDependenciesCache = (0, _asyncToGenerator2.default)(function* (newDependencies, cacheFilePath, prebuiltBinaryProperties) {
const _ref = yield loadCache(cacheFilePath),
cachedDependencies = _ref.dependencies;
const _yield$loadCache = yield loadCache(cacheFilePath),
cachedDependencies = _yield$loadCache.dependencies;

@@ -46,5 +46,5 @@ const dependencies = (0, _lodash.default)(cachedDependencies).concat(newDependencies).sortBy('id').sortedUniqBy('id').value();

_dependenciesNotInCache = (0, _asyncToGenerator2.default)(function* (dependencies, cacheFilePath, prebuiltBinaryProperties) {
const _ref2 = yield loadCache(cacheFilePath),
cachedDependencies = _ref2.dependencies,
cachedPrebuiltBinaryProperties = _ref2.prebuiltBinaryProperties;
const _yield$loadCache2 = yield loadCache(cacheFilePath),
cachedDependencies = _yield$loadCache2.dependencies,
cachedPrebuiltBinaryProperties = _yield$loadCache2.prebuiltBinaryProperties;

@@ -51,0 +51,0 @@ if (cachedDependencies.length > 0 && !_lodash.default.isEqual(prebuiltBinaryProperties, cachedPrebuiltBinaryProperties)) {

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