diff --git a/bower.json b/bower.json index 9af0e902b..834093d44 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "steal", "main": "steal.js", - "version": "1.5.1", + "version": "1.5.2", "ignore": [ "test", "src", diff --git a/package.json b/package.json index 97bd4871d..85d094bd4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "steal", "description": "Gets JavaScript.", - "version": "1.5.1", + "version": "1.5.2", "author": { "name": "Bitovi", "email": "contact@bitovi.com", diff --git a/steal-sans-promises.production.js b/steal-sans-promises.production.js index e1b312f92..8dd4ef6d0 100644 --- a/steal-sans-promises.production.js +++ b/steal-sans-promises.production.js @@ -1,5 +1,5 @@ /* - * steal v1.5.1 + * steal v1.5.2 * * Copyright (c) 2017 Bitovi; Licensed MIT */ diff --git a/steal.production.js b/steal.production.js index 696f6c2bc..4617bbbe7 100644 --- a/steal.production.js +++ b/steal.production.js @@ -1,5 +1,5 @@ /* - * steal v1.5.1 + * steal v1.5.2 * * Copyright (c) 2017 Bitovi; Licensed MIT */ diff --git a/test/ext/npm.js b/test/ext/npm.js index b0f5fb61b..9175b619b 100644 --- a/test/ext/npm.js +++ b/test/ext/npm.js @@ -24,7 +24,10 @@ exports.translate = function(load){ var resavePackageInfo = isNode && loader.isEnv && !loader.isEnv("production"); + var prevPackages = loader.npmContext && loader.npmContext.pkgInfo; + var versions = loader.npmContext && loader.npmContext.versions; + var context = { packages: [], pkgInfo: [], @@ -33,7 +36,7 @@ exports.translate = function(load){ paths: {}, // paths that are currently be loaded loadingPaths: {}, - versions: {}, + versions: utils.extend({}, versions), // A map of packages to its parents. This is used so that // we can find a package by name and get its parent packages, // in order to load bare module specifiers that refer to packages diff --git a/test/npm/bower/node_modules/steal/steal.production.js b/test/npm/bower/node_modules/steal/steal.production.js index 696f6c2bc..4617bbbe7 100644 --- a/test/npm/bower/node_modules/steal/steal.production.js +++ b/test/npm/bower/node_modules/steal/steal.production.js @@ -1,5 +1,5 @@ /* - * steal v1.5.1 + * steal v1.5.2 * * Copyright (c) 2017 Bitovi; Licensed MIT */