trusty-cms 4.3 → 4.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +79 -77
  3. data/app/assets/config/trusty-cms-manifest.js +6 -0
  4. data/app/assets/javascripts/ckeditor/config.js +2 -2
  5. data/app/controllers/admin/assets_controller.rb +1 -1
  6. data/config/initializers/assets.rb +0 -4
  7. data/lib/trusty_cms.rb +1 -1
  8. data/node_modules/hosted-git-info/CHANGELOG.md +10 -0
  9. data/node_modules/hosted-git-info/index.js +2 -2
  10. data/node_modules/hosted-git-info/package.json +1 -1
  11. data/node_modules/lodash/README.md +2 -2
  12. data/node_modules/lodash/_baseClone.js +2 -1
  13. data/node_modules/lodash/_baseOrderBy.js +17 -2
  14. data/node_modules/lodash/_baseSet.js +4 -0
  15. data/node_modules/lodash/_baseSortedIndexBy.js +7 -4
  16. data/node_modules/lodash/_baseTrim.js +19 -0
  17. data/node_modules/lodash/_equalArrays.js +5 -4
  18. data/node_modules/lodash/_equalObjects.js +5 -4
  19. data/node_modules/lodash/_trimmedEndIndex.js +19 -0
  20. data/node_modules/lodash/core.js +48 -6
  21. data/node_modules/lodash/core.min.js +9 -9
  22. data/node_modules/lodash/filter.js +4 -0
  23. data/node_modules/lodash/flake.lock +40 -0
  24. data/node_modules/lodash/flake.nix +20 -0
  25. data/node_modules/lodash/lodash.js +59 -11
  26. data/node_modules/lodash/lodash.min.js +126 -125
  27. data/node_modules/lodash/matches.js +7 -0
  28. data/node_modules/lodash/matchesProperty.js +7 -0
  29. data/node_modules/lodash/overEvery.js +4 -0
  30. data/node_modules/lodash/overSome.js +7 -0
  31. data/node_modules/lodash/package.json +1 -1
  32. data/node_modules/lodash/parseInt.js +1 -1
  33. data/node_modules/lodash/release.md +48 -0
  34. data/node_modules/lodash/sortBy.js +3 -3
  35. data/node_modules/lodash/template.js +24 -5
  36. data/node_modules/lodash/toNumber.js +3 -5
  37. data/node_modules/lodash/trim.js +2 -4
  38. data/node_modules/lodash/trimEnd.js +3 -5
  39. data/node_modules/lodash/trimStart.js +1 -1
  40. data/trusty_cms.gemspec +2 -1
  41. data/yarn.lock +6 -6
  42. metadata +11 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad9371ba3318d81f9d8e099bef26a6f579a7d57d63a9dd9c7adeadc734bf4ffe
4
- data.tar.gz: 38553db2e1df5a329f43bdf44579460b4f17cc6a2bd52dfb5aacaee55b522a67
3
+ metadata.gz: 9b4bbab61b619189dd9384ca92903313d763733f3346345e6e442bbe75d25284
4
+ data.tar.gz: c5fea72ca62a6cdc834e9c4837cb601ed60f47d59ea42a6e370dd2b6aafcea85
5
5
  SHA512:
6
- metadata.gz: 554218a5ffd924487b5e3925da8be1ed5c974b26b81a42408f8185cb90caa6160001428b1821af6d5e1d4791a164487ac4e8bbfc35edc13d7395a71f661f392c
7
- data.tar.gz: 3a86ab5361d2023645cc3638fdd518160a279d2b383664cd1b4139bd3a630a353a0476daea32582adb6d69a77a5dc936c42ef5f3ff3df0c78861e224c66bba7f
6
+ metadata.gz: 183ae49c67949d369571917398832d9c63dcb51f0520d7442a3d6b758a53b1203f48f47830adaad6e5b86c169c85ce52886326340ace30e42d3908b6a4657e86
7
+ data.tar.gz: e225962bf0b3905215bdcbbb4d31393d57e4d5312b25e153b5413787507d5f2e1d10a2592d1adb47b822ceec9d7315e0a906c091f62c9fd67f52b3dba2ebfd45
data/Gemfile.lock CHANGED
@@ -1,11 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-cms (4.3)
4
+ trusty-cms (4.3.4)
5
5
  RedCloth (= 4.3.2)
