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

@ulixee/commons

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ulixee/commons - npm Package Compare versions

Comparing version 2.0.0-alpha.1 to 2.0.0-alpha.2

7

package.json
{
"name": "@ulixee/commons",
"version": "2.0.0-alpha.1",
"version": "2.0.0-alpha.2",
"description": "Common utilities for Ulixee",

@@ -27,3 +27,4 @@ "repository": "git@github.com:ulixee/ulixee.git",

"source-map-js": "^1.0.1"
}
}
},
"gitHead": "8ad20d4f123f73183f454b6fc3cbc33395d2bf5f"
}

@@ -5,2 +5,3 @@ "use strict";

const utils_1 = require("../lib/utils");
const VersionUtils_1 = require("../lib/VersionUtils");
const { escapeUnescapedChar } = Utils;

@@ -43,2 +44,9 @@ test('should escape unescaped regex chars', () => {

});
test('can check Prerelease Semvers', () => {
expect((0, VersionUtils_1.isSemverSatisfied)('2.0.0-alpha.1', '2.0.0-alpha.1')).toBeTruthy();
expect((0, VersionUtils_1.isSemverSatisfied)('2.0.0-alpha.1', '2.0.0-alpha.2')).toBeTruthy();
});
test('can handle v in front of versions', () => {
expect((0, VersionUtils_1.isSemverSatisfied)('v2.0.0-alpha.1', '2.0.0-alpha.1')).toBeTruthy();
});
//# sourceMappingURL=utils.test.js.map

Sorry, the diff of this file is not supported yet

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