New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

is-url-http

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-url-http - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

19

CHANGELOG.md

@@ -1,14 +0,20 @@

## <small>2.1.2 (2020-03-20)</small>
# Changelog
* fix: add types ([ab21a60](https://github.com/Kikobeats/is-url-http/commit/ab21a60)), closes [#6](https://github.com/Kikobeats/is-url-http/issues/6)
* feat: add types declaration file ([a0ff382](https://github.com/Kikobeats/is-url-http/commit/a0ff382))
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## 2.2.0 (2020-10-12)
## <small>2.1.1 (2020-02-05)</small>
### Features
* test: extend tests for lightweight version ([7b66fb5](https://github.com/Kikobeats/is-url-http/commit/7b66fb5))
* add browser support ([fa851c7](https://github.com/Kikobeats/is-url-http/commit/fa851c7a55de07fa2d710d4685fa83f4f830276d))
* add lightweight version ([d49eea7](https://github.com/Kikobeats/is-url-http/commit/d49eea7512531e98f31f832322a5e64bed8a758d))
* add types declaration file ([a0ff382](https://github.com/Kikobeats/is-url-http/commit/a0ff382c71e129ff7fd3485c6c690f2e390d74ed))
* detect duplicate protocol ([500c0d7](https://github.com/Kikobeats/is-url-http/commit/500c0d7999a0e0242ac3784ecd49046cf5c519cb))
### Bug Fixes
* add types ([ab21a60](https://github.com/Kikobeats/is-url-http/commit/ab21a6081c23eacc2f7eed38bd409ba3d8c6dd5a)), closes [#6](https://github.com/Kikobeats/is-url-http/issues/6)
## 2.1.0 (2020-02-05)

@@ -110,4 +116,1 @@

* First commit ([eaccf59](https://github.com/Kikobeats/is-url-http/commit/eaccf59))
'use strict'
const URL = global.window ? window.URL : require('url').URL
const urlRegex = require('url-regex')({ exact: true })
const urlRegex = require('url-regex-safe')({ exact: true })

@@ -6,0 +6,0 @@ const REGEX_HTTP_PROTOCOL = /^https?:\/\//i

@@ -5,3 +5,3 @@ {

"homepage": "https://nicedoc.io/Kikobeats/is-url-http",
"version": "2.1.2",
"version": "2.2.0",
"browser": "lightweight.js",

@@ -37,6 +37,10 @@ "main": "index.js",

"dependencies": {
"url-regex": "~5.0.0"
"url-regex-safe": "~1.0.2"
},
"devDependencies": {
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"ava": "latest",
"ci-publish": "latest",
"conventional-github-releaser": "latest",
"coveralls": "latest",

@@ -48,6 +52,8 @@ "finepack": "latest",

"lint-staged": "latest",
"npm-check-updates": "latest",
"nyc": "latest",
"prettier-standard": "latest",
"standard": "latest",
"standard-markdown": "latest"
"standard-markdown": "latest",
"standard-version": "latest"
},

@@ -64,11 +70,25 @@ "engines": {

"clean": "rm -rf node_modules",
"contributors": "(git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "standard-markdown README.md && standard",
"postrelease": "npm run release:tags && npm run release:github && ci-publish",
"prerelease": "npm run update:check && npm run contributors",
"pretest": "npm run lint",
"pretty": "prettier-standard index.js {core,test,bin,scripts}/**/*.js --single-quote --print-width 100",
"test": "nyc ava"
"release": "standard-version -a",
"release:github": "conventional-github-releaser -p angular",
"release:tags": "git push --follow-tags origin HEAD:master",
"test": "nyc ava",
"update": "ncu -u",
"update:check": "ncu -- --error-level 2"
},
"license": "MIT",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"

@@ -75,0 +95,0 @@ }

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