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

els-component-extraction-addon

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

els-component-extraction-addon - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

9

index.js

@@ -37,4 +37,8 @@ "use strict";

filePath,
[componentName, { range, source, uri }]
[rawComponentName, { range, source, uri }]
) => {
if (!rawComponentName.trim()) {
console.log("no component name found");
return;
}
try {

@@ -45,4 +49,5 @@ // const ast = server.templateCompletionProvider.getAST(document.getText(range));

command: "els.executeInEmberCLI",
arguments: [filePath, `g component ${componentName}`],
arguments: [filePath, `g component ${rawComponentName}`],
});
const componentName = rawComponentName.trim().split(" ").pop();
// going to wait for file changes api

@@ -49,0 +54,0 @@ await new Promise((resolve) => setTimeout(resolve, 2000));

{
"name": "els-component-extraction-addon",
"version": "0.1.6",
"version": "0.1.7",
"description": "Ember Language Server Templates Code Actions extension",

@@ -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