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

has-symbol-support-x

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

has-symbol-support-x - npm Package Compare versions

Comparing version 1.0.11 to 1.1.0

.eslintrc.json

21

index.js

@@ -45,3 +45,3 @@ /**

*
* @version 1.0.11
* @version 1.1.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -53,13 +53,16 @@ * @copyright Xotic750

/*jslint maxlen:80, es6:true, white:true */
/* jslint maxlen:80, es6:true, white:true */
/*jshint bitwise:true, camelcase:true, curly:true, eqeqeq:true, forin:true,
freeze:true, futurehostile:true, latedef:true, newcap:true, nocomma:true,
nonbsp:true, singleGroups:true, strict:true, undef:true, unused:true,
es3:false, esnext:true, plusplus:true, maxparams:1, maxdepth:1,
maxstatements:1, maxcomplexity:1 */
/* jshint bitwise:true, camelcase:true, curly:true, eqeqeq:true, forin:true,
freeze:true, futurehostile:true, latedef:true, newcap:true, nocomma:true,
nonbsp:true, singleGroups:true, strict:true, undef:true, unused:true,
es3:false, esnext:true, plusplus:true, maxparams:1, maxdepth:1,
maxstatements:3, maxcomplexity:2 */
/*global module */
/* eslint strict: 1, max-statements: 1, symbol-description: 1 */
;(function () {
/* global module */
;(function () { // eslint-disable-line no-extra-semi
'use strict';

@@ -66,0 +69,0 @@

@@ -46,3 +46,3 @@ (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){

*
* @version 1.0.11
* @version 1.1.0
* @author Xotic750 <Xotic750@gmail.com>

@@ -54,13 +54,16 @@ * @copyright Xotic750

/*jslint maxlen:80, es6:true, white:true */
/* jslint maxlen:80, es6:true, white:true */
/*jshint bitwise:true, camelcase:true, curly:true, eqeqeq:true, forin:true,
freeze:true, futurehostile:true, latedef:true, newcap:true, nocomma:true,
nonbsp:true, singleGroups:true, strict:true, undef:true, unused:true,
es3:false, esnext:true, plusplus:true, maxparams:1, maxdepth:1,
maxstatements:1, maxcomplexity:1 */
/* jshint bitwise:true, camelcase:true, curly:true, eqeqeq:true, forin:true,
freeze:true, futurehostile:true, latedef:true, newcap:true, nocomma:true,
nonbsp:true, singleGroups:true, strict:true, undef:true, unused:true,
es3:false, esnext:true, plusplus:true, maxparams:1, maxdepth:1,
maxstatements:3, maxcomplexity:2 */
/*global module */
/* eslint strict: 1, max-statements: 1, symbol-description: 1 */
;(function () {
/* global module */
;(function () { // eslint-disable-line no-extra-semi
'use strict';

@@ -67,0 +70,0 @@

{
"name": "has-symbol-support-x",
"version": "1.0.11",
"version": "1.1.0",
"description": "hasSymbolSupport module. Tests if Symbol is supported.",

@@ -33,12 +33,16 @@ "homepage": "https://github.com/Xotic750/has-symbol-support-x",

"devDependencies": {
"es5-shim": "^4.5.4",
"es6-shim": "^0.34.4",
"@ljharb/eslint-config": "^11.0.0",
"es5-shim": "^4.5.9",
"es6-shim": "^0.35.3",
"es7-shim": "^6.0.0",
"eslint": "^3.15.0",
"eslint-plugin-import": "^2.2.0",
"json3": "^3.3.2",
"jscs": "^2.9.0",
"uglify-js": "^2.6.1",
"browserify": "^13.0.0",
"jscs": "^3.0.7",
"uglify-js": "^2.7.5",
"browserify": "^14.1.0",
"browserify-derequire": "^0.9.4",
"jasmine-node": "^1.14.5",
"jsdoc-to-markdown": "^1.3.3",
"nsp": "^2.2.0"
"jsdoc-to-markdown": "^3.0.0",
"nsp": "^2.6.2"
},

@@ -49,2 +53,3 @@ "scripts": {

"style": "jscs index.js",
"eslint": "eslint *.js tests/spec/*.js",
"docs": "jsdoc2md --name-format --example-lang js index.js > README.md",

@@ -51,0 +56,0 @@ "build": "browserify -p browserify-derequire -e index.js -o lib/has-symbol-support-x.js -u 'crypto' -s returnExports",

<a name="module_has-symbol-support-x"></a>
## has-symbol-support-x

@@ -45,3 +46,3 @@ <a href="https://travis-ci.org/Xotic750/has-symbol-support-x"

**Version**: 1.0.11
**Version**: 1.1.0
**Author:** Xotic750 <Xotic750@gmail.com>

@@ -51,2 +52,3 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

<a name="exp_module_has-symbol-support-x--module.exports"></a>
### `module.exports` : <code>boolean</code> ⏏

@@ -53,0 +55,0 @@ Indicates if `Symbol`exists and creates the correct type.

@@ -1,12 +0,16 @@

/*jslint maxlen:80, es6:true, white:true */
/* jslint maxlen:80, es6:true, white:true */
/*jshint bitwise:true, camelcase:true, curly:true, eqeqeq:true, forin:true,
freeze:true, futurehostile:true, latedef:true, newcap:true, nocomma:true,
nonbsp:true, singleGroups:true, strict:true, undef:true, unused:true,
es3:false, esnext:true, plusplus:true, maxparams:1, maxdepth:2,
maxstatements:11, maxcomplexity:3 */
/* jshint bitwise:true, camelcase:true, curly:true, eqeqeq:true, forin:true,
freeze:true, futurehostile:true, latedef:true, newcap:true, nocomma:true,
nonbsp:true, singleGroups:true, strict:true, undef:true, unused:true,
es3:false, esnext:true, plusplus:true, maxparams:1, maxdepth:2,
maxstatements:12, maxcomplexity:4 */
/*global JSON:true, expect, module, require, describe, it, returnExports */
/* eslint strict: 1, max-lines: 1, symbol-description: 1, max-nested-callbacks: 1,
max-statements: 1 */
(function () {
/* global JSON:true, expect, module, require, describe, it, returnExports */
;(function () { // eslint-disable-line no-extra-semi
'use strict';

@@ -23,2 +27,9 @@

require('es6-shim');
var es7 = require('es7-shim');
Object.keys(es7).forEach(function (key) {
var obj = es7[key];
if (typeof obj.shim === 'function') {
obj.shim();
}
});
hasSymbolSupport = require('../../index.js');

@@ -31,4 +42,3 @@ } else {

it('results should match', function () {
var expected = typeof Symbol === 'function' &&
typeof Symbol.iterator === 'symbol';
var expected = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol';
expect(hasSymbolSupport).toBe(expected);

@@ -35,0 +45,0 @@ });

Sorry, the diff of this file is not supported yet

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