Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lingui/babel-plugin-extract-messages

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lingui/babel-plugin-extract-messages - npm Package Compare versions

Comparing version 3.0.0-7 to 3.0.0-8

8

index.js

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

var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -25,2 +25,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));

function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
var CONFIG = Symbol("I18nConfig"); // Map of messages

@@ -54,3 +58,3 @@

} else {
messages.set(id, (0, _objectSpread2.default)({}, props, {
messages.set(id, _objectSpread({}, props, {
message: newDefault,

@@ -57,0 +61,0 @@ origin: origin

{
"name": "@lingui/babel-plugin-extract-messages",
"version": "3.0.0-7",
"version": "3.0.0-8",
"description": "Babel plugin for collecting messages from source code for internationalization",

@@ -28,10 +28,10 @@ "main": "index.js",

"engines": {
"node": ">=8.0.0"
"node": ">=10.0.0"
},
"dependencies": {
"@babel/generator": "^7.4.4",
"@babel/runtime": "^7.4.5",
"@lingui/conf": "3.0.0-7",
"mkdirp": "^0.5.1"
"@babel/generator": "^7.9.4",
"@babel/runtime": "^7.9.2",
"@lingui/conf": "3.0.0-8",
"mkdirp": "^1.0.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