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

quickstart

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quickstart - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

4

package.json
{
"name": "quickstart",
"version": "1.1.2",
"version": "1.1.3",
"description": "CommonJS module compiler for node.js and browsers",

@@ -53,3 +53,3 @@ "main": "./main.js",

"esmangle": "~1.0.1",
"microseconds": "0.0.2",
"microseconds": "^0.1.0",
"cli-color": "~0.3.2",

@@ -56,0 +56,0 @@ "require-relative": "^0.8.7",

@@ -98,2 +98,6 @@ /* jshint strict:false */

it('should ignore empty browser fields', function() {
return expect(resolve('six').then(relative)).to.eventually.equal('./node_modules/six/index.js');
});
it('should resolve a package with specified main overridden by the browser field', function() {

@@ -100,0 +104,0 @@ return expect(resolve('five').then(relative)).to.eventually.equal('./node_modules/five/browser.js');

@@ -117,3 +117,3 @@ /* global -Promise*/

self._findRouteInBrowserField(json.browser, path, resolved).then(function(route) {
if (route === null) control.save(resolved).continue(); // no route found
if (route == null) control.save(resolved).continue(); // no route found
else control.resolve(route);

@@ -120,0 +120,0 @@ }, control.reject);

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