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

@atomist/rug

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomist/rug - npm Package Compare versions

Comparing version

to
0.3.2

130

model/Core.ts

@@ -17,7 +17,32 @@

*/
import {TreeNode} from '../tree/PathExpression'
/*
* JSON pair
*/
interface Pair extends TreeNode {
//arg0: string
//arg1: string
addKeyValue(arg0: string, arg1: string): void
//msg: string
fail(msg: string): void
//msg: string
println(msg: string): void
//arg0: string
setValue(arg0: string): void
} // interface Pair
/*
* Docker file type
*/
interface Dockerfile {
interface Dockerfile extends TreeNode {

@@ -95,3 +120,3 @@ //addContents: string

} // interface Dockerfile
} // interface Dockerfile

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

*/
interface ElmModule {
interface ElmModule extends TreeNode {

@@ -157,3 +182,3 @@ //body: string

} // interface ElmModule
} // interface ElmModule

@@ -166,3 +191,3 @@

*/
interface File {
interface File extends TreeNode {

@@ -237,3 +262,3 @@ //literal: string

} // interface File
} // interface File

@@ -244,3 +269,3 @@

*/
interface Http {
interface Http extends TreeNode {

@@ -261,3 +286,3 @@ //msg: string

} // interface Http
} // interface Http

@@ -268,3 +293,3 @@

*/
interface JavaClass {
interface JavaClass extends TreeNode {

@@ -318,3 +343,3 @@ //pkg: string

} // interface JavaClass
} // interface JavaClass

@@ -325,3 +350,3 @@

*/
interface JavaProject {
interface JavaProject extends TreeNode {

@@ -340,5 +365,2 @@ //name: string

//sourcePath: string
copyEditorBackingFileOrFail(sourcePath: string): void
//sourcePath: string
//destinationPath: string

@@ -348,2 +370,5 @@ copyEditorBackingFileOrFail(sourcePath: string, destinationPath: string): void

//sourcePath: string
copyEditorBackingFileOrFail(sourcePath: string): void
//sourcePath: string
//destinationPath: string

@@ -459,3 +484,3 @@ copyEditorBackingFilesOrFail(sourcePath: string, destinationPath: string): void

} // interface JavaProject
} // interface JavaProject

@@ -466,3 +491,3 @@

*/
interface JavaSource {
interface JavaSource extends TreeNode {

@@ -502,3 +527,3 @@

} // interface JavaSource
} // interface JavaSource

@@ -509,3 +534,3 @@

*/
interface Json {
interface Json extends TreeNode {

@@ -536,3 +561,3 @@

} // interface Json
} // interface Json

@@ -543,3 +568,3 @@

*/
interface Line {
interface Line extends TreeNode {

@@ -561,3 +586,3 @@

} // interface Line
} // interface Line

@@ -570,3 +595,3 @@

*/
interface File {
interface File extends TreeNode {

@@ -641,3 +666,3 @@ //literal: string

} // interface File
} // interface File

@@ -648,3 +673,3 @@

*/
interface PackageJSON {
interface PackageJSON extends TreeNode {

@@ -719,3 +744,3 @@ //literal: string

} // interface PackageJSON
} // interface PackageJSON

@@ -726,3 +751,3 @@

*/
interface Xml {
interface Xml extends TreeNode {

@@ -777,3 +802,3 @@ //xpath: string

} // interface Xml
} // interface Xml

@@ -784,3 +809,3 @@

*/
interface Pom {
interface Pom extends TreeNode {

@@ -963,3 +988,3 @@ //xpath: string

} // interface Pom
} // interface Pom

@@ -974,3 +999,3 @@

