mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	dependencies: Use core-js for String.prototype polyfills.
It seems like the de facto standard ES polyfill library these days, and we already depend on it through simplebar. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
		@@ -12,7 +12,7 @@ var path = require('path');
 | 
			
		||||
var fs = require('fs');
 | 
			
		||||
 | 
			
		||||
global.assert = require('assert');
 | 
			
		||||
require('string.prototype.codepointat/codepointat.js');
 | 
			
		||||
require('core-js/features/string/code-point-at');
 | 
			
		||||
 | 
			
		||||
global._ = require('underscore/underscore.js');
 | 
			
		||||
var _ = global._;
 | 
			
		||||
 
 | 
			
		||||
@@ -12,6 +12,7 @@
 | 
			
		||||
    "blueimp-md5": "2.10.0",
 | 
			
		||||
    "cache-loader": "4.0.0",
 | 
			
		||||
    "clipboard": "2.0.4",
 | 
			
		||||
    "core-js": "^3.0.1",
 | 
			
		||||
    "css-loader": "2.1.1",
 | 
			
		||||
    "emoji-datasource-google": "4.0.4",
 | 
			
		||||
    "emoji-datasource-google-blob": "npm:emoji-datasource-google@3.0.0",
 | 
			
		||||
@@ -42,9 +43,6 @@
 | 
			
		||||
    "sortablejs": "1.9.0",
 | 
			
		||||
    "sorttable": "1.0.2",
 | 
			
		||||
    "source-sans-pro": "2.45.0",
 | 
			
		||||
    "string.prototype.codepointat": "0.2.1",
 | 
			
		||||
    "string.prototype.endswith": "0.2.0",
 | 
			
		||||
    "string.prototype.startswith": "0.2.0",
 | 
			
		||||
    "style-loader": "0.23.1",
 | 
			
		||||
    "to-markdown": "3.1.0",
 | 
			
		||||
    "ts-loader": "6.0.2",
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ import "xdate/src/xdate.js";
 | 
			
		||||
import "jquery-validation/dist/jquery.validate.js";
 | 
			
		||||
import "blueimp-md5/js/md5.js";
 | 
			
		||||
import "clipboard/dist/clipboard.js";
 | 
			
		||||
import "string.prototype.codepointat/codepointat.js";
 | 
			
		||||
import "core-js/features/string/code-point-at";
 | 
			
		||||
import "winchan/winchan.js";
 | 
			
		||||
import "handlebars/dist/cjs/handlebars.runtime.js";
 | 
			
		||||
import "to-markdown/dist/to-markdown.js";
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
import "string.prototype.endswith";
 | 
			
		||||
import "string.prototype.startswith";
 | 
			
		||||
import "string.prototype.codepointat";
 | 
			
		||||
import "core-js/features/string/ends-with";
 | 
			
		||||
import "core-js/features/string/starts-with";
 | 
			
		||||
import "core-js/features/string/code-point-at";
 | 
			
		||||
import "jquery/dist/jquery.js";
 | 
			
		||||
import "underscore/underscore.js";
 | 
			
		||||
import "../csrf.js";
 | 
			
		||||
 
 | 
			
		||||
@@ -21,4 +21,4 @@ LATEST_RELEASE_ANNOUNCEMENT = "https://blog.zulip.org/2019/03/01/zulip-2-0-relea
 | 
			
		||||
# Typically, adding a dependency only requires a minor version bump, and
 | 
			
		||||
# removing a dependency requires a major version bump.
 | 
			
		||||
 | 
			
		||||
PROVISION_VERSION = '35.4'
 | 
			
		||||
PROVISION_VERSION = '36.0'
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										12
									
								
								yarn.lock
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								yarn.lock
									
									
									
									
									
								
							@@ -9943,21 +9943,11 @@ string.fromcodepoint@^0.2.1:
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/string.fromcodepoint/-/string.fromcodepoint-0.2.1.tgz#8d978333c0bc92538f50f383e4888f3e5619d653"
 | 
			
		||||
  integrity sha1-jZeDM8C8klOPUPOD5IiPPlYZ1lM=
 | 
			
		||||
 | 
			
		||||
string.prototype.codepointat@0.2.1, string.prototype.codepointat@^0.2.0:
 | 
			
		||||
string.prototype.codepointat@^0.2.0:
 | 
			
		||||
  version "0.2.1"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/string.prototype.codepointat/-/string.prototype.codepointat-0.2.1.tgz#004ad44c8afc727527b108cd462b4d971cd469bc"
 | 
			
		||||
  integrity sha512-2cBVCj6I4IOvEnjgO/hWqXjqBGsY+zwPmHl12Srk9IXSZ56Jwwmy+66XO5Iut/oQVR7t5ihYdLB0GMa4alEUcg==
 | 
			
		||||
 | 
			
		||||
string.prototype.endswith@0.2.0:
 | 
			
		||||
  version "0.2.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/string.prototype.endswith/-/string.prototype.endswith-0.2.0.tgz#a19c20dee51a98777e9a47e10f09be393b9bba75"
 | 
			
		||||
  integrity sha1-oZwg3uUamHd+mkfhDwm+OTubunU=
 | 
			
		||||
 | 
			
		||||
string.prototype.startswith@0.2.0:
 | 
			
		||||
  version "0.2.0"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/string.prototype.startswith/-/string.prototype.startswith-0.2.0.tgz#da68982e353a4e9ac4a43b450a2045d1c445ae7b"
 | 
			
		||||
  integrity sha1-2miYLjU6TprEpDtFCiBF0cRFrns=
 | 
			
		||||
 | 
			
		||||
string.prototype.trim@~1.1.2:
 | 
			
		||||
  version "1.1.2"
 | 
			
		||||
  resolved "https://registry.yarnpkg.com/string.prototype.trim/-/string.prototype.trim-1.1.2.tgz#d04de2c89e137f4d7d206f086b5ed2fae6be8cea"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user