6
6
  acts_as_list (>= 0.9.5, < 1.1.0)
7
7
  acts_as_tree (~> 2.9.1)
8
- ckeditor (>= 4.2.2, < 4.3.0)
8
+ ckeditor (>= 4.2.2, < 4.4.0)
9
9
  delocalize (>= 0.2, < 2.0)
10
10
  devise
11
11
  execjs (~> 2.7)
@@ -33,60 +33,60 @@ GEM
33
33
  remote: https://rubygems.org/
34
34
  specs:
35
35
  RedCloth (4.3.2)
36
- actioncable (6.1.3.2)
37
- actionpack (= 6.1.3.2)
38
- activesupport (= 6.1.3.2)
36
+ actioncable (6.1.4.1)
37
+ actionpack (= 6.1.4.1)
38
+ activesupport (= 6.1.4.1)
39
39
  nio4r (~> 2.0)
40
40
  websocket-driver (>= 0.6.1)
41
- actionmailbox (6.1.3.2)
42
- actionpack (= 6.1.3.2)
43
- activejob (= 6.1.3.2)
44
- activerecord (= 6.1.3.2)
45
- activestorage (= 6.1.3.2)
46
- activesupport (= 6.1.3.2)
41
+ actionmailbox (6.1.4.1)
42
+ actionpack (= 6.1.4.1)
43
+ activejob (= 6.1.4.1)
44
+ activerecord (= 6.1.4.1)
45
+ activestorage (= 6.1.4.1)
46
+ activesupport (= 6.1.4.1)
47
47
  mail (>= 2.7.1)
48
- actionmailer (6.1.3.2)
49
- actionpack (= 6.1.3.2)
50
- actionview (= 6.1.3.2)
51
- activejob (= 6.1.3.2)
52
- activesupport (= 6.1.3.2)
48
+ actionmailer (6.1.4.1)
49
+ actionpack (= 6.1.4.1)
50
+ actionview (= 6.1.4.1)
51
+ activejob (= 6.1.4.1)
52
+ activesupport (= 6.1.4.1)
53
53
  mail (~> 2.5, >= 2.5.4)
54
54
  rails-dom-testing (~> 2.0)
55
- actionpack (6.1.3.2)
56
- actionview (= 6.1.3.2)
57
- activesupport (= 6.1.3.2)
55
+ actionpack (6.1.4.1)
56
+ actionview (= 6.1.4.1)
57
+ activesupport (= 6.1.4.1)
58
58
  rack (~> 2.0, >= 2.0.9)
59
59
  rack-test (>= 0.6.3)
60
60
  rails-dom-testing (~> 2.0)
61
61
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
62
- actiontext (6.1.3.2)
63
- actionpack (= 6.1.3.2)
64
- activerecord (= 6.1.3.2)
65
- activestorage (= 6.1.3.2)
66
- activesupport (= 6.1.3.2)
62
+ actiontext (6.1.4.1)
63
+ actionpack (= 6.1.4.1)
64
+ activerecord (= 6.1.4.1)
65
+ activestorage (= 6.1.4.1)
66
+ activesupport (= 6.1.4.1)
67
67
  nokogiri (>= 1.8.5)
68
- actionview (6.1.3.2)
69
- activesupport (= 6.1.3.2)
68
+ actionview (6.1.4.1)
69
+ activesupport (= 6.1.4.1)
70
70
  builder (~> 3.1)
71
71
  erubi (~> 1.4)
72
72
  rails-dom-testing (~> 2.0)
73
73
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
74
- activejob (6.1.3.2)
75
- activesupport (= 6.1.3.2)
74
+ activejob (6.1.4.1)
75
+ activesupport (= 6.1.4.1)
76
76
  globalid (>= 0.3.6)
