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

broccoli-amd-loader

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-amd-loader - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

9

index.js
'use strict';
var funnel = require('broccoli-funnel');
var merge = require('broccoli-merge-trees');
var Funnel = require('broccoli-funnel');
var Merge = require('broccoli-merge-trees');
var path = require('path');
var Plugin = require('broccoli-plugin');

@@ -10,3 +11,3 @@ var defaultDestDir = '/';

var loaderDir = path.dirname(require.resolve('loader.js'));
return funnel(loaderDir, {
return new Funnel(loaderDir, {
include: ['loader.js'],

@@ -21,3 +22,3 @@ destDir: destDir

return merge([tree, loaderTree(destDir)]);
return new Merge([tree, loaderTree(destDir)]);
};
{
"name": "broccoli-amd-loader",
"version": "0.1.0",
"version": "0.2.0",
"description": "provides a broccoli tree with a loader.js in it",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "https://github.com/201-created/broccoli-amd-loader.git"
"url": "https://github.com/bustlelabs/broccoli-amd-loader.git"
},

@@ -24,7 +24,6 @@ "keywords": [

"dependencies": {
"broccoli-funnel": "^0.2.3",
"broccoli-merge-trees": "^0.2.1",
"loader.js": "^3.2.0",
"lodash": "^3.10.0"
"broccoli-funnel": "^1.1.0",
"broccoli-merge-trees": "^2.0.0",
"loader.js": "^4.2.3"
}
}
## broccoli-amd-loader
Returns a tree that merges in an amd loader ([loader.js](https://github.com/ember-cli/loader.js) to the given tree at `<destDir>/loader.js`.
Returns a tree that merges in an amd loader ([loader.js](https://github.com/ember-cli/loader.js) to the given tree at `<destDir>/loader.js`).

@@ -5,0 +5,0 @@ Example:

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