*/
interface Project {
interface Project extends TreeNode {

@@ -989,5 +1014,2 @@ //name: string

//sourcePath: string
copyEditorBackingFileOrFail(sourcePath: string): void
//sourcePath: string
//destinationPath: string

@@ -997,2 +1019,5 @@ copyEditorBackingFileOrFail(sourcePath: string, destinationPath: string): void

//sourcePath: string
copyEditorBackingFileOrFail(sourcePath: string): void
//sourcePath: string
//destinationPath: string

@@ -1089,3 +1114,3 @@ copyEditorBackingFilesOrFail(sourcePath: string, destinationPath: string): void

} // interface Project
} // interface Project

@@ -1096,3 +1121,3 @@

*/
interface Properties {
interface Properties extends TreeNode {

@@ -1139,3 +1164,3 @@ //key: string

} // interface Properties
} // interface Properties

@@ -1146,3 +1171,3 @@

*/
interface Python {
interface Python extends TreeNode {

@@ -1165,3 +1190,3 @@ //arg0: string

} // interface Python
} // interface Python

@@ -1172,3 +1197,3 @@

*/
interface PythonRequirements {
interface PythonRequirements extends TreeNode {

@@ -1191,3 +1216,3 @@ //arg0: string

} // interface PythonRequirements
} // interface PythonRequirements

@@ -1198,3 +1223,3 @@

*/
interface PythonRequirementsTxt {
interface PythonRequirementsTxt extends TreeNode {

@@ -1217,3 +1242,3 @@ //arg0: string

} // interface PythonRequirementsTxt
} // interface PythonRequirementsTxt

@@ -1226,3 +1251,3 @@

*/
interface Services {
interface Services extends TreeNode {

@@ -1238,3 +1263,3 @@ //msg: string

} // interface Services
} // interface Services

@@ -1245,3 +1270,3 @@

*/
interface SpringBootProject {
interface SpringBootProject extends TreeNode {

@@ -1273,5 +1298,2 @@ //name: string

//sourcePath: string
copyEditorBackingFileOrFail(sourcePath: string): void
//sourcePath: string
//destinationPath: string

@@ -1281,2 +1303,5 @@ copyEditorBackingFileOrFail(sourcePath: string, destinationPath: string): void

//sourcePath: string
copyEditorBackingFileOrFail(sourcePath: string): void
//sourcePath: string
//destinationPath: string

@@ -1392,3 +1417,3 @@ copyEditorBackingFilesOrFail(sourcePath: string, destinationPath: string): void

} // interface SpringBootProject
} // interface SpringBootProject

@@ -1399,3 +1424,3 @@

*/
interface Yml {
interface Yml extends TreeNode {

@@ -1433,5 +1458,6 @@

} // interface Yml
} // interface Yml
export { Pair }
export { Dockerfile }

@@ -1438,0 +1464,0 @@ export { ElmModule }

2

package.json
{
"name": "@atomist/rug",
"version": "0.2.0",
"version": "0.3.2",
"description": "TypeScript model for Atomist editors, generators etc",

@@ -5,0 +5,0 @@ "repository": {

@@ -25,2 +25,17 @@

/**
* All tree nodes offer these basic operations.
*/
interface TreeNode {
nodeName(): String
nodeType(): String
value(): String
update(newValue: String)
}
/*

@@ -31,3 +46,3 @@ What we use to execute tree expressions

evaluate<R,N>(root, expr: PathExpression<R,N>): Match<R,N>
evaluate<R extends TreeNode,N extends TreeNode>(root, expr: PathExpression<R,N>): Match<R,N>

@@ -37,9 +52,9 @@ /**

*/
scalar<R,N>(root, expr: PathExpression<R,N>): N
scalar<R extends TreeNode,N extends TreeNode>(root, expr: PathExpression<R,N>): N
// cast the current node
as<N>(root, name: string): N
as<N extends TreeNode>(root, name: string): N
// Find the children of the current node of this time
children<N>(root, name: string): Array<N>
children<N extends TreeNode>(root, name: string): Array<N>
}

@@ -50,1 +65,2 @@

export {PathExpressionEngine}
export {TreeNode}