Socket
Socket
Sign inDemoInstall

intern-systemjs-loader

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intern-systemjs-loader - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

13

main.js

@@ -59,2 +59,9 @@ (function () {

// SystemJS erroneously thinks dojo/request/node is required by dojo/request in the browser even though it's
// hidden by an if statement so the module can support both node and the browser.
// Just point to our export undefined module for now.
if (name.indexOf('./request/node') > -1 && parentName.indexOf('dojo/') > -1) {
return '@intern-systemjs-loader:undefined';
}
if (hook) {

@@ -72,2 +79,8 @@ // If a direct request the module, return the one we set earlier

// Handle relative modules
if (/^\.{1,2}\//.test(target)) {
target = parentName.split('/').slice(0, -1).concat([target])
.join('/').replace(/[^/]+\/\.\.\//, '').replace(/\.\//, '');
}
return target ? normalize.call(this, target) : '@intern-systemjs-loader:undefined';

@@ -74,0 +87,0 @@ }

2

package.json
{
"name": "intern-systemjs-loader",
"version": "0.0.3",
"version": "0.0.4",
"description": "A wrapper for using SystemJS as Intern's loader",

@@ -5,0 +5,0 @@ "main": "index.js",

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