77
- activemodel (6.1.3.2)
78
- activesupport (= 6.1.3.2)
79
- activerecord (6.1.3.2)
80
- activemodel (= 6.1.3.2)
81
- activesupport (= 6.1.3.2)
82
- activestorage (6.1.3.2)
83
- actionpack (= 6.1.3.2)
84
- activejob (= 6.1.3.2)
85
- activerecord (= 6.1.3.2)
86
- activesupport (= 6.1.3.2)
77
+ activemodel (6.1.4.1)
78
+ activesupport (= 6.1.4.1)
79
+ activerecord (6.1.4.1)
80
+ activemodel (= 6.1.4.1)
81
+ activesupport (= 6.1.4.1)
82
+ activestorage (6.1.4.1)
83
+ actionpack (= 6.1.4.1)
84
+ activejob (= 6.1.4.1)
85
+ activerecord (= 6.1.4.1)
86
+ activesupport (= 6.1.4.1)
87
87
  marcel (~> 1.0.0)
88
- mini_mime (~> 1.0.2)
89
- activesupport (6.1.3.2)
88
+ mini_mime (>= 1.1.0)
89
+ activesupport (6.1.4.1)
90
90
  concurrent-ruby (~> 1.0, >= 1.0.2)
91
91
  i18n (>= 1.6, < 2)
92
92
  minitest (>= 5.1)
@@ -96,7 +96,7 @@ GEM
96
96
  activerecord (>= 4.2)
97
97
  acts_as_tree (2.9.1)
98
98
  activerecord (>= 3.0.0)
99
- addressable (2.7.0)
99
+ addressable (2.8.0)
100
100
  public_suffix (>= 2.0.2, < 5.0)
101
101
  bcrypt (3.1.16)
102
102
  builder (3.2.4)
@@ -109,17 +109,15 @@ GEM
109
109
  rack-test (>= 0.6.3)
110
110
  regexp_parser (>= 1.5, < 3.0)
111
111
  xpath (~> 3.2)
112
- ckeditor (4.2.4)
113
- cocaine
112
+ ckeditor (4.3.0)
114
113
  orm_adapter (~> 0.5.0)
114
+ terrapin
115
115
  climate_control (0.2.0)
116
116
  cliver (0.3.2)
117
- cocaine (0.6.0)
118
- terrapin (= 0.6.0)
119
117
  coderay (1.1.3)
120
118
  concurrent-ruby (1.1.9)
121
119
  crass (1.0.6)
122
- css_parser (1.9.0)
120
+ css_parser (1.10.0)
123
121
  addressable
124
122
  database_cleaner (2.0.1)
125
123
  database_cleaner-active_record (~> 2.0.0)
@@ -145,10 +143,10 @@ GEM
145
143
  factory_bot_rails (6.2.0)
146
144
  factory_bot (~> 6.2.0)
147
145
  railties (>= 5.0.0)
148
- ffi (1.15.1)
149
- globalid (0.4.2)
150
- activesupport (>= 4.2.0)
151
- haml (5.2.1)
146
+ ffi (1.15.4)
147
+ globalid (0.5.2)
148
+ activesupport (>= 5.0)
149
+ haml (5.2.2)
152
150
  temple (>= 0.8.0)
153
151
  tilt
154
152
  haml-rails (2.0.1)
@@ -183,7 +181,8 @@ GEM
183
181
  launchy (2.5.0)
184
182
  addressable (~> 2.7)
185
183
  libv8-node (15.14.0.1-x86_64-darwin-18)
186
- loofah (2.10.0)
184
+ libv8-node (15.14.0.1-x86_64-linux)
185
+ loofah (2.12.0)
187
186
  crass (~> 1.0.2)
188
187
  nokogiri (>= 1.5.9)
189
188
  mail (2.7.1)
@@ -193,15 +192,17 @@ GEM
193
192
  mime-types (3.3.1)
194
193
  mime-types-data (~> 3.2015)
195
194
  mime-types-data (3.2021.0225)
196
- mini_mime (1.0.3)
195
+ mini_mime (1.1.1)
197
196
  mini_racer (0.4.0)
198
197
  libv8-node (~> 15.14.0.0)
199
198
  minitest (5.14.4)
