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

loader.js

Package Overview
Dependencies
Maintainers
6
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

loader.js - npm Package Compare versions

Comparing version 4.6.0 to 4.7.0

2

dist/loader/loader.instrument.js

@@ -278,3 +278,3 @@ var loader, define, requireModule, require, requirejs;

while (mod && mod.isAlias) {
mod = registry[mod.id];
mod = registry[mod.id] || registry[mod.id + '/index'];
}

@@ -281,0 +281,0 @@

@@ -254,3 +254,3 @@ var loader, define, requireModule, require, requirejs;

while (mod && mod.isAlias) {
mod = registry[mod.id];
mod = registry[mod.id] || registry[mod.id + '/index'];
}

@@ -257,0 +257,0 @@

{
"name": "loader.js",
"version": "4.6.0",
"version": "4.7.0",
"description": "loader.js =========",

@@ -5,0 +5,0 @@ "main": "dist/loader/loader.js",

@@ -22,3 +22,3 @@ loader.js [![Build Status](https://travis-ci.org/ember-cli/loader.js.svg?branch=master)](https://travis-ci.org/ember-cli/loader.js)

### `define.alias('new-name', 'old/path')`
### `define.alias('old/path', 'new-name')`

@@ -28,6 +28,6 @@ `define.alias` allows creation of a symlink from one module to another, for example:

```js
define('foo/bar/baz', [], () => 'hi');
define('foo', [], () => 'hi');
define.alias('foo', 'foo/bar/baz');
require('foo') // => 'hi';
require('foo/bar/baz') // => 'hi';
require('foo') === require('foo/bar/baz');

@@ -34,0 +34,0 @@ ```

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