Socket
Socket
Sign inDemoInstall

@hig/text-link

Package Overview
Dependencies
Maintainers
5
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hig/text-link - npm Package Compare versions

Comparing version 0.1.0-alpha.220eff37 to 0.1.0-alpha.22fae66d

13

build/index.es.js

@@ -6,4 +6,11 @@ import React, { Component } from 'react';

var targets = Object.freeze(["_self", "_blank", "_parent", "_top"]);
var targets = Object.freeze({
SELF: "_self",
BLANK: "_blank",
PARENT: "_parent",
TOP: "_top"
});
var availableTargets = Object.freeze(Object.values(targets));
/** @type {Object.<string, string>} */

@@ -93,3 +100,3 @@ var types = Object.freeze({

/** Specify the anchor tag's target */
target: PropTypes.oneOf(targets),
target: PropTypes.oneOf(availableTargets),
/** Indicates the style of link */

@@ -130,3 +137,3 @@ type: PropTypes.oneOf(AVAILABLE_TYPES)

"computed": true,
"value": "targets"
"value": "availableTargets"
},

@@ -133,0 +140,0 @@ "required": false,

@@ -11,4 +11,11 @@ 'use strict';

var targets = Object.freeze(["_self", "_blank", "_parent", "_top"]);
var targets = Object.freeze({
SELF: "_self",
BLANK: "_blank",
PARENT: "_parent",
TOP: "_top"
});
var availableTargets = Object.freeze(Object.values(targets));
/** @type {Object.<string, string>} */

@@ -98,3 +105,3 @@ var types = Object.freeze({

/** Specify the anchor tag's target */
target: PropTypes.oneOf(targets),
target: PropTypes.oneOf(availableTargets),
/** Indicates the style of link */

@@ -135,3 +142,3 @@ type: PropTypes.oneOf(AVAILABLE_TYPES)

"computed": true,
"value": "targets"
"value": "availableTargets"
},

@@ -138,0 +145,0 @@ "required": false,

{
"name": "@hig/text-link",
"version": "0.1.0-alpha.220eff37",
"version": "0.1.0-alpha.22fae66d",
"description": "HIG Text Link",

@@ -25,6 +25,6 @@ "author": "Autodesk Inc.",

"devDependencies": {
"@hig/babel-preset": "0.2.0-alpha.220eff37",
"@hig/eslint-config": "0.2.0-alpha.220eff37",
"@hig/scripts": "0.2.0-alpha.220eff37",
"@hig/styles": "0.1.0-alpha.220eff37"
"@hig/babel-preset": "0.2.0-alpha.22fae66d",
"@hig/eslint-config": "0.2.0-alpha.22fae66d",
"@hig/scripts": "0.2.0-alpha.22fae66d",
"@hig/styles": "0.2.0-alpha.22fae66d"
},

@@ -31,0 +31,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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