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

font-color-pipe

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

font-color-pipe - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

bundles/font-color-pipe.umd.js

@@ -48,3 +48,3 @@ (function (global, factory) {

exports.FontColorModule = FontColorModule;
exports.ɵa = FontColorPipe;
exports.FontColorPipe = FontColorPipe;

@@ -51,0 +51,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

@@ -1,2 +0,2 @@

!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("font-color-pipe",["exports","@angular/core","@angular/common"],r):r(e["font-color-pipe"]={},e.ng.core,e.ng.common)}(this,function(e,r,o){"use strict";var n=function(){function e(){}return e.prototype.transform=function(e){if(e===undefined||null===e||e.length<7||"string"!=typeof e)return"#FFFFFF";var r=e.substr(1,2),o=e.substr(3,2),n=e.substr(5,2);return 186<.299*parseInt(r,16)+.587*parseInt(o,16)+.114*parseInt(n,16)?"#000000":"#FFFFFF"},e}();n.decorators=[{type:r.Pipe,args:[{name:"fontColor"}]}],n.ctorParameters=function(){return[]};var t=function(){};t.decorators=[{type:r.NgModule,args:[{imports:[o.CommonModule],declarations:[n],exports:[n]}]}],t.ctorParameters=function(){return[]},e.FontColorModule=t,e.ɵa=n,Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/common")):"function"==typeof define&&define.amd?define("font-color-pipe",["exports","@angular/core","@angular/common"],o):o(e["font-color-pipe"]={},e.ng.core,e.ng.common)}(this,function(e,o,r){"use strict";var n=function(){function e(){}return e.prototype.transform=function(e){if(e===undefined||null===e||e.length<7||"string"!=typeof e)return"#FFFFFF";var o=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2);return 186<.299*parseInt(o,16)+.587*parseInt(r,16)+.114*parseInt(n,16)?"#000000":"#FFFFFF"},e}();n.decorators=[{type:o.Pipe,args:[{name:"fontColor"}]}],n.ctorParameters=function(){return[]};var t=function(){};t.decorators=[{type:o.NgModule,args:[{imports:[r.CommonModule],declarations:[n],exports:[n]}]}],t.ctorParameters=function(){return[]},e.FontColorModule=t,e.FontColorPipe=n,Object.defineProperty(e,"__esModule",{value:!0})});
//# sourceMappingURL=font-color-pipe.umd.min.js.map

@@ -66,3 +66,3 @@ import { Pipe, NgModule } from '@angular/core';

export { FontColorModule, FontColorPipe as ɵa };
export { FontColorModule, FontColorPipe };
//# sourceMappingURL=font-color-pipe.js.map

@@ -44,3 +44,3 @@ import { Pipe, NgModule } from '@angular/core';

export { FontColorModule, FontColorPipe as ɵa };
export { FontColorModule, FontColorPipe };
//# sourceMappingURL=font-color-pipe.js.map

@@ -5,2 +5,1 @@ /**

export * from './public_api';
export { FontColorPipe as ɵa } from './src/app/modules/font-color/pipes/font-color.pipe';

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"FontColorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"ɵa"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"fontColor"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"FontColorModule":"./src/app/modules/font-color/font-color.module","ɵa":"./src/app/modules/font-color/pipes/font-color.pipe"},"importAs":"font-color-pipe"}
{"__symbolic":"module","version":4,"metadata":{"FontColorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":4}],"declarations":[{"__symbolic":"reference","name":"FontColorPipe"}],"exports":[{"__symbolic":"reference","name":"FontColorPipe"}]}]}],"members":{}},"FontColorPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":2,"character":1},"arguments":[{"name":"fontColor"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"FontColorModule":"./src/app/modules/font-color/font-color.module","FontColorPipe":"./src/app/modules/font-color/pipes/font-color.pipe"},"importAs":"font-color-pipe"}
{
"name": "font-color-pipe",
"version": "0.0.6",
"version": "0.0.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "homepage": "https://johnfedoruk.github.io/font-color-pipe/index.html",

export * from './src/app/modules/font-color/font-color.module';
export * from './src/app/modules/font-color/pipes/font-color.pipe';
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