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

@pnotify/font-awesome5

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

@pnotify/font-awesome5 - npm Package Compare versions

Comparing version 5.1.0 to 5.1.1

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [5.1.1](https://github.com/sciactive/pnotify/compare/v5.1.0...v5.1.1) (2020-04-27)
### Bug Fixes
* remove erroneous fa5 fix file from fa5 module ([642facf](https://github.com/sciactive/pnotify/commit/642facf218d7f71bfb3cf57ceff56709b0c58beb))
* run build js through babel ([edd8ce7](https://github.com/sciactive/pnotify/commit/edd8ce7f5e8ea008114e178dc5f0a9b08b9c7d5e)), closes [#389](https://github.com/sciactive/pnotify/issues/389)
# [5.1.0](https://github.com/sciactive/pnotify/compare/v5.0.1...v5.1.0) (2020-04-21)

@@ -8,0 +20,0 @@

2

dist/PNotifyFontAwesome5.js

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

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PNotifyFontAwesome5=e():t.PNotifyFontAwesome5=e()}(window,(function(){return function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e,n){"use strict";function o(){}n.d(e,"a",(function(){return N})),n.d(e,"b",(function(){return C})),n.d(e,"c",(function(){return p})),n.d(e,"d",(function(){return f})),n.d(e,"e",(function(){return w}));function r(t){return t()}function c(){return Object.create(null)}function u(t){t.forEach(r)}function i(t){return"function"==typeof t}function f(t,e){return t!=t?e==e:t!==e||t&&"object"==typeof t||"function"==typeof t}new Set;function a(t){t.parentNode.removeChild(t)}new Set;let s;function l(t){s=t}function d(){if(!s)throw new Error("Function called outside component initialization");return s}function p(t){d().$$.on_destroy.push(t)}const h=[],m=[],y=[],$=[],b=Promise.resolve();let g=!1;function x(){g||(g=!0,b.then(k))}function w(){return x(),b}function _(t){y.push(t)}let v=!1;const j=new Set;function k(){if(!v){v=!0;do{for(let t=0;t<h.length;t+=1){const e=h[t];l(e),O(e.$$)}for(h.length=0;m.length;)m.pop()();for(let t=0;t<y.length;t+=1){const e=y[t];j.has(e)||(j.add(e),e())}y.length=0}while(h.length);for(;$.length;)$.pop()();g=!1,v=!1,j.clear()}}function O(t){if(null!==t.fragment){t.update(),u(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(_)}}const S=new Set;function P(t,e){t&&t.i&&(S.delete(t),t.i(e))}"undefined"!=typeof window?window:global;new Set(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]);let E;function M(t,e){const n=t.$$;null!==n.fragment&&(u(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function C(t,e,n,f,d,p,m=[-1]){const y=s;l(t);const $=e.props||{},b=t.$$={fragment:null,ctx:null,props:p,update:o,not_equal:d,bound:c(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(y?y.$$.context:[]),callbacks:c(),dirty:m};let g=!1;if(b.ctx=n?n(t,$,(e,n,...o)=>{const r=o.length?o[0]:n;return b.ctx&&d(b.ctx[e],b.ctx[e]=r)&&(b.bound[e]&&b.bound[e](r),g&&function(t,e){-1===t.$$.dirty[0]&&(h.push(t),x(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}(t,e)),n}):[],b.update(),g=!0,u(b.before_update),b.fragment=!!f&&f(b.ctx),e.target){if(e.hydrate){const t=function(t){return Array.from(t.childNodes)}(e.target);b.fragment&&b.fragment.l(t),t.forEach(a)}else b.fragment&&b.fragment.c();e.intro&&P(t.$$.fragment),function(t,e,n){const{fragment:o,on_mount:c,on_destroy:f,after_update:a}=t.$$;o&&o.m(e,n),_(()=>{const e=c.map(r).filter(i);f?f.push(...e):u(e),t.$$.on_mount=[]}),a.forEach(_)}(t,e.target,e.anchor),k()}l(y)}"function"==typeof HTMLElement&&(E=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){for(const t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(t,e,n){this[t]=n}$destroy(){M(this,1),this.$destroy=o}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}});class N{$destroy(){M(this,1),this.$destroy=o}$on(t,e){const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1)}}$set(){}}},function(t,e,n){"use strict";n.r(e),n.d(e,"position",(function(){return r})),n.d(e,"defaults",(function(){return c})),n.d(e,"init",(function(){return u}));var o=n(0);const r="PrependContainer",c={};function u(t){t.defaults.icons={prefix:"fontawesome5",notice:"fas fa-exclamation-circle",info:"fas fa-info-circle",success:"fas fa-check-circle",error:"fas fa-exclamation-triangle",closer:"fas fa-times",sticker:"fas",stuck:"fa-play",unstuck:"fa-pause",refresh:"fas fa-sync"}}class i extends o.a{constructor(t){super(),Object(o.b)(this,t,null,null,o.d,{})}}e.default=i}])}));
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.PNotifyFontAwesome5=e():t.PNotifyFontAwesome5=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&a(t,e)}function o(t){return function(){var e,n=l(t);if(c()){var r=l(this).constructor;Reflect.construct(n,arguments,r)}else n.apply(this,arguments);return u(this,e)}}function u(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||(t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return i(t,arguments,l(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)}(t)}function i(t,e,n){return(c()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var o=new(Function.bind.apply(t,r));return n&&a(o,n.prototype),o}).apply(null,arguments)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function a(t,e){return(Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){return(Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(){}n.r(e),n.d(e,"position",(function(){return X})),n.d(e,"defaults",(function(){return Y})),n.d(e,"init",(function(){return Z}));function v(t){return t()}function g(){return Object.create(null)}function w(t){t.forEach(v)}function _(t){return"function"==typeof t}function O(t,e){return t!=t?e==e:t!==e||t&&"object"===m(t)||"function"==typeof t}new Set;function S(t){t.parentNode.removeChild(t)}function j(t){return Array.from(t.childNodes)}var x;new Set;function $(t){x=t}var P=[],E=[],R=[],k=[],A=Promise.resolve(),M=!1;function T(){M||(M=!0,A.then(N))}function C(t){R.push(t)}var D=!1,F=new Set;function N(){if(!D){D=!0;do{for(var t=0;t<P.length;t+=1){var e=P[t];$(e),q(e.$$)}for(P.length=0;E.length;)E.pop()();for(var n=0;n<R.length;n+=1){var r=R[n];F.has(r)||(F.add(r),r())}R.length=0}while(P.length);for(;k.length;)k.pop()();M=!1,D=!1,F.clear()}}function q(t){if(null!==t.fragment){t.update(),w(t.before_update);var e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(C)}}var I=new Set;function H(t,e){t&&t.i&&(I.delete(t),t.i(e))}"undefined"!=typeof window?window:global;new Set(["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"]);function L(t,e,n){var r=t.$$,o=r.fragment,u=r.on_mount,f=r.on_destroy,i=r.after_update;o&&o.m(e,n),C((function(){var e=u.map(v).filter(_);f?f.push.apply(f,p(e)):w(e),t.$$.on_mount=[]})),i.forEach(C)}function U(t,e){var n=t.$$;null!==n.fragment&&(w(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function z(t,e){-1===t.$$.dirty[0]&&(P.push(t),T(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}"function"==typeof HTMLElement&&HTMLElement;var B=function(){function t(){y(this,t)}return b(t,[{key:"$destroy",value:function(){U(this,1),this.$destroy=h}},{key:"$on",value:function(t,e){var n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),function(){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}}},{key:"$set",value:function(){}}]),t}();function G(t){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function J(t,e){return(J=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function K(t,e){return!e||"object"!==G(e)&&"function"!=typeof e?Q(t):e}function Q(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function V(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function W(t){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var X="PrependContainer",Y={};function Z(t){t.defaults.icons={prefix:"fontawesome5",notice:"fas fa-exclamation-circle",info:"fas fa-info-circle",success:"fas fa-check-circle",error:"fas fa-exclamation-triangle",closer:"fas fa-times",sticker:"fas",stuck:"fa-play",unstuck:"fa-pause",refresh:"fas fa-sync"}}var tt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&J(t,e)}(r,t);var e,n=(e=r,function(){var t,n=W(e);if(V()){var r=W(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return K(this,t)});function r(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),function(t,e,n,r,o,u){var f=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[-1],i=x;$(t);var c=e.props||{},a=t.$$={fragment:null,ctx:null,props:u,update:h,not_equal:o,bound:g(),on_mount:[],on_destroy:[],before_update:[],after_update:[],context:new Map(i?i.$$.context:[]),callbacks:g(),dirty:f},l=!1;if(a.ctx=n?n(t,c,(function(e,n){var r=!(arguments.length<=2)&&arguments.length-2?arguments.length<=2?void 0:arguments[2]:n;return a.ctx&&o(a.ctx[e],a.ctx[e]=r)&&(a.bound[e]&&a.bound[e](r),l&&z(t,e)),n})):[],a.update(),l=!0,w(a.before_update),a.fragment=!!r&&r(a.ctx),e.target){if(e.hydrate){var p=j(e.target);a.fragment&&a.fragment.l(p),p.forEach(S)}else a.fragment&&a.fragment.c();e.intro&&H(t.$$.fragment),L(t,e.target,e.anchor),N()}$(i)}(Q(e=n.call(this)),t,null,null,O,{}),e}return r}(B);e.default=tt}])}));

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

import {Module, ModuleOptions} from '@pnotify/core';
import { Module, ModuleOptions } from '@pnotify/core';

@@ -3,0 +3,0 @@ export as namespace PNotifyFontAwesome5;

{
"name": "@pnotify/font-awesome5",
"version": "5.1.0",
"version": "5.1.1",
"description": "PNotify - Font Awesome 5 Module",

@@ -43,6 +43,7 @@ "keywords": [

"dependencies": {
"@pnotify/core": "^5.1.0"
"@pnotify/core": "^5.1.1"
},
"peerDependencies": {
"@fortawesome/free-solid-svg-icons": "^5.13.0"
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@pnotify/font-awesome5-fix": "^5.1.0"
},

@@ -53,5 +54,5 @@ "devDependencies": {

"babel-loader": "^8.1.0",
"core-js": "^3.6.5",
"css-loader": "^3.5.2",
"mini-css-extract-plugin": "^0.9.0",
"style-loader": "^1.1.4",
"svelte": "^3.20.1",

@@ -62,3 +63,3 @@ "svelte-loader": "^2.13.6",

},
"gitHead": "f069afd87342b2c2d36ca8c2830b0ec818f65419"
"gitHead": "f593ac0d28c293e8f28e8b090d91dc7de694aed3"
}

@@ -8,4 +8,3 @@ const path = require('path');

entry: {
PNotifyFontAwesome5: path.resolve(__dirname, 'index.svelte'),
PNotifyFontAwesome5Fix: path.resolve(__dirname, 'fix.svelte')
PNotifyFontAwesome5: path.resolve(__dirname, 'index.svelte')
},

@@ -36,3 +35,20 @@ output: {

{
test: /\.(html|svelte)$/,
test: /\.(js|mjs|svelte)$/,
use: {
loader: 'babel-loader',
options: {
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'entry',
corejs: 3
}
]
]
}
}
},
{
test: /\.svelte$/,
exclude: /\/node_modules\//,

@@ -49,16 +65,3 @@ use: {

test: /\.css$/,
use: [
devMode ? 'style-loader' : MiniCssExtractPlugin.loader,
'css-loader'
]
},
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
use: [MiniCssExtractPlugin.loader, 'css-loader']
}

@@ -65,0 +68,0 @@ ]

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