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

@circleci/circleci-config-sdk

Package Overview
Dependencies
Maintainers
180
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@circleci/circleci-config-sdk - npm Package Compare versions

Comparing version 0.11.1 to 0.12.0

2

dist/src/lib/Components/Executors/exports/DockerExecutor.d.ts

@@ -21,3 +21,3 @@ import { GenerableType } from '../../../Config/exports/Mapping';

serviceImages: DockerImage[];
constructor(image: string, resource_class?: DockerResourceClass, properties?: Exclude<DockerImageShape, 'image'>, serviceImages?: DockerImage[]);
constructor(image: string, resource_class?: DockerResourceClass, properties?: Omit<DockerImageShape, 'image'>, serviceImages?: DockerImage[]);
/**

@@ -24,0 +24,0 @@ * Generate Docker Executor schema.

import { StringParameter } from '../../Parameters/types';
import { DockerImageShape } from '../exports/DockerImage';
import { DockerImageShape, DockerImage, DockerAuth, DockerAuthAWS } from '../exports/DockerImage';
import { AnyResourceClassBase } from './Executor.types';

@@ -17,2 +17,3 @@ /**

export declare type DockerResourceClass = AnyResourceClassBase;
export { DockerImageShape, DockerImage, DockerAuth, DockerAuthAWS };
//# sourceMappingURL=DockerExecutor.types.d.ts.map

@@ -103,3 +103,10 @@ import * as YAML from 'yaml';

get generableType(): GenerableType;
/**
* Agnostic method to save a config file to disk via Node or the Browser.
* Note: If you are accessing this method from the browser, it must be triggered by a user action.
* @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/showSaveFilePicker#security}
* @param path - The path to write the config to. ONLY USED IN NODE.JS
*/
writeFile(path?: string): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map
{
"name": "@circleci/circleci-config-sdk",
"version": "v0.11.1",
"version": "v0.12.0",
"description": "An SDK for building CircleCI Configuration files with JavaScript.",

@@ -32,5 +32,6 @@ "main": "dist/index.js",

"@types/jest": "^27.5.2",
"@types/node": "^14.18.21",
"@types/node": "^14.18.33",
"@types/webpack": "^5.0.0",
"@types/webpack-node-externals": "^2.5.3",
"@types/wicg-file-system-access": "^2020.9.5",
"@typescript-eslint/eslint-plugin": "^5.33.0",

@@ -56,2 +57,3 @@ "@typescript-eslint/parser": "^5.33.0",

"dependencies": {
"browser-or-node": "^2.0.0",
"yaml": "2.1.1"

@@ -58,0 +60,0 @@ },

@@ -107,2 +107,5 @@ # CircleCI Config SDK

const MyYamlConfig = myConfig.stringify();
// Save the config to a file in Node.js or the browser. Note, use in the browser requires user interaction.
myConfig.writeFile('config.yml');
```

@@ -109,0 +112,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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