Socket
Socket
Sign inDemoInstall

synp

Package Overview
Dependencies
Maintainers
2
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

synp - npm Package Compare versions

Comparing version 1.9.3 to 1.9.4

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.9.4](https://github.com/imsnif/synp/compare/v1.9.3...v1.9.4) (2020-10-01)
### Bug Fixes
* mark all the packages that are out of `dependencies` as `dev` ([f6dbccd](https://github.com/imsnif/synp/commit/f6dbccd45ed904a05df4aac2b072359e688734ef)), closes [#59](https://github.com/imsnif/synp/issues/59)
## [1.9.3](https://github.com/imsnif/synp/compare/v1.9.2...v1.9.3) (2020-09-27)

@@ -2,0 +9,0 @@

11

lib/lockfileV1/tree.js

@@ -63,2 +63,6 @@ 'use strict'

if (!has(nodeModulesTree[parentPackagePath(mPath)], `dependencies.${name}`)) {
entry.dev = true
}
if (workspacesTree && dependencies) {

@@ -68,9 +72,6 @@ entry.requires = sortObject(dependencies)

if (has(nodeModulesTree[parentPackagePath(mPath)], `devDependencies.${name}`)) {
entry.dev = true
}
if (modulesInPath.length > 1) {
const parentPackage = getParentPackageInYarnTree(modulesInPath, tree)
parentPackage.dependencies = sortObject(Object.assign({}, parentPackage.dependencies || {}, {
parentPackage.dependencies = sortObject(Object.assign({}, parentPackage.dependencies, {
[name]: entry

@@ -77,0 +78,0 @@ }))

{
"name": "synp",
"version": "1.9.3",
"version": "1.9.4",
"description": "Convert yarn.lock to package-lock.json and vice versa",

@@ -24,3 +24,4 @@ "keywords": [

"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"release": "semantic-release"
"release": "semantic-release",
"postupdate": "yarn && npx yarn-audit-fix && yarn test"
},

@@ -53,3 +54,3 @@ "author": "Aram Drevekenin <grimsniffer@gmail.com>",

"semantic-release": "^17.1.2",
"sinon": "^9.0.3",
"sinon": "^9.1.0",
"standard": "^14.3.4",

@@ -56,0 +57,0 @@ "tape": "^5.0.1"

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