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

@pixi/filter-alpha

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/filter-alpha - npm Package Compare versions

Comparing version 5.0.0-rc.2 to 5.0.0-rc.3

dist/filter-alpha.js

15

lib/filter-alpha.es.js
/*!
* @pixi/filter-alpha - v5.0.0-rc.2
* Compiled Mon, 18 Feb 2019 23:45:28 UTC
* @pixi/filter-alpha - v5.0.0-rc.3
* Compiled Fri, 22 Mar 2019 16:33:44 UTC
*

@@ -8,4 +8,3 @@ * @pixi/filter-alpha is licensed under the MIT License.

*/
import { Filter } from '@pixi/core';
import { defaultVertex } from '@pixi/fragments';
import { Filter, defaultVertex } from '@pixi/core';

@@ -31,3 +30,3 @@ var fragment = "varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n";

*/
var AlphaFilter = /*@__PURE__*/(function (Filter$$1) {
var AlphaFilter = /*@__PURE__*/(function (Filter) {
function AlphaFilter(alpha)

@@ -37,3 +36,3 @@ {

Filter$$1.call(this, defaultVertex, fragment, { uAlpha: 1 });
Filter.call(this, defaultVertex, fragment, { uAlpha: 1 });

@@ -43,4 +42,4 @@ this.alpha = alpha;

if ( Filter$$1 ) AlphaFilter.__proto__ = Filter$$1;
AlphaFilter.prototype = Object.create( Filter$$1 && Filter$$1.prototype );
if ( Filter ) AlphaFilter.__proto__ = Filter;
AlphaFilter.prototype = Object.create( Filter && Filter.prototype );
AlphaFilter.prototype.constructor = AlphaFilter;

@@ -47,0 +46,0 @@

/*!
* @pixi/filter-alpha - v5.0.0-rc.2
* Compiled Mon, 18 Feb 2019 23:45:28 UTC
* @pixi/filter-alpha - v5.0.0-rc.3
* Compiled Fri, 22 Mar 2019 16:33:44 UTC
*

@@ -13,3 +13,2 @@ * @pixi/filter-alpha is licensed under the MIT License.

var core = require('@pixi/core');
var fragments = require('@pixi/fragments');

@@ -40,3 +39,3 @@ var fragment = "varying vec2 vTextureCoord;\n\nuniform sampler2D uSampler;\nuniform float uAlpha;\n\nvoid main(void)\n{\n gl_FragColor = texture2D(uSampler, vTextureCoord) * uAlpha;\n}\n";

Filter.call(this, fragments.defaultVertex, fragment, { uAlpha: 1 });
Filter.call(this, core.defaultVertex, fragment, { uAlpha: 1 });

@@ -43,0 +42,0 @@ this.alpha = alpha;

{
"name": "@pixi/filter-alpha",
"version": "5.0.0-rc.2",
"version": "5.0.0-rc.3",
"main": "lib/filter-alpha.js",
"module": "lib/filter-alpha.es.js",
"bundle": "dist/filter-alpha.js",
"namespace": "PIXI.filters",
"description": "Filter that applies alpha evenly across the entire display object and any opaque elements it contains",

@@ -22,12 +24,12 @@ "author": "Mat Groves",

"files": [
"lib"
"lib",
"dist"
],
"dependencies": {
"@pixi/core": "^5.0.0-rc.2",
"@pixi/fragments": "^5.0.0-rc.2"
"@pixi/core": "^5.0.0-rc.3"
},
"devDependencies": {
"floss": "^2.1.5"
"floss": "^2.2.0"
},
"gitHead": "53b354f4e01d3baee7223756dd09a3163ad29d0f"
"gitHead": "8bd27c8b903ae2c8f90d91d64e82d65b19ac1cdb"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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