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

ember-cli-tree-shake

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-tree-shake - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

13

lib/dead-computed-properties.js

@@ -77,8 +77,6 @@ const Controllers = require('./controllers');

let jsPath = path.relative(this.paths.app + '/' + node.templatePath(), this.filepath);
let jsPath = path.relative(this.paths.app, this.filepath);
let controllerDirPath = path.dirname(jsPath);
let templatePathPart = '/templates/';
if (node.templatePath()) {
templatePathPart += node.templatePath() + '/';
if (controllerDirPath.startsWith('controllers')) {
jsPath = path.relative('controllers', jsPath);
}

@@ -88,4 +86,5 @@

this.paths.app,
templatePathPart,
path.basename(jsPath, '.js') + '.hbs'
'templates',
path.dirname(jsPath),
path.basename(jsPath, path.extname(jsPath)) + '.hbs'
);

@@ -92,0 +91,0 @@ let walker, htmlbars;

{
"name": "ember-cli-tree-shake",
"version": "0.1.0",
"version": "0.1.1",
"description": "Use tree shaking to discover dead code in your Ember app",

@@ -5,0 +5,0 @@ "directories": {

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