Socket
Socket
Sign inDemoInstall

@sap-ux/yaml

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sap-ux/yaml - npm Package Compare versions

Comparing version 0.11.1 to 0.11.2

2

dist/i18n.d.ts

@@ -1,2 +0,2 @@

import { TOptions, TOptionsBase } from 'i18next';
import type { TOptions, TOptionsBase } from 'i18next';
export declare function initI18n(): Promise<void>;

@@ -3,0 +3,0 @@ declare type StringMap = {

@@ -1,2 +0,3 @@

import { YAMLMap, YAMLSeq } from 'yaml';
import type { YAMLMap } from 'yaml';
import { YAMLSeq } from 'yaml';
export interface NodeComment<T> {

@@ -3,0 +4,0 @@ path: string;

@@ -203,3 +203,3 @@ "use strict";

}
const node = seq.items.find((node) => node.toJSON()[matcher.key] === matcher.value);
const node = seq.items.find((nodeInput) => nodeInput.toJSON()[matcher.key] === matcher.value);
const newNode = this.document.createNode(merge(node.toJSON(), value));

@@ -206,0 +206,0 @@ seq.items.splice(seq.items.indexOf(node), 1, newNode);

{
"name": "@sap-ux/yaml",
"description": "Library to manipulate YAML file contents",
"version": "0.11.1",
"main": "dist/index.js",
"scripts": {
"build": "pnpm clean && tsc",
"clean": "rimraf dist test/test-output coverage",
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "jest --ci --forceExit --detectOpenHandles --colors",
"watch": "tsc --watch",
"link": "pnpm link --global",
"unlink": "pnpm unlink --global"
},
"files": [
"LICENSE",
"dist"
],
"dependencies": {
"i18next": "20.3.2",
"i18next-fs-backend": "1.1.1",
"lodash.merge": "4.6.2",
"yaml": "2.0.0-10"
},
"devDependencies": {
"@types/i18next-fs-backend": "1.0.0",
"@types/lodash.merge": "4.6.6"
},
"engines": {
"pnpm": ">=6.0.2",
"node": ">=12.22.5 < 13.0.0 || >= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0"
}
}
"name": "@sap-ux/yaml",
"description": "Library to manipulate YAML file contents",
"version": "0.11.2",
"main": "dist/index.js",
"files": [
"LICENSE",
"dist"
],
"dependencies": {
"i18next": "20.3.2",
"i18next-fs-backend": "1.1.1",
"lodash.merge": "4.6.2",
"yaml": "2.0.0-10"
},
"devDependencies": {
"@types/i18next-fs-backend": "1.0.0",
"@types/lodash.merge": "4.6.6"
},
"engines": {
"pnpm": ">=6.26.1",
"node": ">=12.22.5 < 13.0.0 || >= 14.16.0 < 15.0.0 || >=16.1.0 < 17.0.0"
},
"scripts": {
"build": "pnpm clean && tsc",
"clean": "rimraf dist test/test-output coverage",
"format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"test": "jest --ci --forceExit --detectOpenHandles --colors",
"watch": "tsc --watch",
"link": "pnpm link --global",
"unlink": "pnpm unlink --global"
},
"readme": "# @sap-ux/yaml\n\nLibrary to manipulate YAML file contents\n\n\n## Installation\nNpm\n`npm install --save @sap-ux/yaml`\n\nYarn\n`yarn add @sap-ux/yaml`\n\nPnpm\n`pnpm add @sap-ux/yaml`\n\n## Usage\nSee examples in `test/yaml-document.test.ts` \n\n## Keywords\nSAP Fiori Freestyle\n"
}

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