From 81b88ae10cf87d92b84dfb9bae361de2a0667d07 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 20 Sep 2016 09:47:40 -0700 Subject: [PATCH] Bump to v4.16.1. --- README.md | 4 ++-- escape.js | 2 +- main.js | 10 +++++----- package.json | 2 +- unescape.js | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d9264f396..a4c0a6a10 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# lodash-amd v4.16.0 +# lodash-amd v4.16.1 The [Lodash](https://lodash.com/) library exported as [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) modules. @@ -27,4 +27,4 @@ require({ }); ``` -See the [package source](https://github.com/lodash/lodash/tree/4.16.0-amd) for more details. +See the [package source](https://github.com/lodash/lodash/tree/4.16.1-amd) for more details. diff --git a/escape.js b/escape.js index 2b25517ba..242c95e54 100644 --- a/escape.js +++ b/escape.js @@ -1,7 +1,7 @@ define(['./_escapeHtmlChar', './toString'], function(escapeHtmlChar, toString) { /** Used to match HTML entities and HTML characters. */ - var reUnescapedHtml = /[&<>"'`]/g, + var reUnescapedHtml = /[&<>"']/g, reHasUnescapedHtml = RegExp(reUnescapedHtml.source); /** diff --git a/main.js b/main.js index 270840b86..d0d136edd 100644 --- a/main.js +++ b/main.js @@ -13,7 +13,7 @@ var undefined; /** Used as the semantic version number. */ - var VERSION = '4.16.0'; + var VERSION = '4.16.1'; /** Used as the size to enable large array optimizations. */ var LARGE_ARRAY_SIZE = 200; @@ -120,8 +120,8 @@ reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; /** Used to match HTML entities and HTML characters. */ - var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g, - reUnescapedHtml = /[&<>"'`]/g, + var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, + reUnescapedHtml = /[&<>"']/g, reHasEscapedHtml = RegExp(reEscapedHtml.source), reHasUnescapedHtml = RegExp(reUnescapedHtml.source); @@ -1408,7 +1408,7 @@ * // Create a suped-up `defer` in Node.js. * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; */ - function runInContext(context) { + var runInContext = (function runInContext(context) { context = context ? _.defaults(root.Object(), context, _.pick(root, contextProps)) : root; /** Built-in constructor references. */ @@ -16861,7 +16861,7 @@ lodash.prototype[iteratorSymbol] = wrapperToIterator; } return lodash; - } + }); /*--------------------------------------------------------------------------*/ diff --git a/package.json b/package.json index 18dbde0c6..dad352364 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lodash-amd", - "version": "4.16.0", + "version": "4.16.1", "description": "Lodash exported as AMD modules.", "keywords": "amd, modules, stdlib, util", "homepage": "https://lodash.com/custom-builds", diff --git a/unescape.js b/unescape.js index 4005f49ae..a40a5c5cd 100644 --- a/unescape.js +++ b/unescape.js @@ -1,7 +1,7 @@ define(['./toString', './_unescapeHtmlChar'], function(toString, unescapeHtmlChar) { /** Used to match HTML entities and HTML characters. */ - var reEscapedHtml = /&(?:amp|lt|gt|quot|#39|#96);/g, + var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, reHasEscapedHtml = RegExp(reEscapedHtml.source); /**