Socket
Socket
Sign inDemoInstall

lodash.pad

Package Overview
Dependencies
2
Maintainers
3
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 3.2.1

23

index.js
/**
* lodash 3.2.0 (Custom Build) <https://lodash.com/>
* lodash 3.2.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`

@@ -35,3 +35,4 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/>

var rsAstralRange = '\\ud800-\\udfff',
rsComboRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
rsComboMarksRange = '\\u0300-\\u036f\\ufe20-\\ufe23',
rsComboSymbolsRange = '\\u20d0-\\u20f0',
rsVarRange = '\\ufe0e\\ufe0f';

@@ -41,4 +42,5 @@

var rsAstral = '[' + rsAstralRange + ']',
rsCombo = '[' + rsComboRange + ']',
rsModifier = '(?:\\ud83c[\\udffb-\\udfff])',
rsCombo = '[' + rsComboMarksRange + rsComboSymbolsRange + ']',
rsFitz = '\\ud83c[\\udffb-\\udfff]',
rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',
rsNonAstral = '[^' + rsAstralRange + ']',

@@ -57,6 +59,6 @@ rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}',

/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */
var reComplexSymbol = RegExp(rsSymbol + rsSeq, 'g');
var reComplexSymbol = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');
/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
var reHasComplexSymbol = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');
var reHasComplexSymbol = RegExp('[' + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + ']');

@@ -69,2 +71,3 @@ /** Built-in method references without a dependency on `global`. */

*
* @private
* @param {string} string The string to inspect.

@@ -105,3 +108,3 @@ * @returns {number} Returns the string size.

/** Built-in value references. */
var _Symbol = global.Symbol;
var Symbol = global.Symbol;

@@ -113,4 +116,4 @@ /* Built-in method references for those with the same name as other `lodash` methods. */

/** Used to convert symbols to primitives and strings. */
var symbolProto = _Symbol ? _Symbol.prototype : undefined,
symbolToString = _Symbol ? symbolProto.toString : undefined;
var symbolProto = Symbol ? Symbol.prototype : undefined,
symbolToString = Symbol ? symbolProto.toString : undefined;

@@ -348,3 +351,3 @@ /**

if (isSymbol(value)) {
return _Symbol ? symbolToString.call(value) : '';
return Symbol ? symbolToString.call(value) : '';
}

@@ -351,0 +354,0 @@ var result = (value + '');

{
"name": "lodash.pad",
"version": "3.2.0",
"version": "3.2.1",
"description": "The lodash method `_.pad` exported as a module.",

@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/",

@@ -1,2 +0,2 @@

# lodash.pad v3.2.0
# lodash.pad v3.2.1

@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.pad` exported as a [Node.js](https://nodejs.org/) module.

See the [documentation](https://lodash.com/docs#pad) or [package source](https://github.com/lodash/lodash/blob/3.2.0-npm-packages/lodash.pad) for more details.
See the [documentation](https://lodash.com/docs#pad) or [package source](https://github.com/lodash/lodash/blob/3.2.1-npm-packages/lodash.pad) for more details.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc