@goodgamestudios/cxf-ready
Advanced tools
Comparing version 1.0.1 to 1.0.5
@@ -5,4 +5,24 @@ # Change Log | ||
<a name="1.0.5"></a> | ||
## [1.0.5](https://gitlab.goodgamestudios.com/cxf/cxf-ready/compare/v1.0.0...v1.0.5) (2019-10-14) | ||
<a name="1.0.4"></a> | ||
## [1.0.4](https://gitlab.goodgamestudios.com/cxf/cxf-ready/compare/v1.0.3...v1.0.4) (2019-10-14) | ||
<a name="1.0.3"></a> | ||
## [1.0.3](https://gitlab.goodgamestudios.com/cxf/cxf-ready/compare/v1.0.2...v1.0.3) (2019-10-14) | ||
<a name="1.0.2"></a> | ||
## [1.0.2](https://gitlab.goodgamestudios.com/cxf/cxf-ready/compare/v1.0.1...v1.0.2) (2019-10-14) | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://gitlab.goodgamestudios.com/cxf/cxf-ready/compare/v1.0.0...v1.0.1) (2018-11-19) | ||
## [1.0.1](https://gitlab.goodgamestudios.com/cxf/cxf-ready/compare/v1.0.0...v1.0.1) (2019-10-14) | ||
@@ -9,0 +29,0 @@ |
@@ -1,3 +0,1 @@ | ||
"use strict"; | ||
/** | ||
@@ -10,4 +8,4 @@ * A Promise that resolves when CXF has been initialized | ||
*/ | ||
var cxf = window && window.CXF; | ||
module.exports = new Promise(function (resolve, reject) { | ||
let cxf = window && window.CXF; | ||
module.exports = new Promise((resolve, reject) => { | ||
if (!window) { | ||
@@ -21,3 +19,3 @@ reject(); | ||
window.addEventListener('cxf.initialized', function (event) { | ||
window.addEventListener('cxf.initialized', event => { | ||
cxf = event.cxf; | ||
@@ -24,0 +22,0 @@ resolve(cxf); |
{ | ||
"name": "@goodgamestudios/cxf-ready", | ||
"version": "1.0.1", | ||
"version": "1.0.5", | ||
"description": "A Promise that resolves when CXF is ready.", | ||
"main": "dist/index.js", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "xo && nyc ava", | ||
"lint": "xo", | ||
"build": "babel index.js --out-dir dist", | ||
@@ -17,14 +18,10 @@ "release": "npm test && standard-version" | ||
"devDependencies": { | ||
"@babel/cli": "^7.1.5", | ||
"@babel/core": "^7.1.6", | ||
"@babel/preset-env": "^7.1.6", | ||
"@commitlint/cli": "^7.2.1", | ||
"@commitlint/config-conventional": "^7.1.2", | ||
"@goodgamestudios/browserslist-config": "^1.0.1", | ||
"ava": "1.0.0-rc.2", | ||
"@commitlint/cli": "^8.2.0", | ||
"@commitlint/config-conventional": "^8.2.0", | ||
"ava": "2.4.0", | ||
"browser-env": "^3.2.5", | ||
"husky": "^1.1.4", | ||
"nyc": "^13.1.0", | ||
"nyc": "^14.1.1", | ||
"standard-version": "^4.4.0", | ||
"xo": "^0.23.0" | ||
"xo": "^0.25.3" | ||
}, | ||
@@ -47,16 +44,3 @@ "xo": { | ||
} | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"useBuiltIns": "entry" | ||
} | ||
] | ||
] | ||
}, | ||
"browserslist": [ | ||
"extends @goodgamestudios/browserslist-config" | ||
] | ||
} | ||
} |
const test = require('ava') | ||
require('browser-env')() // eslint-disable-line import/no-unassigned-import | ||
require('browser-env')() | ||
@@ -4,0 +4,0 @@ const expect = Math.random() * 10000 | 0 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4313
8
9
73
1