Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bazel/jasmine

Package Overview
Dependencies
Maintainers
6
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bazel/jasmine - npm Package Compare versions

Comparing version 3.5.1 to 3.6.0

18

jasmine_runner.js

@@ -64,3 +64,3 @@ const fs = require('fs');

function main(args) {
async function main(args) {
if (args.length < 2) {

@@ -137,3 +137,3 @@ throw new Error('expected argument missing');

const originalExecute = env.execute.bind(env);
env.execute = () => {
env.execute = async () => {
const allSpecs = getAllSpecs(env);

@@ -149,3 +149,3 @@ // Partition the specs among the shards.

env.configure({specFilter: (s) => enabledSpecs.includes(s.id)});
originalExecute();
await originalExecute();
};

@@ -160,3 +160,4 @@ // Special case!

jrunner.execute();
await jrunner.execute();
return 0;

@@ -183,3 +184,10 @@ }

if (require.main === module) {
process.exitCode = main(process.argv.slice(2));
(async () => {
try {
process.exitCode = await main(process.argv.slice(2));
} catch (error) {
console.error('[jasmine_runner.js] An error has been reported:', error);
process.exitCode = 1;
}
})();
}

@@ -5,3 +5,3 @@ {

"license": "Apache-2.0",
"version": "3.5.1",
"version": "3.6.0",
"repository": {

@@ -8,0 +8,0 @@ "type" : "git",

@@ -102,3 +102,3 @@

Defaults to `"//:node_modules/@bazel/jasmine/jasmine_runner.js"`
Defaults to `Label("//:node_modules/@bazel/jasmine/jasmine_runner.js")`

@@ -105,0 +105,0 @@ <h4 id="jasmine_node_test-kwargs">kwargs</h4>

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