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

@sewing-kit/core

Package Overview
Dependencies
Maintainers
3
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sewing-kit/core - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

4

build/cjs/workspace.js

@@ -13,6 +13,2 @@ "use strict";

class Workspace extends _index.Base {
get private() {
return this.webApps.length > 0 || this.services.length > 0;
}
get projects() {

@@ -19,0 +15,0 @@ return [...this.packages, ...this.webApps, ...this.services];

@@ -14,3 +14,2 @@ import { Base, Options as BaseOptions } from './base';

readonly services: readonly Service[];
get private(): boolean;
get projects(): (import("./package").Package | import("./web-app").WebApp | import("./service").Service)[];

@@ -17,0 +16,0 @@ constructor({ webApps, packages, services, ...rest }: WorkspaceOptions);

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

}
get private() {
return this.webApps.length > 0 || this.services.length > 0;
}
get projects() {

@@ -29,0 +26,0 @@ return [...this.packages, ...this.webApps, ...this.services];

4

CHANGELOG.md

@@ -10,2 +10,6 @@ # Changelog

## [0.3.0] - 2021-04-14
- Remove `private` getter on the `Workspace` class [[#139](https://github.com/Shopify/sewing-kit-next/pull/139)]
## [0.2.1] - 2021-04-06

@@ -12,0 +16,0 @@

{
"name": "@sewing-kit/core",
"license": "MIT",
"version": "0.2.1",
"version": "0.3.0",
"sideEffects": false,

@@ -19,3 +19,3 @@ "publishConfig": {

},
"gitHead": "88b2abd0de97863b14edd4cc29c5c97aa977e778"
"gitHead": "96bbda25e7461b4a484cfafdd79abde2e39dc12e"
}

@@ -18,3 +18,2 @@ import {ProjectKind} from '..';

expect(webAppWorkspace.projects[0].kind).toBe(ProjectKind.WebApp);
expect(webAppWorkspace.private).toBe(true);
});

@@ -25,3 +24,2 @@

expect(packageWorkspace.projects[0].kind).toBe(ProjectKind.Package);
expect(packageWorkspace.private).toBe(false);
});

@@ -32,3 +30,2 @@

expect(serviceWorkspace.projects[0].kind).toBe(ProjectKind.Service);
expect(serviceWorkspace.private).toBe(true);
});

@@ -35,0 +32,0 @@

@@ -18,6 +18,2 @@ import {Base, Options as BaseOptions} from './base';

get private() {
return this.webApps.length > 0 || this.services.length > 0;
}
get projects() {

@@ -24,0 +20,0 @@ return [...this.packages, ...this.webApps, ...this.services];

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