@krakenjs/cross-domain-utils
Advanced tools
Comparing version 2.0.39 to 3.0.0
{ | ||
"name": "@krakenjs/cross-domain-utils", | ||
"version": "2.0.39", | ||
"version": "3.0.0", | ||
"description": "Javascript module template.", | ||
@@ -8,3 +8,3 @@ "main": "dist/cross-domain-utils.js", | ||
"scripts": { | ||
"build": "npm run test && npm run babel && npm run webpack", | ||
"build": "npm run babel && npm run webpack", | ||
"webpack": "cross-env NODE_ENV=production babel-node --plugins=transform-es2015-modules-commonjs ./node_modules/.bin/webpack --progress --output-path dist", | ||
@@ -19,7 +19,9 @@ "babel": "cross-env NODE_ENV=production babel src/ --out-dir dist/module", | ||
"reinstall": "rimraf flow-typed && rimraf node_modules && npm install && flow-typed install", | ||
"release": "./publish.sh", | ||
"release:patch": "./publish.sh patch", | ||
"release:minor": "./publish.sh minor", | ||
"release:major": "./publish.sh major", | ||
"debug": "cross-env NODE_ENV=debug" | ||
"prerelease": "npm run clean && npm run test && npm run build", | ||
"release": "standard-version", | ||
"postrelease": "git push && git push --follow-tags && npm publish", | ||
"debug": "cross-env NODE_ENV=debug", | ||
"prepublishOnly": "pinst --disable", | ||
"postpublish": "pinst --enable", | ||
"_postinstall": "husky install" | ||
}, | ||
@@ -33,8 +35,3 @@ "repository": { | ||
], | ||
"licenses": [ | ||
{ | ||
"type": "Apache 2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0.html" | ||
} | ||
], | ||
"license": "Apache-2.0", | ||
"files": [ | ||
@@ -46,10 +43,12 @@ "src/", | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.2.1", | ||
"@commitlint/config-conventional": "^16.2.1", | ||
"chai": "^4.2.0", | ||
"flow-bin": "0.155.0", | ||
"grumbler-scripts": "^3", | ||
"mocha": "^4" | ||
}, | ||
"dependencies": { | ||
"zalgo-promise": "^1.0.11" | ||
"husky": "^7.0.4", | ||
"mocha": "^4", | ||
"pinst": "^2.1.6", | ||
"standard-version": "^9.3.2" | ||
} | ||
} |
@@ -6,2 +6,10 @@ Cross Domain Utils | ||
## Installation | ||
As of version 3 this package will be published under the `@krakenjs` scope. | ||
``` | ||
npm install @krakenjs/cross-domain-utils | ||
``` | ||
## Public methods | ||
@@ -18,3 +26,3 @@ | ||
Get the full domain from the specified url, as a string. | ||
Get the full domain from the specified url, as a string. | ||
@@ -191,3 +199,3 @@ - it will try to extract the domain from the url string if it starts with well known protocols (`http://`, `https://`, `file://`, and additionally `mock://` urls) | ||
| Command | Description | | ||
| Command | Description | | ||
| ------------- |:-------------:| | ||
@@ -194,0 +202,0 @@ | npm run build | Builds the dist files | |
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
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
200555
0
22
211
9
- Removedzalgo-promise@^1.0.11
- Removedzalgo-promise@1.0.48(transitive)