200
199
  multi_xml (0.6.0)
201
200
  multipart-post (2.1.1)
202
201
  mysql2 (0.5.3)
203
- nio4r (2.5.7)
204
- nokogiri (1.11.7-x86_64-darwin)
202
+ nio4r (2.5.8)
203
+ nokogiri (1.12.4-x86_64-darwin)
204
+ racc (~> 1.4)
205
+ nokogiri (1.12.4-x86_64-linux)
205
206
  racc (~> 1.4)
206
207
  orm_adapter (0.5.0)
207
208
  poltergeist (1.18.1)
@@ -222,36 +223,36 @@ GEM
222
223
  rack-test (1.1.0)
223
224
  rack (>= 1.0, < 3)
224
225
  radius (0.7.5)
225
- rails (6.1.3.2)
226
- actioncable (= 6.1.3.2)
227
- actionmailbox (= 6.1.3.2)
228
- actionmailer (= 6.1.3.2)
229
- actionpack (= 6.1.3.2)
230
- actiontext (= 6.1.3.2)
231
- actionview (= 6.1.3.2)
232
- activejob (= 6.1.3.2)
233
- activemodel (= 6.1.3.2)
234
- activerecord (= 6.1.3.2)
235
- activestorage (= 6.1.3.2)
236
- activesupport (= 6.1.3.2)
226
+ rails (6.1.4.1)
227
+ actioncable (= 6.1.4.1)
228
+ actionmailbox (= 6.1.4.1)
229
+ actionmailer (= 6.1.4.1)
230
+ actionpack (= 6.1.4.1)
231
+ actiontext (= 6.1.4.1)
232
+ actionview (= 6.1.4.1)
233
+ activejob (= 6.1.4.1)
234
+ activemodel (= 6.1.4.1)
235
+ activerecord (= 6.1.4.1)
236
+ activestorage (= 6.1.4.1)
237
+ activesupport (= 6.1.4.1)
237
238
  bundler (>= 1.15.0)
238
- railties (= 6.1.3.2)
239
+ railties (= 6.1.4.1)
239
240
  sprockets-rails (>= 2.0.0)
240
241
  rails-dom-testing (2.0.3)
241
242
  activesupport (>= 4.2.0)
242
243
  nokogiri (>= 1.6)
243
- rails-html-sanitizer (1.3.0)
244
+ rails-html-sanitizer (1.4.2)
244
245
  loofah (~> 2.3)
245
246
  rails-observers (0.1.5)
246
247
  activemodel (>= 4.0)
247
- railties (6.1.3.2)
248
- actionpack (= 6.1.3.2)
249
- activesupport (= 6.1.3.2)
248
+ railties (6.1.4.1)
249
+ actionpack (= 6.1.4.1)
250
+ activesupport (= 6.1.4.1)
250
251
  method_source
251
- rake (>= 0.8.7)
252
+ rake (>= 0.13)
252
253
  thor (~> 1.0)
253
- rake (13.0.3)
254
- rdoc (6.3.1)
254
+ rake (13.0.6)
255
+ rdoc (6.3.2)
255
256
  regexp_parser (2.1.1)
256
257
  responders (3.0.1)
257
258
  actionpack (>= 5.0)
@@ -270,7 +271,7 @@ GEM
270
271
  rspec-mocks (3.10.2)
271
272
  diff-lcs (>= 1.2.0, < 2.0)
272
273
  rspec-support (~> 3.10.0)
273
- rspec-rails (5.0.1)
274
+ rspec-rails (5.0.2)
274
275
  actionpack (>= 5.2)
275
276
  activesupport (>= 5.2)
276
277
  railties (>= 5.2)
@@ -279,7 +280,7 @@ GEM
279
280
  rspec-mocks (~> 3.10)
280
281
  rspec-support (~> 3.10)
281
282
  rspec-support (3.10.2)
282
- ruby_parser (3.16.0)
283
+ ruby_parser (3.17.0)
283
284
  sexp_processor (~> 4.15, >= 4.15.1)
284
285
  sass-rails (6.0.0)
