New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adobe/rum-distiller

Package Overview
Dependencies
Maintainers
0
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/rum-distiller - npm Package Compare versions

Comparing version 1.8.0 to 1.9.0

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [1.9.0](https://github.com/adobe/rum-distiller/compare/v1.8.0...v1.9.0) (2024-11-20)
### Features
* trigger release ([2b38800](https://github.com/adobe/rum-distiller/commit/2b38800cce59d4cd2a043a2701ec8393f4caab20))
# [1.8.0](https://github.com/adobe/rum-distiller/compare/v1.7.0...v1.8.0) (2024-11-19)

@@ -2,0 +9,0 @@

2

facets.js

@@ -63,3 +63,3 @@ /*

const s = segment.replace(/_/g, '-'); // convience to shorten regexes (\w contains _)
if (s.length > 60 && !(/^[\s\w-]+$/.test(s) && /^([\d\w]+-){3}/g.test(s))) {
if (s.length > 60 && !(/^[\s\w-.]+$/.test(s) && /^([\d\w]+-){3}/g.test(s))) {
return '...';

@@ -66,0 +66,0 @@ }

{
"name": "@adobe/rum-distiller",
"version": "1.8.0",
"version": "1.9.0",
"scripts": {

@@ -5,0 +5,0 @@ "test": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info --test-reporter=spec --test-reporter-destination=stdout --test-reporter=junit --test-reporter-destination=junit.xml",

@@ -53,4 +53,6 @@ /*

assert.equal(facets.url({ url: 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit-1234567890-abcdefghijklmnopqrstuvwxyz' }), 'https://www.example.com/path/...');
assert.equal(facets.url({ url: 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit.1234567890.abcdefghijklmnopqrstuvwxyz' }), 'https://www.example.com/path/...');
assert.equal(facets.url({ url: 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit-abcdefghijklmnopqrstuvwxyz' }), 'https://www.example.com/path/...');
assert.equal(facets.url({ url: 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon' }), 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon');
assert.equal(facets.url({ url: 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon.html' }), 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon.html');
assert.equal(facets.url({ url: 'https://www.example.com/consumer84899324c8-5ef06d65eba5&cui=47cea5903b64448fad519184899324c8-5ef06d65eba5&EulaDt=20220413&expdt=20240918&hardware_id=c715069c77fa4b74040b459e3307c6d5&messageid=fbde7912-ef73-4793-bd1d-aec0aed2a945&pkgid=539&rcode=16.0+R122&resellerid=1357&rnwsrc=ngm&sessionid=7f3d8203' }), 'https://www.example.com/...');

@@ -91,3 +93,5 @@ assert.equal(facets.url({ url: 'https://www.example.com/th/search/%E0%B9%80%E0%B8%AD%E0%B8%99%E0%B8%8A%E0%B8%B1%E0%B8%A7%E0%B8%A3%E0%B9%8C%20%E0%B9%82%E0%B8%81%E0%B8%A5%E0%B8%94%E0%B9%8C%20%E0%B8%AD%E0%B8%B2%E0%B8%AB%E0%B8%B2%E0%B8%A3%E0%B8%AA%E0%B8%B9%E0%B8%95%E0%B8%A3%E0%B8%84%E0%B8%A3%E0%B8%9A%E0%B8%96%E0%B9%89%E0%B8%A7%E0%B8%99' }), 'https://www.example.com/th/search/...');

assert.equal(facets.plainURL({ url: 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit-abcdefghijklmnopqrstuvwxyz' }), 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit-abcdefghijklmnopqrstuvwxyz');
assert.equal(facets.plainURL({ url: 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit.1234567890.abcdefghijklmnopqrstuvwxyz.html' }), 'https://www.example.com/path/loremlipsumdolorsitametconsecteturadipiscingelit.1234567890.abcdefghijklmnopqrstuvwxyz.html');
assert.equal(facets.plainURL({ url: 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon' }), 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon');
assert.equal(facets.plainURL({ url: 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon.html' }), 'https://blog.adobe.com/en/publish/2024/09/11/bringing-gen-ai-to-video-adobe-firefly-video-model-coming-soon.html');
assert.equal(facets.plainURL({ url: 'https://www.example.com/consumer84899324c8-5ef06d65eba5&cui=47cea5903b64448fad519184899324c8-5ef06d65eba5&EulaDt=20220413&expdt=20240918&hardware_id=c715069c77fa4b74040b459e3307c6d5&messageid=fbde7912-ef73-4793-bd1d-aec0aed2a945&pkgid=539&rcode=16.0+R122&resellerid=1357&rnwsrc=ngm&sessionid=7f3d8203' }), 'https://www.example.com/consumer84899324c8-5ef06d65eba5&cui=47cea5903b64448fad519184899324c8-5ef06d65eba5&EulaDt=20220413&expdt=20240918&hardware_id=c715069c77fa4b74040b459e3307c6d5&messageid=fbde7912-ef73-4793-bd1d-aec0aed2a945&pkgid=539&rcode=16.0+R122&resellerid=1357&rnwsrc=ngm&sessionid=7f3d8203');

@@ -94,0 +98,0 @@ assert.equal(facets.plainURL({ url: 'https://www.example.com/th/search/%E0%B9%80%E0%B8%AD%E0%B8%99%E0%B8%8A%E0%B8%B1%E0%B8%A7%E0%B8%A3%E0%B9%8C%20%E0%B9%82%E0%B8%81%E0%B8%A5%E0%B8%94%E0%B9%8C%20%E0%B8%AD%E0%B8%B2%E0%B8%AB%E0%B8%B2%E0%B8%A3%E0%B8%AA%E0%B8%B9%E0%B8%95%E0%B8%A3%E0%B8%84%E0%B8%A3%E0%B8%9A%E0%B8%96%E0%B9%89%E0%B8%A7%E0%B8%99' }), 'https://www.example.com/th/search/%E0%B9%80%E0%B8%AD%E0%B8%99%E0%B8%8A%E0%B8%B1%E0%B8%A7%E0%B8%A3%E0%B9%8C%20%E0%B9%82%E0%B8%81%E0%B8%A5%E0%B8%94%E0%B9%8C%20%E0%B8%AD%E0%B8%B2%E0%B8%AB%E0%B8%B2%E0%B8%A3%E0%B8%AA%E0%B8%B9%E0%B8%95%E0%B8%A3%E0%B8%84%E0%B8%A3%E0%B8%9A%E0%B8%96%E0%B9%89%E0%B8%A7%E0%B8%99');

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc