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

es5-shim

Package Overview
Dependencies
Maintainers
3
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es5-shim - npm Package Compare versions

Comparing version 4.5.7 to 4.5.8

tests/.eslintrc

9

.jscs.json

@@ -160,4 +160,11 @@ {

"disallowSpacesInsideTemplateStringPlaceholders": true
"requireSpaceBeforeObjectValues": true,
"requireSpaceBeforeDestructuredValues": true,
"disallowSpacesInsideTemplateStringPlaceholders": true,
"disallowArrayDestructuringReturn": false,
"requireNewlineBeforeSingleStatementsInIf": false
}

3

es5-sham.js

@@ -231,3 +231,4 @@ /*!

xDoc.write('<script><\/script>');
var script = 'script';
xDoc.write('<' + script + '></' + script + '>');
xDoc.close();

@@ -234,0 +235,0 @@

{
"name": "es5-shim",
"version": "4.5.7",
"version": "4.5.8",
"description": "ECMAScript 5 compatibility shims for legacy JavaScript engines",

@@ -25,9 +25,10 @@ "homepage": "http://github.com/es-shims/es5-shim/",

"scripts": {
"minify": "parallelshell 'npm run minify-shim' 'npm run minify-sham'",
"minify": "concurrently --raw 'npm run --silent minify-shim' 'npm run --silent minify-sham'",
"minify-shim": "uglifyjs es5-shim.js --keep-fnames --comments --source-map=es5-shim.map -m -b ascii_only=true,beautify=false > es5-shim.min.js",
"minify-sham": "uglifyjs es5-sham.js --keep-fnames --comments --source-map=es5-sham.map -m -b ascii_only=true,beautify=false > es5-sham.min.js",
"test": "npm run lint && npm run tests-only",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"tests-only": "jasmine-node --matchall ./ tests/spec/",
"test-native": "jasmine-node --matchall tests/spec/",
"lint": "parallelshell 'npm run jscs' 'npm run eslint'",
"lint": "concurrently --raw 'npm run --silent jscs' 'npm run --silent eslint'",
"eslint": "eslint tests/helpers/*.js tests/spec/*.js es5-shim.js es5-sham.js",

@@ -37,10 +38,10 @@ "jscs": "jscs tests/helpers/*.js tests/spec/*.js es5-shim.js es5-sham.js"

"devDependencies": {
"eslint": "^2.2.0",
"@ljharb/eslint-config": "^2.1.1",
"eslint": "^2.7.0",
"@ljharb/eslint-config": "^2.2.0",
"jasmine-node": "^1.14.5",
"jscs": "^2.10.1",
"jscs": "^2.11.0",
"uglify-js": "^2.6.2",
"replace": "^0.3.0",
"semver": "^5.1.0",
"parallelshell": "^2.0.0"
"concurrently": "^2.0.0"
},

@@ -47,0 +48,0 @@ "engines": {

@@ -145,3 +145,6 @@ /* global describe, it, xit, expect, beforeEach, jasmine, window */

if (supportsDescriptors) {
Object.defineProperty(window, 'thrower', { configurable: true, get: function () { throw new RangeError('thrower!'); } });
Object.defineProperty(window, 'thrower', {
configurable: true,
get: function () { throw new RangeError('thrower!'); }
});
}

@@ -148,0 +151,0 @@ for (var k in window) {

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 too big to display

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