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

iconv-corefoundation

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconv-corefoundation - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

7

lib/native.d.ts

@@ -62,2 +62,9 @@ /// <reference types="node" />

/**
* Returns whether the given {@link StringEncoding} represents the same encoding as this one.
*
* @remarks
* The Core Foundation framework doesn't have a corresponding function. Instead, this method is implemented by comparing the {@link StringEncoding.cfStringEncoding | cfStringEncoding} and {@link StringEncoding.name | name} properties.
*/
equals(other: StringEncoding): boolean;
/**
* Encodes the given text.

@@ -64,0 +71,0 @@ *

@@ -8,2 +8,13 @@ "use strict";

} }, errors));
{
const _StringEncoding = module.exports.StringEncoding;
Object.defineProperties(_StringEncoding.prototype, {
equals: {
value: function equals(other) {
return this === other || (other instanceof _StringEncoding && (this.cfStringEncoding === other.cfStringEncoding ||
this.name === other.name));
}
}
});
}
//# sourceMappingURL=native.js.map

2

package.json
{
"name": "iconv-corefoundation",
"version": "1.0.0",
"version": "1.1.0",
"description": "Character set conversion using the macOS CoreFoundation API",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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