285
286
  sassc-rails (~> 2.1, >= 2.1.1)
@@ -323,13 +324,14 @@ GEM
323
324
  websocket-driver (0.7.5)
324
325
  websocket-extensions (>= 0.1.0)
325
326
  websocket-extensions (0.1.5)
326
- will_paginate (3.3.0)
327
+ will_paginate (3.3.1)
327
328
  xpath (3.2.0)
328
329
  nokogiri (~> 1.8)
329
330
  zeitwerk (2.4.2)
330
331
 
331
332
  PLATFORMS
332
333
  x86_64-darwin-18
334
+ x86_64-linux
333
335
 
334
336
  DEPENDENCIES
335
337
  acts_as_list
@@ -0,0 +1,6 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
4
+ //= link admin/assets.css
5
+ //= link admin/assets_admin.js
6
+ //= link admin/custom_file_upload.js
@@ -3,8 +3,8 @@ CKEDITOR.editorConfig = function( config ) {
3
3
  config.removeFormatTags = "";
4
4
  config.protectedSource.push(/<r:([\S]+).*<\/r:\1>/g);
5
5
  config.protectedSource.push(/<r:[^>/]*\/>/g);
6
-
7
- config.forcePasteAsPlainText = true;
6
+ //let paste from word be available
7
+ // config.forcePasteAsPlainText = false;
8
8
  // if you want to remove clipboard, you have to remove all of these:
9
9
  // clipboard, pastetext, pastefromword
10
10
  config.removePlugins = "save, newpage, preview, print, templates, forms, flash, smiley, language, pagebreak, iframe, bidi";
@@ -68,7 +68,7 @@ class Admin::AssetsController < Admin::ResourceController
68
68
 
69
69
  def compress(uploaded_asset)
70
70
  data = $kraken.upload(uploaded_asset.tempfile.path, 'lossy' => true)
71
- File.write(uploaded_asset.tempfile, open(data.kraked_url).read, { mode: 'wb' })
71
+ File.write(uploaded_asset.tempfile, URI.open(data.kraked_url).read, mode: 'wb')
72
72
  uploaded_asset
73
73
  end
74
74
 
@@ -1,5 +1 @@
1
1
  Rails.application.config.assets.paths << Rails.root.join('node_modules')
2
- Rails.application.config.assets.precompile += ['*.png',
3
- '*.gif',
4
- '*.svg']
5
- Rails.application.config.assets.precompile += %w(admin/assets.css admin/assets_admin.js)
data/lib/trusty_cms.rb CHANGED
@@ -2,6 +2,6 @@ TRUSTY_CMS_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) unle
2
2
 
3
3
  unless defined? TrustyCms::VERSION
4
4
  module TrustyCms
5
- VERSION = '4.3'.freeze
5
+ VERSION = '4.3.4'.freeze
6
6
  end
7
7
  end
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ <a name="2.8.9"></a>
6
+ ## [2.8.9](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9) (2021-04-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * backport regex fix from [#76](https://github.com/npm/hosted-git-info/issues/76) ([29adfe5](https://github.com/npm/hosted-git-info/commit/29adfe5)), closes [#84](https://github.com/npm/hosted-git-info/issues/84)
12
+
13
+
14
+
5
15
  <a name="2.8.8"></a>
6
16
  ## [2.8.8](https://github.com/npm/hosted-git-info/compare/v2.8.7...v2.8.8) (2020-02-29)
7
17
 
@@ -41,7 +41,7 @@ function fromUrl (giturl, opts) {
41
41
  isGitHubShorthand(giturl) ? 'github:' + giturl : giturl
42
42
  )
43
43
  var parsed = parseGitUrl(url)
