Socket
Socket
Sign inDemoInstall

yaml

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml - npm Package Compare versions

Comparing version 2.3.0-1 to 2.3.0-2

4

browser/dist/nodes/Node.js
import { applyReviver } from '../doc/applyReviver.js';
import { NODE_TYPE } from './identity.js';
import { NODE_TYPE, isDocument } from './identity.js';
import { toJS } from './toJS.js';

@@ -18,2 +18,4 @@

toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
if (!isDocument(doc))
throw new TypeError('A document argument is required');
const ctx = {

@@ -20,0 +22,0 @@ anchors: new Map(),

@@ -20,2 +20,4 @@ 'use strict';

toJS(doc, { mapAsMap, maxAliasCount, onAnchor, reviver } = {}) {
if (!identity.isDocument(doc))
throw new TypeError('A document argument is required');
const ctx = {

@@ -22,0 +24,0 @@ anchors: new Map(),

{
"name": "yaml",
"version": "2.3.0-1",
"version": "2.3.0-2",
"license": "ISC",

@@ -28,2 +28,3 @@ "author": "Eemeli Aro <eemeli@gmail.com>",

".": {
"types": "./dist/index.d.ts",
"node": "./dist/index.js",

@@ -34,2 +35,3 @@ "default": "./browser/index.js"

"./util": {
"types": "./dist/util.d.ts",
"node": "./dist/util.js",

@@ -36,0 +38,0 @@ "default": "./browser/dist/util.js"

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