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

@stencil/angular-output-target

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stencil/angular-output-target - npm Package Compare versions

Comparing version 0.7.2-dev.11691686383.1d6a2c07 to 0.7.2-dev.11691686917.1045ccb9

6

dist/generate-angular-component.js

@@ -73,2 +73,3 @@ import { createComponentEventTypeImports, dashToPascalCase, formatToQuotedList } from './utils';

const formatOutputType = (componentClassName, event) => {
const prefix = `I${componentClassName}`;
/**

@@ -82,3 +83,6 @@ * The original attribute contains the original type defined by the devs.

.reduce((type, [src, dst]) => {
const renamedType = `I${componentClassName}${type}`;
let renamedType = type;
if (!type.startsWith(prefix)) {
renamedType = `I${componentClassName}${type}`;
}
return (renamedType

@@ -85,0 +89,0 @@ .replace(new RegExp(`^${src}$`, 'g'), `${dst}`)

@@ -218,2 +218,3 @@ 'use strict';

const formatOutputType = (componentClassName, event) => {
const prefix = `I${componentClassName}`;
/**

@@ -227,3 +228,6 @@ * The original attribute contains the original type defined by the devs.

.reduce((type, [src, dst]) => {
const renamedType = `I${componentClassName}${type}`;
let renamedType = type;
if (!type.startsWith(prefix)) {
renamedType = `I${componentClassName}${type}`;
}
return (renamedType

@@ -230,0 +234,0 @@ .replace(new RegExp(`^${src}$`, 'g'), `${dst}`)

@@ -210,2 +210,3 @@ import path from 'path';

const formatOutputType = (componentClassName, event) => {
const prefix = `I${componentClassName}`;
/**

@@ -219,3 +220,6 @@ * The original attribute contains the original type defined by the devs.

.reduce((type, [src, dst]) => {
const renamedType = `I${componentClassName}${type}`;
let renamedType = type;
if (!type.startsWith(prefix)) {
renamedType = `I${componentClassName}${type}`;
}
return (renamedType

@@ -222,0 +226,0 @@ .replace(new RegExp(`^${src}$`, 'g'), `${dst}`)

4

package.json
{
"name": "@stencil/angular-output-target",
"version": "0.7.2-dev.11691686383.1d6a2c07",
"version": "0.7.2-dev.11691686917.1045ccb9",
"description": "Angular output target for @stencil/core components.",

@@ -61,3 +61,3 @@ "main": "dist/index.cjs.js",

},
"gitHead": "d6a2c0758150ee7856d2e86d7ce563f9b0b434a7",
"gitHead": "045ccb908869f12cc45c6f67fb99d1dcf5e23427",
"volta": {

@@ -64,0 +64,0 @@ "extends": "../../package.json"

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