has-to-string-tag-x
Advanced tools
Comparing version 1.3.0 to 1.4.0
31
index.js
/** | ||
* @file | ||
* <a href="https://travis-ci.org/Xotic750/has-to-string-tag-x" | ||
* title="Travis status"> | ||
* <img | ||
* src="https://travis-ci.org/Xotic750/has-to-string-tag-x.svg?branch=master" | ||
* alt="Travis status" height="18"> | ||
* </a> | ||
* <a href="https://david-dm.org/Xotic750/has-to-string-tag-x" | ||
* title="Dependency status"> | ||
* <img src="https://david-dm.org/Xotic750/has-to-string-tag-x.svg" | ||
* alt="Dependency status" height="18"/> | ||
* </a> | ||
* <a | ||
* href="https://david-dm.org/Xotic750/has-to-string-tag-x#info=devDependencies" | ||
* title="devDependency status"> | ||
* <img src="https://david-dm.org/Xotic750/has-to-string-tag-x/dev-status.svg" | ||
* alt="devDependency status" height="18"/> | ||
* </a> | ||
* <a href="https://badge.fury.io/js/has-to-string-tag-x" title="npm version"> | ||
* <img src="https://badge.fury.io/js/has-to-string-tag-x.svg" | ||
* alt="npm version" height="18"> | ||
* </a> | ||
* | ||
* Tests if ES6 @@toStringTag is supported. | ||
* | ||
* Requires ES3 or above. | ||
* | ||
* @file Tests if ES6 @@toStringTag is supported. | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag} | ||
* | ||
* @version 1.3.0 | ||
* @version 1.4.0 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -33,0 +6,0 @@ * @copyright Xotic750 |
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | ||
/** | ||
* @file | ||
* <a href="https://travis-ci.org/Xotic750/has-to-string-tag-x" | ||
* title="Travis status"> | ||
* <img | ||
* src="https://travis-ci.org/Xotic750/has-to-string-tag-x.svg?branch=master" | ||
* alt="Travis status" height="18"> | ||
* </a> | ||
* <a href="https://david-dm.org/Xotic750/has-to-string-tag-x" | ||
* title="Dependency status"> | ||
* <img src="https://david-dm.org/Xotic750/has-to-string-tag-x.svg" | ||
* alt="Dependency status" height="18"/> | ||
* </a> | ||
* <a | ||
* href="https://david-dm.org/Xotic750/has-to-string-tag-x#info=devDependencies" | ||
* title="devDependency status"> | ||
* <img src="https://david-dm.org/Xotic750/has-to-string-tag-x/dev-status.svg" | ||
* alt="devDependency status" height="18"/> | ||
* </a> | ||
* <a href="https://badge.fury.io/js/has-to-string-tag-x" title="npm version"> | ||
* <img src="https://badge.fury.io/js/has-to-string-tag-x.svg" | ||
* alt="npm version" height="18"> | ||
* </a> | ||
* | ||
* Tests if ES6 @@toStringTag is supported. | ||
* | ||
* Requires ES3 or above. | ||
* | ||
* @file Tests if ES6 @@toStringTag is supported. | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag} | ||
* | ||
* @version 1.3.0 | ||
* @version 1.4.0 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -51,30 +24,4 @@ * @copyright Xotic750 | ||
/** | ||
* @file | ||
* <a href="https://travis-ci.org/Xotic750/has-symbol-support-x" | ||
* title="Travis status"> | ||
* <img | ||
* src="https://travis-ci.org/Xotic750/has-symbol-support-x.svg?branch=master" | ||
* alt="Travis status" height="18"> | ||
* </a> | ||
* <a href="https://david-dm.org/Xotic750/has-symbol-support-x" | ||
* title="Dependency status"> | ||
* <img src="https://david-dm.org/Xotic750/has-symbol-support-x.svg" | ||
* alt="Dependency status" height="18"/> | ||
* </a> | ||
* <a | ||
* href="https://david-dm.org/Xotic750/has-symbol-support-x#info=devDependencies" | ||
* title="devDependency status"> | ||
* <img src="https://david-dm.org/Xotic750/has-symbol-support-x/dev-status.svg" | ||
* alt="devDependency status" height="18"/> | ||
* </a> | ||
* <a href="https://badge.fury.io/js/has-symbol-support-x" title="npm version"> | ||
* <img src="https://badge.fury.io/js/has-symbol-support-x.svg" | ||
* alt="npm version" height="18"> | ||
* </a> | ||
* | ||
* Tests if `Symbol` exists and creates the correct type. | ||
* | ||
* Requires ES3 or above. | ||
* | ||
* @version 1.3.0 | ||
* @file Tests if ES6 Symbol is supported. | ||
* @version 1.4.0 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
@@ -81,0 +28,0 @@ * @copyright Xotic750 |
@@ -1,1 +0,18 @@ | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=e()}}(function(){return function e(o,t,n){function s(f,i){if(!t[f]){if(!o[f]){var u="function"==typeof require&&require;if(!i&&u)return u(f,!0);if(r)return r(f,!0);var p=new Error("Cannot find module '"+f+"'");throw p.code="MODULE_NOT_FOUND",p}var l=t[f]={exports:{}};o[f][0].call(l.exports,function(e){var t=o[f][1][e];return s(t||e)},l,l.exports,e,o,t,n)}return t[f].exports}for(var r="function"==typeof require&&require,f=0;f<n.length;f++)s(n[f]);return s}({1:[function(e,o,t){"use strict";o.exports=e("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag},{"has-symbol-support-x":2}],2:[function(e,o,t){"use strict";o.exports="function"==typeof Symbol&&"symbol"==typeof Symbol("")},{}]},{},[1])(1)}); | ||
!function(f){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=f();else if("function"==typeof define&&define.amd)define([],f);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).returnExports=f()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n||e)},l,l.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o<r.length;o++)s(r[o]);return s}({1:[function(_dereq_,module,exports){/** | ||
* @file Tests if ES6 @@toStringTag is supported. | ||
* @see {@link http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag|26.3.1 @@toStringTag} | ||
* @version 1.4.0 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
* @copyright Xotic750 | ||
* @license {@link <https://opensource.org/licenses/MIT> MIT} | ||
* @module has-to-string-tag-x | ||
*/ | ||
"use strict";module.exports=_dereq_("has-symbol-support-x")&&"symbol"==typeof Symbol.toStringTag},{"has-symbol-support-x":2}],2:[function(_dereq_,module,exports){/** | ||
* @file Tests if ES6 Symbol is supported. | ||
* @version 1.4.0 | ||
* @author Xotic750 <Xotic750@gmail.com> | ||
* @copyright Xotic750 | ||
* @license {@link <https://opensource.org/licenses/MIT> MIT} | ||
* @module has-symbol-support-x | ||
*/ | ||
"use strict";module.exports="function"==typeof Symbol&&"symbol"==typeof Symbol("")},{}]},{},[1])(1)}); |
{ | ||
"name": "has-to-string-tag-x", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"description": "Tests if ES6 @@toStringTag is supported.", | ||
@@ -32,6 +32,6 @@ "homepage": "https://github.com/Xotic750/has-to-string-tag-x", | ||
"dependencies": { | ||
"has-symbol-support-x": "^1.3.0" | ||
"has-symbol-support-x": "^1.4.0" | ||
}, | ||
"devDependencies": { | ||
"@xotic750/eslint-config-standard-x": "^1.4.0", | ||
"@xotic750/eslint-config-standard-x": "^2.2.1", | ||
"browserify": "^14.4.0", | ||
@@ -43,3 +43,3 @@ "browserify-derequire": "^0.9.4", | ||
"es7-shim": "^6.0.0", | ||
"eslint": "^4.1.1", | ||
"eslint": "^4.2.0", | ||
"eslint-plugin-compat": "^1.0.4", | ||
@@ -55,10 +55,11 @@ "eslint-plugin-css-modules": "^2.7.2", | ||
"json3": "^3.3.2", | ||
"make-jasmine-spec-runner-html": "^1.2.0", | ||
"make-jasmine-spec-runner-html": "^1.3.0", | ||
"ncp": "^2.0.0", | ||
"nodemon": "^1.11.0", | ||
"nsp": "^2.6.3", | ||
"parallelshell": "^3.0.1", | ||
"replace-x": "^1.3.1", | ||
"replace-x": "^1.5.0", | ||
"rimraf": "^2.6.1", | ||
"serve": "^6.0.0", | ||
"uglify-js": "^3.0.23" | ||
"serve": "^6.0.2", | ||
"uglify-js": "^3.0.24" | ||
}, | ||
@@ -68,15 +69,20 @@ "scripts": { | ||
"clean:jasmine": "rimraf tests/index.html tests/run.js", | ||
"clean:all": "npm run clean:jasmine && npm run clean", | ||
"clean:all": "npm run clean:jasmine && npm run clean", | ||
"build": "npm run clean && npm run lint && npm run browserify && npm run uglify && npm run docs && npm test && npm run security", | ||
"build:jasmine": "npm run clean:jasmine && make-jasmine-spec-runner-html", | ||
"build:setver": "PKG_VER=$(node -p -e \"require('./package.json').version\") && replace-x \" @version .*\" \" @version ${PKG_VER}\" index.js", | ||
"production": "npm run clean:all && npm run build:jasmine && npm run build:setver && npm run build", | ||
"build:setver": "replace-x \" @version .*\" \" @version $(node -p -e \"require('./package.json').version\")\" index.js", | ||
"build:name": "replace-x \" @module .*\" \" @module $(node -p -e \"require('./package.json').name\")\" index.js", | ||
"build:description": "replace-x \" @file .*\" \" @file $(node -p -e \"require('./package.json').description\")\" index.js", | ||
"build:replace": "npm run build:setver && npm run build:name && npm run build:description", | ||
"production": "npm run clean:all && npm run build:jasmine && npm run build:replace && npm run build", | ||
"start": "parallelshell \"serve\" \"nodemon --watch index.js --exec 'npm run build'\"", | ||
"docs": "jsdoc2md --name-format --example-lang js index.js > README.md", | ||
"docs:name": "replace-x \"@{PACKAGE-NAME}\" \"$(node -p -e \"require('./package.json').name\")\" README.md", | ||
"docs:badges": "ncp badges.html README.md && npm run docs:name", | ||
"docs": "npm run docs:badges && jsdoc2md --name-format --example-lang js index.js >> README.md", | ||
"lint": "eslint *.js tests/spec/*.js", | ||
"lint-fix": "eslint --fix *.js tests/spec/*.js", | ||
"lint-fix": "npm run lint -- --fix", | ||
"security": "nsp check", | ||
"test": "jasmine-node --matchall tests/spec/", | ||
"browserify": "browserify -p browserify-derequire -e index.js -o lib/has-to-string-tag-x.js -u 'crypto' -s returnExports", | ||
"uglify": "uglifyjs lib/has-to-string-tag-x.js -o lib/has-to-string-tag-x.min.js --support-ie8 --compress --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map filename=lib/has-to-string-tag-x.map", | ||
"uglify": "uglifyjs lib/has-to-string-tag-x.js -o lib/has-to-string-tag-x.min.js --config-file .uglifyjsrc.json", | ||
"precommit": "npm run production", | ||
@@ -83,0 +89,0 @@ "prepush": "npm run production" |
@@ -1,32 +0,28 @@ | ||
<a name="module_has-to-string-tag-x"></a> | ||
## has-to-string-tag-x | ||
<a href="https://travis-ci.org/Xotic750/has-to-string-tag-x" | ||
title="Travis status"> | ||
title="Travis status"> | ||
<img | ||
src="https://travis-ci.org/Xotic750/has-to-string-tag-x.svg?branch=master" | ||
alt="Travis status" height="18"> | ||
src="https://travis-ci.org/Xotic750/has-to-string-tag-x.svg?branch=master" | ||
alt="Travis status" height="18"/> | ||
</a> | ||
<a href="https://david-dm.org/Xotic750/has-to-string-tag-x" | ||
title="Dependency status"> | ||
title="Dependency status"> | ||
<img src="https://david-dm.org/Xotic750/has-to-string-tag-x.svg" | ||
alt="Dependency status" height="18"/> | ||
alt="Dependency status" height="18"/> | ||
</a> | ||
<a | ||
href="https://david-dm.org/Xotic750/has-to-string-tag-x#info=devDependencies" | ||
title="devDependency status"> | ||
<a href="https://david-dm.org/Xotic750/has-to-string-tag-x#info=devDependencies" | ||
title="devDependency status"> | ||
<img src="https://david-dm.org/Xotic750/has-to-string-tag-x/dev-status.svg" | ||
alt="devDependency status" height="18"/> | ||
alt="devDependency status" height="18"/> | ||
</a> | ||
<a href="https://badge.fury.io/js/has-to-string-tag-x" title="npm version"> | ||
<img src="https://badge.fury.io/js/has-to-string-tag-x.svg" | ||
alt="npm version" height="18"> | ||
alt="npm version" height="18"/> | ||
</a> | ||
<a name="module_has-to-string-tag-x"></a> | ||
## has-to-string-tag-x | ||
Tests if ES6 @@toStringTag is supported. | ||
Requires ES3 or above. | ||
**See**: [26.3.1 @@toStringTag](http://www.ecma-international.org/ecma-262/6.0/#sec-@@tostringtag) | ||
**Version**: 1.3.0 | ||
**Version**: 1.4.0 | ||
**Author**: Xotic750 <Xotic750@gmail.com> | ||
@@ -33,0 +29,0 @@ **License**: [MIT](<https://opensource.org/licenses/MIT>) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
18
0
19079
27
139
38
Updatedhas-symbol-support-x@^1.4.0