Socket
Socket
Sign inDemoInstall

gulp-angular-htmlify

Package Overview
Dependencies
87
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

2

index.js

@@ -11,3 +11,3 @@ 'use strict';

//find ng-something
var replaceRegex = /(\s+)ng-(\w+)/ig;
var replaceRegex = /([\s<\/]+)ng-(\w+)/ig;
//replace with data-ng-something

@@ -14,0 +14,0 @@ var replaceStr = '$1data-ng-$2';

{
"name": "gulp-angular-htmlify",
"description": "Change your ng-attributes to data-ng-attributes for html5 validation",
"version": "0.0.3",
"version": "0.0.4",
"engines": {

@@ -16,2 +16,3 @@ "node": ">=0.10.0"

"scripts": {
"watchTest": "mocha --watch",
"test": "mocha"

@@ -18,0 +19,0 @@ },

@@ -35,2 +35,12 @@ # [gulp](https://github.com/wearefractal/gulp)-angular-htmlify

**gulp-angular-htmlify** currently handles the following cases:
```html
<!-- attribute -->
<ANY ng-directive>
<!-- regular element -->
<ng-directive></ng-directive>
<!-- self closing element -->
<ng-directive />
```
## Install

@@ -37,0 +47,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc