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

snap-shot-core

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snap-shot-core - npm Package Compare versions

Comparing version 7.1.12 to 7.1.13

8

package.json
{
"name": "snap-shot-core",
"description": "Save / load named snapshots, useful for tests",
"version": "7.1.12",
"version": "7.1.13",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -103,4 +103,4 @@ "bugs": "https://github.com/bahmutov/snap-shot-core/issues",

"sinon": "6.3.5",
"snap-shot-it": "6.2.8",
"standard": "11.0.1",
"snap-shot-it": "6.2.9",
"standard": "12.0.1",
"stop-only": "2.2.5"

@@ -114,3 +114,3 @@ },

"folktale": "2.3.2",
"is-ci": "1.2.1",
"is-ci": "2.0.0",
"jsesc": "2.5.2",

@@ -117,0 +117,0 @@ "lazy-ass": "1.6.0",

@@ -75,3 +75,3 @@ 'use strict'

function raiseIfDifferent ({value, expected}) {
function raiseIfDifferent ({ value, expected }) {
cy.then(() => {

@@ -78,0 +78,0 @@ expect(value).to.equal(expected)

@@ -72,3 +72,10 @@ 'use strict'

la(is.unemptyString(value), 'expected string value', value)
const withNewLines = '\n' + value + '\n'
// jsesc replace "\n" with "\\n"
// https://github.com/mathiasbynens/jsesc/issues/20
const serialized = value.split('\n').map(line => {
return jsesc(line, {
'quotes': 'backtick'
})
}).join('\n')
const withNewLines = '\n' + serialized + '\n'
return `exports['${name}'] = \`${withNewLines}\`\n`

@@ -75,0 +82,0 @@ }

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