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

@pixi/filter-bloom

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pixi/filter-bloom - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

7

lib/filter-bloom.es.js
/*!
* @pixi/filter-bloom - v2.0.0
* Compiled Wed, 26 Jul 2017 17:02:38 UTC
* Compiled Fri, 08 Sep 2017 16:01:57 UTC
*

@@ -9,2 +9,4 @@ * pixi-filters is licensed under the MIT License.

if (typeof PIXI === 'undefined' || typeof PIXI.filters === 'undefined') { throw 'PixiJS is required'; }
var ref = PIXI.filters;

@@ -105,3 +107,6 @@ var BlurXFilter = ref.BlurXFilter;

// Export to PixiJS namespace
PIXI.filters.BloomFilter = BloomFilter;
export { BloomFilter };
//# sourceMappingURL=filter-bloom.es.js.map

4

lib/filter-bloom.es.min.js
/*!
* @pixi/filter-bloom - v2.0.0
* Compiled Wed, 26 Jul 2017 17:02:38 UTC
* Compiled Fri, 08 Sep 2017 16:01:58 UTC
*

@@ -8,3 +8,3 @@ * pixi-filters is licensed under the MIT License.

*/
var ref=PIXI.filters,BlurXFilter=ref.BlurXFilter,BlurYFilter=ref.BlurYFilter,VoidFilter=ref.VoidFilter,BloomFilter=function(r){function t(t){void 0===t&&(t=2),r.call(this),this.blurXFilter=new BlurXFilter,this.blurYFilter=new BlurYFilter,this.blurYFilter.blendMode=PIXI.BLEND_MODES.SCREEN,this.defaultFilter=new VoidFilter,"number"==typeof t?this.blur=t:t instanceof PIXI.Point&&(this.blurX=t.x,this.blurY=t.y)}r&&(t.__proto__=r),(t.prototype=Object.create(r&&r.prototype)).constructor=t;var l={blur:{},blurX:{},blurY:{}};return t.prototype.apply=function(r,t,l){var e=r.getRenderTarget(!0);this.defaultFilter.apply(r,t,l),this.blurXFilter.apply(r,t,e),this.blurYFilter.apply(r,e,l),r.returnRenderTarget(e)},l.blur.get=function(){return this.blurXFilter.blur},l.blur.set=function(r){this.blurXFilter.blur=this.blurYFilter.blur=r},l.blurX.get=function(){return this.blurXFilter.blur},l.blurX.set=function(r){this.blurXFilter.blur=r},l.blurY.get=function(){return this.blurYFilter.blur},l.blurY.set=function(r){this.blurYFilter.blur=r},Object.defineProperties(t.prototype,l),t}(PIXI.Filter);export{BloomFilter};
var ref=PIXI.filters,BlurXFilter=ref.BlurXFilter,BlurYFilter=ref.BlurYFilter,VoidFilter=ref.VoidFilter,BloomFilter=function(r){function t(t){void 0===t&&(t=2),r.call(this),this.blurXFilter=new BlurXFilter,this.blurYFilter=new BlurYFilter,this.blurYFilter.blendMode=PIXI.BLEND_MODES.SCREEN,this.defaultFilter=new VoidFilter,"number"==typeof t?this.blur=t:t instanceof PIXI.Point&&(this.blurX=t.x,this.blurY=t.y)}r&&(t.__proto__=r),(t.prototype=Object.create(r&&r.prototype)).constructor=t;var l={blur:{},blurX:{},blurY:{}};return t.prototype.apply=function(r,t,l){var e=r.getRenderTarget(!0);this.defaultFilter.apply(r,t,l),this.blurXFilter.apply(r,t,e),this.blurYFilter.apply(r,e,l),r.returnRenderTarget(e)},l.blur.get=function(){return this.blurXFilter.blur},l.blur.set=function(r){this.blurXFilter.blur=this.blurYFilter.blur=r},l.blurX.get=function(){return this.blurXFilter.blur},l.blurX.set=function(r){this.blurXFilter.blur=r},l.blurY.get=function(){return this.blurYFilter.blur},l.blurY.set=function(r){this.blurYFilter.blur=r},Object.defineProperties(t.prototype,l),t}(PIXI.Filter);PIXI.filters.BloomFilter=BloomFilter;export{BloomFilter};
//# sourceMappingURL=filter-bloom.es.min.js.map
/*!
* @pixi/filter-bloom - v2.0.0
* Compiled Wed, 26 Jul 2017 17:02:36 UTC
* Compiled Fri, 08 Sep 2017 16:01:56 UTC
*

@@ -15,3 +15,3 @@ * pixi-filters is licensed under the MIT License.

if (typeof PIXI.Filter === 'undefined') { throw 'PixiJS is required'; }
if (typeof PIXI === 'undefined' || typeof PIXI.filters === 'undefined') { throw 'PixiJS is required'; }

@@ -113,2 +113,5 @@ var ref = PIXI.filters;

// Export to PixiJS namespace
PIXI.filters.BloomFilter = BloomFilter;
exports.BloomFilter = BloomFilter;

@@ -118,5 +121,3 @@

Object.assign(PIXI.filters, exports);
})));
//# sourceMappingURL=filter-bloom.js.map
/*!
* @pixi/filter-bloom - v2.0.0
* Compiled Wed, 26 Jul 2017 17:02:37 UTC
* Compiled Fri, 08 Sep 2017 16:01:56 UTC
*

@@ -8,3 +8,3 @@ * pixi-filters is licensed under the MIT License.

*/
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(t.__filter_bloom={})}(this,function(t){"use strict";if(void 0===PIXI.Filter)throw"PixiJS is required";var r=PIXI.filters,e=r.BlurXFilter,i=r.BlurYFilter,l=r.VoidFilter,u=function(t){function r(r){void 0===r&&(r=2),t.call(this),this.blurXFilter=new e,this.blurYFilter=new i,this.blurYFilter.blendMode=PIXI.BLEND_MODES.SCREEN,this.defaultFilter=new l,"number"==typeof r?this.blur=r:r instanceof PIXI.Point&&(this.blurX=r.x,this.blurY=r.y)}t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r;var u={blur:{},blurX:{},blurY:{}};return r.prototype.apply=function(t,r,e){var i=t.getRenderTarget(!0);this.defaultFilter.apply(t,r,e),this.blurXFilter.apply(t,r,i),this.blurYFilter.apply(t,i,e),t.returnRenderTarget(i)},u.blur.get=function(){return this.blurXFilter.blur},u.blur.set=function(t){this.blurXFilter.blur=this.blurYFilter.blur=t},u.blurX.get=function(){return this.blurXFilter.blur},u.blurX.set=function(t){this.blurXFilter.blur=t},u.blurY.get=function(){return this.blurYFilter.blur},u.blurY.set=function(t){this.blurYFilter.blur=t},Object.defineProperties(r.prototype,u),r}(PIXI.Filter);t.BloomFilter=u,Object.defineProperty(t,"__esModule",{value:!0}),Object.assign(PIXI.filters,t)});
!function(t,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports):"function"==typeof define&&define.amd?define(["exports"],r):r(t.__filter_bloom={})}(this,function(t){"use strict";var r=PIXI.filters,e=r.BlurXFilter,l=r.BlurYFilter,i=r.VoidFilter,u=function(t){function r(r){void 0===r&&(r=2),t.call(this),this.blurXFilter=new e,this.blurYFilter=new l,this.blurYFilter.blendMode=PIXI.BLEND_MODES.SCREEN,this.defaultFilter=new i,"number"==typeof r?this.blur=r:r instanceof PIXI.Point&&(this.blurX=r.x,this.blurY=r.y)}t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r;var u={blur:{},blurX:{},blurY:{}};return r.prototype.apply=function(t,r,e){var l=t.getRenderTarget(!0);this.defaultFilter.apply(t,r,e),this.blurXFilter.apply(t,r,l),this.blurYFilter.apply(t,l,e),t.returnRenderTarget(l)},u.blur.get=function(){return this.blurXFilter.blur},u.blur.set=function(t){this.blurXFilter.blur=this.blurYFilter.blur=t},u.blurX.get=function(){return this.blurXFilter.blur},u.blurX.set=function(t){this.blurXFilter.blur=t},u.blurY.get=function(){return this.blurYFilter.blur},u.blurY.set=function(t){this.blurYFilter.blur=t},Object.defineProperties(r.prototype,u),r}(PIXI.Filter);PIXI.filters.BloomFilter=u,t.BloomFilter=u,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=filter-bloom.min.js.map
{
"name": "@pixi/filter-bloom",
"version": "2.0.0",
"version": "2.0.1",
"main": "lib/filter-bloom.min.js",

@@ -33,3 +33,3 @@ "description": "Display filter render as ASCII text",

"devDependencies": {
"@tools/build": "^2.0.0",
"@tools/build": "^2.0.1",
"@tools/fragments": "^2.0.0",

@@ -36,0 +36,0 @@ "rollup": "^0.45.2"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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