44
- var shortcutMatch = url.match(new RegExp('^([^:]+):(?:(?:[^@:]+(?:[^@]+)?@)?([^/]*))[/](.+?)(?:[.]git)?($|#)'))
44
+ var shortcutMatch = url.match(/^([^:]+):(?:[^@]+@)?(?:([^/]*)\/)?([^#]+)/)
45
45
  var matches = Object.keys(gitHosts).map(function (gitHostName) {
46
46
  try {
47
47
  var gitHostInfo = gitHosts[gitHostName]
@@ -55,7 +55,7 @@ function fromUrl (giturl, opts) {
55
55
  var defaultRepresentation = null
56
56
  if (shortcutMatch && shortcutMatch[1] === gitHostName) {
57
57
  user = shortcutMatch[2] && decodeURIComponent(shortcutMatch[2])
58
- project = decodeURIComponent(shortcutMatch[3])
58
+ project = decodeURIComponent(shortcutMatch[3].replace(/\.git$/, ''))
59
59
  defaultRepresentation = 'shortcut'
60
60
  } else {
61
61
  if (parsed.host && parsed.host !== gitHostInfo.domain && parsed.host.replace(/^www[.]/, '') !== gitHostInfo.domain) return
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hosted-git-info",
3
- "version": "2.8.8",
3
+ "version": "2.8.9",
4
4
  "description": "Provides metadata and conversions from repository urls for Github, Bitbucket and Gitlab",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -1,4 +1,4 @@
1
- # lodash v4.17.19
1
+ # lodash v4.17.21
2
2
 
3
3
  The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.
4
4
 
@@ -28,7 +28,7 @@ var at = require('lodash/at');
28
28
  var curryN = require('lodash/fp/curryN');
29
29
  ```
30
30
 
31
- See the [package source](https://github.com/lodash/lodash/tree/4.17.19-npm) for more details.
31
+ See the [package source](https://github.com/lodash/lodash/tree/4.17.21-npm) for more details.
32
32
 
33
33
  **Note:**<br>
34
34
  Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.
@@ -18,7 +18,8 @@ var Stack = require('./_Stack'),
18
18
  isMap = require('./isMap'),
19
19
  isObject = require('./isObject'),
20
20
  isSet = require('./isSet'),
21
- keys = require('./keys');
21
+ keys = require('./keys'),
22
+ keysIn = require('./keysIn');
22
23
 
23
24
  /** Used to compose bitmasks for cloning. */
24
25
  var CLONE_DEEP_FLAG = 1,
@@ -1,10 +1,12 @@
1
1
  var arrayMap = require('./_arrayMap'),
2
+ baseGet = require('./_baseGet'),
2
3
  baseIteratee = require('./_baseIteratee'),
3
4
  baseMap = require('./_baseMap'),
4
5
  baseSortBy = require('./_baseSortBy'),
5
6
  baseUnary = require('./_baseUnary'),
6
7
  compareMultiple = require('./_compareMultiple'),
7
- identity = require('./identity');
8
+ identity = require('./identity'),
9
+ isArray = require('./isArray');
8
10
 
9
11
  /**
10
12
  * The base implementation of `_.orderBy` without param guards.
@@ -16,8 +18,21 @@ var arrayMap = require('./_arrayMap'),
16
18
  * @returns {Array} Returns the new sorted array.
17
19
  */
18
20
  function baseOrderBy(collection, iteratees, orders) {
21
+ if (iteratees.length) {
22
+ iteratees = arrayMap(iteratees, function(iteratee) {
23
+ if (isArray(iteratee)) {
24
+ return function(value) {
25
+ return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);
26
+ }
27
+ }
28
+ return iteratee;
29
+ });
30
+ } else {
31
+ iteratees = [identity];
32
+ }
33
+
19
34
  var index = -1;
20
- iteratees = arrayMap(iteratees.length ? iteratees : [identity], baseUnary(baseIteratee));
35
+ iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
21
36
 
22
37
  var result = baseMap(collection, function(value, key, collection) {
23
38
  var criteria = arrayMap(iteratees, function(iteratee) {
@@ -29,6 +29,10 @@ function baseSet(object, path, value, customizer) {
29
29
  var key = toKey(path[index]),
30
30
  newValue = value;
31
31
 
32
+ if (key === '__proto__' || key === 'constructor' || key === 'prototype') {
33
+ return object;
34
+ }
35
+
32
36
  if (index != lastIndex) {
33
37
  var objValue = nested[key];
34
38
  newValue = customizer ? customizer(objValue, key, nested) : undefined;