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

@krakenjs/cross-domain-utils

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@krakenjs/cross-domain-utils - npm Package Compare versions

Comparing version 2.0.39 to 3.0.0

CHANGELOG.md

33

package.json
{
"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 |

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