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

@transformation/core

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@transformation/core - npm Package Compare versions

Comparing version 4.3.0 to 5.0.0

10

package.json
{
"name": "@transformation/core",
"version": "4.3.0",
"version": "5.0.0",
"description": "Create transformation pipelines",

@@ -25,6 +25,6 @@ "main": "./src/index.js",

"devDependencies": {
"mocha": "9.2.0",
"mocha": "9.2.1",
"sinon": "^13.0.1",
"unexpected": "12.0.3",
"unexpected-steps": "^4.2.0"
"unexpected": "12.0.4",
"unexpected-steps": "^5.0.0"
},

@@ -34,3 +34,3 @@ "engines": {

},
"gitHead": "cc0a5f8ae54b5643e1ea964ef1d369703d47dc4d"
"gitHead": "0a7428952298365873eef145f6a1f6963eb4d9f1"
}

@@ -1739,2 +1739,4 @@ # @transformation/core

Notice that `uniq` keep internal state from its first invocation.
## uniqBy

@@ -1798,2 +1800,4 @@

Notice that `uniqBy` keep internal state from its first invocation.
## unless

@@ -1800,0 +1804,0 @@

@@ -9,5 +9,5 @@ const step = require("./step");

const seen = new Set();
return step(async ({ take, put, CLOSED }) => {
const seen = new Set();
while (true) {

@@ -14,0 +14,0 @@ const value = await take();

@@ -57,3 +57,3 @@ const expect = require("unexpected").clone().use(require("unexpected-steps"));

it("resets state for each invocation of the step", async () => {
it("doesn't reset state for each invocation of the step", async () => {
const uniqByName = uniqBy(({ name }) => name);

@@ -86,3 +86,4 @@

{ id: 0, name: "foo", count: 0 },
{ id: 1, name: "bar", count: 1 }
{ id: 1, name: "bar", count: 1 },
{ id: 4, name: "quux", count: 4 }
),

@@ -92,8 +93,5 @@ uniqByName

"to yield items",
[
{ id: 0, name: "foo", count: 0 },
{ id: 1, name: "bar", count: 1 },
]
[{ id: 4, name: "quux", count: 4 }]
);
});
});
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