@braintree/iframer
Advanced tools
Comparing version 1.0.3 to 1.1.0
@@ -1,4 +0,7 @@ | ||
CHANGELOG | ||
========= | ||
# CHANGELOG | ||
# 1.1.0 | ||
- Add typescript types | ||
## 1.0.3 | ||
@@ -5,0 +8,0 @@ |
{ | ||
"name": "@braintree/iframer", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "A utility to consistently create iframes", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"test": "./node_modules/karma/bin/karma start config/karma.js --single-run" | ||
"prepublishOnly": "npm run build", | ||
"prebuild": "prettier --write .", | ||
"build": "tsc --declaration", | ||
"lint": "eslint --ext js,ts .", | ||
"posttest": "npm run lint", | ||
"test": "jest" | ||
}, | ||
@@ -15,15 +21,13 @@ "repository": { | ||
"devDependencies": { | ||
"browserify": "^9.0.8", | ||
"chai": "^2.2.0", | ||
"karma": "^0.12.31", | ||
"karma-browserify": "^4.1.2", | ||
"karma-chai": "^0.1.0", | ||
"karma-chai-sinon": "^0.1.4", | ||
"karma-mocha": "^1.1.1", | ||
"karma-phantomjs-launcher": "^1.0.0", | ||
"phantomjs-prebuilt": "^2.1.7", | ||
"mocha": "^3.0.0", | ||
"sinon": "^1.14.1", | ||
"sinon-chai": "^2.7.0" | ||
"@types/jest": "^26.0.4", | ||
"eslint": "^7.4.0", | ||
"eslint-config-braintree": "^5.0.0-typescript-prep-rc.17", | ||
"jest": "^26.1.0", | ||
"prettier": "^2.0.5", | ||
"ts-jest": "^26.1.2", | ||
"typescript": "^3.9.6" | ||
}, | ||
"jest": { | ||
"preset": "ts-jest" | ||
} | ||
} |
@@ -1,3 +0,2 @@ | ||
iframer | ||
======= | ||
# iframer | ||
@@ -9,9 +8,9 @@ A utility to allow consistent iframe creation. | ||
```javascript | ||
var iframer = require('iframer'); | ||
var iframer = require("iframer"); | ||
var myIframe = iframer({ | ||
name: 'braintree-dropin-iframe', | ||
style: 'z-index: 999', | ||
width: '100%', | ||
height: '68' | ||
name: "braintree-dropin-iframe", | ||
style: "z-index: 999", | ||
width: "100%", | ||
height: "68", | ||
}); | ||
@@ -18,0 +17,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10842
7
20
266
25
1