zendesk_apps_support 4.38.1 → 4.38.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74a0bdd554afda511b6a71b69a37cb78c9a618e6cabfb4b2f010a48ae94a9400
4
- data.tar.gz: db4a6e06ca573f9aeb50229729e964cdb8467f70131cc808be99fb103f834fb9
3
+ metadata.gz: d8cfa43bb8288d7f036f86d1f4160eda89832eeb75bf11141f11fd9b9d41ebaf
4
+ data.tar.gz: 06a3a98b42fdbff0080af5388cc7ac4378b3fedcb40693d4f6dc2b0516d3093a
5
5
  SHA512:
6
- metadata.gz: 74b4438aa73acc1f8a0ad38b2b63062116d20066f2527863d47514ffc164f9077a7d6ceafb0daa8b332aae7b0e8f8afd0bd4b2b88ebdbc1e1bc77e7f98568936
7
- data.tar.gz: 02253fb9dc7cbcfba5b6b20cb29ea30cbf7ac016ab0e9712504ec4cef99b19ce8721ed2d9aa160e0925ca0eea68c83daec5f1fc9b0a33fc5857968ee2c2124eb
6
+ metadata.gz: 9c99947ded38ee1d1711ce4c8e1fd4f4a9426fcd496120d4a486b6d08df6a617a4f78bd3df5301c58906f1afc5c4a9ec275a8943cd556e1fd69a462d721f0204
7
+ data.tar.gz: b06964fc1b53630b2d5d6e0a4e557c79978b56ec3fe32c23f7fe182c6f3384e43f566b3cbf860bb0df2c28c30cf2f7fb0634aaa1e86c4c15b62141a5de0d73fc
@@ -8,13 +8,13 @@ module ZendeskAppsSupport
8
8
  PLACEHOLDER_SVG_MARKUP = File.read(File.expand_path('../../assets/default_app_logo.svg', __FILE__))
9
9
 
10
10
  # whitelist elements and attributes used in Zendesk Garden assets
11
- Loofah::HTML5::WhiteList::ALLOWED_ELEMENTS_WITH_LIBXML2.add 'symbol'
12
- Loofah::HTML5::WhiteList::ACCEPTABLE_CSS_PROPERTIES.add 'position'
11
+ Loofah::HTML5::SafeList::ALLOWED_ELEMENTS_WITH_LIBXML2.add 'symbol'
12
+ Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES.add 'position'
13
13
 
14
14
  # CRUFT: ignore a (very specific) style attribute which Loofah would otherwise scrub.
15
15
  # This attribute is deprecated (https://www.w3.org/TR/filter-effects/#AccessBackgroundImage)
16
16
  # but is included in many of the test apps used in fixtures for tests in ZAM, ZAT etc.
17
- Loofah::HTML5::WhiteList::ACCEPTABLE_CSS_PROPERTIES.add 'enable-background'
17
+ Loofah::HTML5::SafeList::ACCEPTABLE_CSS_PROPERTIES.add 'enable-background'
18
18
 
19
19
  @strip_declaration = Loofah::Scrubber.new do |node|
20
20
  node.remove if node.name == 'xml' && node.children.empty?
@@ -6,7 +6,7 @@ module ZendeskAppsSupport
6
6
  module Validations
7
7
  module Translations
8
8
  TRANSLATIONS_PATH = %r{^translations/(.*)\.json$}
9
- VALID_LOCALE = /^[a-z]{2}(-\w{2,3})?$/
9
+ VALID_LOCALE = /^[a-z]{2,3}(-\w{2,3})?$/
10
10
 
11
11
  class TranslationFormatError < StandardError
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zendesk_apps_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.38.1
4
+ version: 4.38.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James A. Rosen
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-01-12 00:00:00.000000000 Z
14
+ date: 2023-03-16 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n